body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}
#menuButton {
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 18px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.3); 
    color: white; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease; 
    backdrop-filter: blur(10px); 
    z-index: 1000; 
}
#menuButton:hover {
    background-color: rgba(255, 255, 255, 0.688); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); 
    transform: scale(1.05); 
}
#sidebar {
    position: fixed;
    top: 0;
    left: -250px; 
    width: 250px;
    height: 100%;
    background-color: #333;
    padding-top: 1000px;
    transition: left 0.3s; 
    z-index: 999; 
    padding: 17px;
    border-radius: 10px;
    color: white;
    font-size: 24px;
    text-align: center;
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    background: rgba(255, 255, 255, 0.3); 
    animation: popup 0.5s ease-out forwards;
}
#sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}
#sidebar a:hover {
    filter: blur(1px); 
    border-radius: 10px;
    transition: filter 0.3s ease, box-shadow 0.3s ease; 
    background: rgba(255, 255, 255, 0.3); 
}
.active {
    filter: blur(1px); 
    border-radius: 10px;
    transition: filter 0.3s ease, box-shadow 0.3s ease; 
    background: rgba(255, 255, 255, 0.3); 
}
#mainContent {
    margin-left: 0;
    transition: margin-left 0.3s; 
    padding: 15px;
}
.background {
    position: relative;
    height: 100vh;
    background: url("https://cdn.saubaka.top/image/images/image12.jpg") no-repeat center center fixed;
    background-size: cover;
    filter: blur(0.5px);
    overflow: scroll;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
}
header {
    padding: 20px;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 2.5em;
}
nav ul {
    list-style-type: none;
    padding: 0;
}
nav ul li {
    display: inline;
    margin: 0 15px;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}
main {
    flex: 1;
    padding: 20px;
}
section {
    margin-bottom: 40px;
}
@keyframes popup {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}
.blurred-text {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    color: white;
    font-size: 24px;
    text-align: center;
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    background: rgba(255, 255, 255, 0.3); 
    animation: popup 0.5s ease-out forwards;
}
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-position: center;
}
.profile-info ul {
    list-style-type: none;
    padding: 0;
}
.profile-info li {
    margin-bottom: 10px;
    text-align: center;
}
.profile-info a {
    color: rgb(193, 193, 225);
    text-decoration: none;
}
.profile-info a:hover {
    text-decoration: underline;
    text-align: center;
}
article-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.article-list h3 {
    margin-top: 0;
    font-size: 1.8em;
}

.article-list a {
    color: #fff;
    text-decoration: none;
}
.article-list p {
    margin: 5px 0;
}
article h2 {
    margin-top: 0;
    font-size: 2em;
}
article h3 {
    font-size: 1.5em;
    margin-top: 20px;
}
.image-wall {
    display: grid;
    grid-gap: 2px; /* 容器之间的空隙非常小 */
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* 自适应列宽 */
    width: 90%;
    max-width: 1200px; /* 图片墙的最大宽度 */
}
.image-container {
    overflow: hidden;
    position: relative;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例 */
    display: block;
}
/* 不同大小的容器样式 */
.image-container.wide {
    grid-column: span 2; /* 宽度占2列 */
}
.image-container.tall {
    grid-row: span 2; /* 高度占2行 */
}
