html {
    font-size: 10px
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    background-color: #fff;
    font-family: "Microsoft YaHei"
}

.container {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    z-index: 0;
}

.container .header {
    display: flex;
    position: relative;
    align-items: center;
    height: 0.85rem;
    width: 100%;
    justify-content: space-between;
    background-color: #7B0000;
    padding: 8px 0px;
    border-bottom: 0.5px solid #D87A05;
}

.left-header {
    display: flex;
    padding: 0px 8px;
    align-items: center;
    justify-content: space-between;
}

.left-header a {
    color: #fff;
    text-decoration: none;
}

.left-header img {
    width: .9rem;
    height: .9rem;
    margin-right: 9px;
}

.title {
    font-size: 0.37rem;
    font-weight: 800;
    color: #FFFDD8;
}

.right-header {
    display: flex;
    padding: 0px 8px;
    align-items: center;
    justify-content: space-between;
}

.topbtn {
    width: 1.6rem;
    height: .7rem;
    margin-right: 9px;
}

@media (min-width: 720px) {
    .topbtn {
        width: 1.5rem;
        height: .6rem;
        margin-right: 20px;
    }
}

.menu-icon {
    width: 40px;
    height: 28px;
    color: #FFFDD8;
    position: relative;
    cursor: pointer;
}

/* 3 lines */

.menu-icon span {
    position: absolute;
    width: 100%;
    height: 3.5px;
    background: #FFFDD8;
    left: 0;
    transition: 0.3s ease;
}

/* line positions */

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 12px;
}

.menu-icon span:nth-child(3) {
    bottom: 0;
}

/* TURN INTO X */

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 12px;
}

/* Desktop only */

@media (min-width: 720px) {
    .menu-icon {
        width: 55px;
        height: 38px;
    }
    .menu-icon span {
        height: 4.5px;
        /* thicker lines */
    }
    .menu-icon span:nth-child(2) {
        top: 16px;
    }
    /* Fix X alignment */
    .menu-icon.active span:nth-child(1) {
        top: 16px;
    }
    .menu-icon.active span:nth-child(3) {
        bottom: 16px;
    }
}

.menu {
    overflow: hidden;
    position: absolute;
    top: 1.14rem;
    max-height: 0;
    width: 100%;
    background-color: #ecf0f1;
    transition: max-height 0.4s ease-in-out;
}

@media (min-width: 720px) {
    .menu {
        top: 1.01rem;
    }
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    border-bottom: 1px solid #a62121;
    font-size: 15px;
}

.menu a {
    display: block;
    padding: 15px 20px;
    color: black;
    text-decoration: none;
}

.menu a:hover {
    background-color: #a62121;
    color: white;
}

.menu.expanded {
    max-height: 300px;
}

.container .downBtn {
    position: absolute;
    top: 9.5rem;
    width: 100%;
    height: 1.7rem;
    background-image: url("../img/3f-game_btn.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation: zoomInOut 2s infinite;
}

.container .footer {
    background-color: #3D120B;
    color: #ccc;
    text-align: center;
    padding: 15px 5px;
    font-size: 15px;
}

.footer .links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.footer .links {
    margin-bottom: 15px;
    line-height: 1.7;
}

.footer .copyright {
    font-size: 15px;
    color: #aaa;
}

.footer .copyright a {
    color: #FFEAD8;
    margin: 0 6px;
    text-decoration: none;
    font-weight: 500;
}

@keyframes zoomInOut {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.8);
    }
}