@font-face {
    font-family: "smiley";
    src: url(../font/Outfit-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'Gulkave-Regular';
    src: url(../font/Gulkave-Regular.woff) format('woff');
    font-display: swap;
}

@font-face {
    font-family: NZT-48;
    src: url(../font/NZT-48.woff2) format("woff2");
    font-display: swap
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "smiley";
}

img {
    width: 100%;
    object-fit: cover;
    display: block;
}

video {
    object-fit: cover;
}

a {
    text-decoration: none;
}

b,
strong {
    font-weight: 400
}

em,
i {
    font-style: normal;
}

li {
    list-style: none;
}

input {
    border: 0;
    outline: 0;
}

button {
    outline: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

/* header_adv */
.de_iv_adv {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    margin: 10px 0 10px;
}

/* footer_adv */
.postionFixed {
    width: 100%;
    min-height: 60px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
    margin: auto;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0 10px #00000013;
}

/* footer */
footer {
    width: 100%;
    height: 60px;
    text-align: center;
    background-color: #000;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 0 10px 0;
    margin-bottom: 60px;
}

footer a {
    color: #fff;
}

.img-box {
    position: relative;
}

.img-box::before {
    content: '';
    display: block;
}

.img-box>img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f5f5f5;
}

main {
    flex: 1;
}

.float {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: #0000004d;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: .4rem;
    text-align: center;
    display: none;
}

.float button {
    font-size: .3rem;
    color: #008cff;
    transition: .2s;
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: #0000004d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: .1rem;
}

.loading::before {
    content: '';
    display: block;
    width: .27rem;
    height: .27rem;
    border: 5px solid #fff;
    border-radius: 50%;
    border-top-color: #0077ff;
    animation: loading 1.5s linear infinite;
}

.loading::after {
    content: 'Loading...';
    color: #fff;
    font-size: .15rem;
    animation: loadingText 1.5s linear infinite;
}

:root {
    --all-width: 1200px;
    --searchBar: 280px;
    --button: 35px;
    --game-height: 600px;
    --game-img: 15%;
}

@media screen and (max-width:769px) {
    :root {
        --all-width: 100%;
        --searchBar: 100%;
        --game-height: 400px;
        --game-img: 50%;
    }
}

@media only screen and (max-device-width: 768px) and (orientation: landscape) {
    /* 仅限手机，横屏模式 */
}

@media only screen and (max-device-width: 768px) and (orientation: portrait) {
    /* 仅限手机，竖屏模式 */
}

@keyframes loadingText {
    0% {
        content: 'Loading';
    }

    25% {
        content: 'Loading.';
    }

    50% {
        content: 'Loading..';
    }

    75% {
        content: 'Loading...';
    }

    100% {
        content: 'Loading...';
    }
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}