body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh; /* 将高度设置为视口高度的100% */
    display: flex; /* 使用flex布局 */
    flex-direction: column; /* 设置主轴方向为从上到下 */
    background-color: #fff; /* 添加背景颜色 */
}

header {
    text-align: center;
    padding: 20px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: 2vh; /* 为nav元素设置上外边距 */
    margin-bottom: 2vh; /* 为nav元素设置下外边距 */
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    padding: 5px 10px;
    border: 1px solid #000;
    border-radius: 3px;
}

section {
    text-align: center;
    margin-top: 2vh;
    overflow: auto; /* 启用滚动条 */
    max-height:65vh; /* 设置最大高度，超过该高度将出现滚动条 */
    padding-right: 20px; /* 添加右侧滑轨空间 */
    padding-bottom: 20px; /* 添加底部滑轨空间 */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    box-sizing: border-box;
    flex-grow: 1; /* 占据剩余空间 */
}

#page-content {
    margin: 0 auto;
    max-width: 1000px;
}

footer {
    background-color: rgba(245, 245, 245, 0.8); /* 添加背景颜色和透明度 */
    padding: 20px;
    text-align: center;
    margin-top: auto; /* 保持在底部 */
    width: 100%;
    height: 15vh; /* 将高度设置为视口高度的15% */
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beian-icon {
    display: inline-block;
    vertical-align: middle;
}

.beian-text {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    color: #939393;
}

.icp-text {
    margin-top: 5px;
    color: #939393;
}

/* 添加背景图片 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./beijing.png');
    background-size: cover;
    background-position: center;
    filter: blur(1px); /* 添加虚化效果 */
    opacity: 0.8; /* 添加透明效果 */
    z-index: -1;
}
