body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
    font-size: 70%;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 6rem;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.header-image {
    background-image: url('/static/zyf_database/images/dataset.png');
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.9;
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
}

.database-info {
    max-width: 90rem;
    margin: auto;
    padding: 2rem;
    margin-bottom: 15rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.database-info h1 {
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.database-description {
    font-size: 2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.database-description p {
    margin-bottom: 1rem;
}

.database-description ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.database-description li {
    margin-bottom: 0.5rem;
}

.database-usage {
    font-size: 1.6rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.database-usage h2 {
    font-size: 2.4rem;
    color: #333;
    margin-bottom: 1rem;
}

.database-usage ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.database-usage li {
    margin-bottom: 0.5rem;
}

.database-contact {
    font-size: 1.6rem;
    color: #555;
    line-height: 1.6;
}

.database-contact h2 {
    font-size: 2.4rem;
    color: #333;
    margin-bottom: 1rem;
}

.database-contact a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.database-contact a:hover {
    text-decoration: underline;
}

.content-wrapper {
    max-width: 300mm;
    margin: auto;
    padding: 2rem;
    background-color: #ffffff;
    border-left: 2px solid #000000;
    border-right: 2px solid #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-container {
    margin-bottom: 20px;
}
textarea {
    width: 200mm;
    height: 20mm; /* 可以根据需要调整高度 */
    padding: 10px;
    box-sizing: border-box;
    font-size: 16px;
}
button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    display: block; /* 使按钮单独占据一行 */
    text-align: left; /* 左对齐 */
}

.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%; /* 确保宽度是100% */
    left: 0; /* 修正位置 */
}

.database-access {
    font-size: 2rem; /* 增大正文字体大小 */
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.database-access h2 {
    font-size: 2.8rem; /* 增大标题字体大小 */
    color: #333;
    margin-bottom: 1rem;
}

.database-access ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.database-access li {
    margin-bottom: 0.5rem;
}

.database-citation {
    font-size: 2rem; /* 增大正文字体大小 */
    color: #555;
    line-height: 1.6;
}

.database-citation h2 {
    font-size: 2.8rem; /* 增大标题字体大小 */
    color: #333;
    margin-bottom: 1rem;
}

.files-container {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.files-container p {
    font-size: 1.8rem; /* 设置较小的字体大小 */
    color: #555;
    margin-bottom: 1rem;
}

.files-container ol {
    font-size: 1.6rem; /* 设置较小的字体大小 */
    color: #555;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.files-container li {
    margin-bottom: 0.5rem;
}

.citation-format-buttons {
    margin-bottom: 1rem;
    display: flex; /* 使按钮并排显示 */
    gap: 0.5rem; /* 按钮之间的间距 */
}

.citation-format-buttons button {
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    color: white;
    border: none;
    border-radius: 5px;
    flex: none; /* 取消等宽设置 */
    width: auto; /* 自动调整宽度 */
}

.citation-format-buttons button:nth-child(1),
.citation-format-buttons button:nth-child(2) {
    background-color: #28a745; /* Normal Format 和 BibTeX Format 保持绿色 */
}

.citation-format-buttons button:nth-child(1):hover,
.citation-format-buttons button:nth-child(2):hover {
    background-color: #218838; /* 保持绿色 */
}

.citation-format-buttons button:nth-child(3) {
    background-color: #007bff; /* Copy 按钮保持蓝色 */
}

.citation-format-buttons button:nth-child(3):hover {
    background-color: #0056b3; /* 保持蓝色 */
}

.copy-container textarea {
    width: 100%;
    height: 10rem;
    padding: 1rem;
    box-sizing: border-box;
    font-size: 1.6rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.copy-container button {
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    background-color: #007bff; /* 改为蓝色 */
    color: white;
    border: none;
    border-radius: 5px;
}

.copy-container button:hover {
    background-color: #0056b3; /* 改为蓝色 */
}

/* 新增或修改的样式：增大dataset-list部分的字号 */
.dataset-list {
    font-size: 2.2rem; /* 比默认字体稍大 */
    color: #444;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.dataset-list h2 {
    font-size: 3rem; /* 增大标题字体 */
    color: #222;
    margin-bottom: 1.5rem;
    text-align: center;
}

.dataset-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dataset-item h3 {
    font-size: 2.5rem; /* 增大数据集标题字体 */
    color: #007bff;
    margin-bottom: 1rem;
}

.dataset-item h3 a {
    color: #007bff;
    text-decoration: none;
}

.dataset-item h3 a:hover {
    text-decoration: underline;
}

.dataset-item p {
    font-size: 2rem; /* 增大段落字体 */
    color: #555;
    line-height: 1.6;
}

.dataset-access-info {
    font-size: 2rem;
    color: #555;
    line-height: 1.6;
}

.dataset-access-info h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1rem;
}

