body {
    font-family: Arial, sans-serif;
    margin: 0px auto;
    padding: 0;
    background-image: url('/img/body_bg.jpg');
    max-width: 600px;
    background-repeat:no-repeat;
    background-attachment: fixed; /* 关键点：背景固定 */
    background-size: 100% 100%; /* 关键点：背景大小铺满整个容器 */
}

/*css导航栏样式*/
.header-title {
    display: flex;
    /* background: linear-gradient(to right, #FFF8F2, #FFF); */
    /* background: #fff; */
    /* color: #fff; */
    align-items: center;
    justify-content: space-between;
    /* width: 100%; */
    height: 6vh;
    padding: 0px 20px;
    position: relative;

}

.header-title img {
    width: 100%;
    height: 4vh;
    display: block;
}

.header-title.open ul {
    display: flex;
    flex-direction: column;

}

.header-title ul {
    list-style-type: none;
    margin: 0;
    padding: 30px 0px;
    display: flex;
    align-items: start;
    display: none;
    flex-wrap: wrap;
    gap: 30px;
}

.header-title li {
    position: relative;
    margin: 10px;

}

#menu-icon-close {
    display: none;

}


/* 显示汉堡式图标 */
.header .menu-icon {
    display: flex;
    position: relative;
    width: 44px;
    height: 6vh;
    cursor: pointer;
    /* background-color: #fff; */
    align-items: center;
    justify-content: center;
}

/* 展开菜单时的导航栏样式 */

.header.open #menu-icon-open {
    display: none;
}

.header.open #menu-icon-close {
    display: block;
}

.header.open ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 10px; */
}

.nav-type {
    width: 38%;
    background-color: #61E1EC;
    position: absolute;
    height: 100vh;
    right: 0px;
    z-index: 10;
   
    top: 6vh;
    border-radius: 0px 0px 8px 8px;

}

.nav-type li a {
    font-size: 0.8rem;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    
    border-radius: 5px;
}

.nav-type li a:hover {
    color: #707070;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    /* background-color: #f8f8f8; */
    text-align: center;
    /* background-color: #000; */

}

.footer-item-blank {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px;
}

.footer-item-blank a {
    font-size: 0.7em;
    color: #fff;
    text-decoration: none;
}

.footer-item-blank a:hover {
    text-decoration: underline;
}

footer .web-copyright {
    font-size: 0.8em;
    color: #fff;

}

.web-info {
    flex-wrap: wrap;
    margin: 20px;
}

.web-info img {
    width: 100%;
}

.game-item {
    width: 100%;
    box-shadow: 4px 4px 4px #9f9b9b;
    border-radius: 10px;
}

.game-item a {
    text-decoration: none;
    margin: 0px;
    padding: 0px;
    height: 0px;
}

.game-item img {
    width: 100%;
    border-radius: 10px;
    height: auto;
    /* 自动高度，用于保持图片比例 */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    /* 裁剪超出部分，确保图片始终充满容器 */
    object-position: center;
    /* 图片居中 */
    display:block
}

.game-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.web-container {
    margin: 1rem;
    padding: 10px;
    border-radius: 10px;
    color: #000;
    background-color: #fff;
}

.web-container img{
   width: 100%;
}

.container-404 {
    margin: 1rem;
    color: #060b16;
}
