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

* {
    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: var(--all-width);
    margin: 0 auto 60px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer>div:last-child {
    display: flex;
    column-gap: 20px;
}

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;
}

html {
    scroll-behavior: smooth;
}

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

main {
    flex: 1;
    padding-bottom: 20px;
}

:root {
    --all-width: 1200px;
    --button: 40px;
    --searchBar: 400px;
    --logo: 200px;
    --game-width: 900px;
    --game_img: 18%;
    --game-height: 700px;
}

@media (min-width:1000px) and (max-width:1199px) {
    :root {
        --all-width: 1000px;
    }
}

@media (min-width:800px) and (max-width:999px) {
    :root {
        --all-width: 800px;
    }
}

@media (max-width:799px) {
    :root {
        --all-width: 100%;
        --searchBar: 100%;
        --game-width: 100%;
        --game-height: 500px;
        --game_img: 50%;
    }
}

.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: 15px;
    inset: 0;
}

/* From Uiverse.io by satyamchaudharydev */
.spinner {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-left: -75px;
}

.spinner span {
    position: absolute;
    top: 50%;
    left: var(--left);
    width: 35px;
    height: 7px;
    background: #ffff;
    animation: dominos 1s ease infinite;
    box-shadow: 2px 2px 3px 0px black;
}

.spinner span:nth-child(1) {
    --left: 80px;
    animation-delay: 0.125s;
}

.spinner span:nth-child(2) {
    --left: 70px;
    animation-delay: 0.3s;
}

.spinner span:nth-child(3) {
    left: 60px;
    animation-delay: 0.425s;
}

.spinner span:nth-child(4) {
    animation-delay: 0.54s;
    left: 50px;
}

.spinner span:nth-child(5) {
    animation-delay: 0.665s;
    left: 40px;
}

.spinner span:nth-child(6) {
    animation-delay: 0.79s;
    left: 30px;
}

.spinner span:nth-child(7) {
    animation-delay: 0.915s;
    left: 20px;
}

.spinner span:nth-child(8) {
    left: 10px;
}

@keyframes dominos {
    50% {
        opacity: 0.7;
    }

    75% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    80% {
        opacity: 1;
    }
}