/* 通用样式 */

 body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f4f4f4;
    }



/* Header（logo部分） */
header {
    background-color: #add8e6;  /* 淡蓝色背景 */
    padding: 20px;
    text-align: center;
}

header .logo h1 {
    font-size: 36px;
    color: white;
    margin: 0;
}

/* 导航栏保持原来的颜色 */
nav {
    background-color: #333;  /* 导航栏保持原来的颜色 */
    display: flex;
    justify-content: center; /* 将导航项居中 */
    align-items: center; /* 垂直居中 */
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* 水平排列导航项 */
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    display: inline-block;
}

nav ul li a:hover {
    background-color: #575757;
}

nav .dropdown {
    position: relative;
    display: inline-block;
}

nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
}

nav .dropdown:hover .dropdown-content {
    display: block;
}

nav .dropdown-content li {
    display: block;
}

nav .dropdown-content li a {
    padding: 12px 16px;
}

/* 主体内容 */
.main-content {
    padding: 20px;
    text-align: center;
}

.main-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

/* 文献列表样式 */
.publications-list {
    list-style-type: none;
    padding: 0;
}

.publications-list li {
    font-size: 18px;
    margin: 20px 0;
}

.publications-list li a {
    color: #333;
    text-decoration: none;
}
.publication-item a:hover {
    color: #0056b3; /* 更深的蓝色悬停效果 */
}
.publications-list li a:hover {
    text-decoration: underline;
}

/* PDF 查看器容器 */
.pdf-viewer-container {
    display: none;
    width: 80%;
    margin: 20px auto;
    text-align: center;
}

.pdf-viewer {
    width: 100%;
    height: 600px;
    background-color: #eee;
}

.download-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background-color: #0056b3;
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
    font-size: 14px;
}
/* 团队成员排版样式 */
.team-members {
    margin-top: 40px;
    text-align: center;
}

/* 第一排，老师居中 */
.member.teacher {
    display: inline-block;
    width: 200px;
    margin: 20px;
}

.member.teacher img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.member.teacher h3 {
    font-size: 20px;
    margin: 10px 0;
}

.member.teacher p {
    font-size: 14px;
    margin: 5px 0;
}

.member.teacher .description {
    font-size: 12px;
    color: #555;
}

/* 第二排和之后的排版，学生横向排布 */
.members-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.member {
    width: 200px;
    margin: 0 15px;
    text-align: center;
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.member h3 {
    font-size: 18px;
    margin: 10px 0;
}

.member p {
    font-size: 14px;
    margin: 5px 0;
}

.member .description {
    font-size: 12px;
    color: #555;
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
    font-size: 14px;
}
/* Contact Us 标题 */
.main-content h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

/* 联系信息样式 */
.contact-info {
    margin-bottom: 40px;
}

.contact-info h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    color: #0056b3;
}

/* 联系表单样式 */
.contact-form {
    margin-bottom: 40px;
}

.contact-form h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
    font-size: 1.1em;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    font-size: 1.2em;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* 地图样式 */
#google-map {
    width: 100%;
    height: 400px;
}

/* 社交媒体样式 */
.social-media ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.social-media ul li {
    margin: 0 15px;
}

.social-media ul li a {
    font-size: 1.2em;
    color: #007bff;
    text-decoration: none;
}

.social-media ul li a:hover {
    color: #629ddb;
}