/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* 头部样式 */
.header {
    background-color: #b3e0ff; /* 淡蓝色背景 */
    padding: 15px 0;
    display: flex;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    justify-content: center; /* 居中对齐 */
    align-items: center;
    width: 100%;
    height: 80px;
    /* max-width: 850px; 根据主体内容宽度调整 */
}
.logo-container {
    text-align: left;
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: center; /* 水平居中 */
    align-items: center;
    
}
.logo {
    width: 65px;
    height: 65px;
    margin-bottom: 0px;
    max-width: 100%; /* 确保图片不会超出容器 */
    
    /*margin: 20px auto;  居中图片 */
    border-radius: 50%; /* 将图片设置为圆形 */
    border: 2px solid #b3e0ff; /* 可选：添加边框 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 可选：添加阴影效果 */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    font-size: 0.8em; /* 小标题字号 */
}
.nav-link {
    display: flex; /* 使用 Flexbox 布局 */
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.3s;
    align-items: center; /* 图片和文字垂直居中对齐 */
    justify-content: center; /* 居中对齐 */
    gap: 5px; /* 图片与文字之间的间距 */
}

.nav-link:hover {
    background-color: #99c2ff;
    border-radius: 4px;
}


/* 主体部分样式 */
.main-content {
    max-width: 750px; /* 占页面的八分之七 */
    width: 100%;
    margin: 20px auto;
    background-color: white;
    border-radius: 10px; /* 圆角 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 阴影 */
    padding: 20px;
    box-sizing: border-box;
    text-align: justify;
}

.section-top {
    margin-bottom: 30px;
    padding: 20px;
}

.section-top div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.section-top i {
    font-size: 1.2em;
    margin-right: 10px;
    color: #333;
}

.section-bottom img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

.image-caption {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

.event-details h3 {
    margin-bottom: 10px;
}

.event-details p {
    line-height: 1.6;
    margin-bottom: 15px;
}
/* 页脚样式 */
footer {
    background-color: #99c2ff; /* 使用提供的蓝色 */
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    font-size: 14px;
}
/* 模块样式 */
        
.module-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}
.module {
    flex: 1;
    min-width: 300px;
    min-width: 300px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.module-image {
    display: flex;
    width: 100%;
    max-height: 200px;
    min-height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.module-content {
    padding: 10px;
}
.module-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}
.module-description {
    font-size: 0.9em;
    line-height: 1.5;
    color: #666;
    margin-bottom: 10px;
}
.module-button {
    display: inline-block;
    padding: 8px 12px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s;
    
}
.module-button:hover {
    background-color: #0056b3;
}