@font-face {
    font-family: "smiley";
    src: url(../font/Outfit-VariableFont_wght.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;
}

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

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: #f3f3f4;
    padding-top: 100px;
}

main {
    flex: 1;
}

.body-bg {
    background: url(../images/background.png) repeat;
    background-size: 100% 100%;
    position: fixed;
    top: 0;
    z-index: -1;
    width: 100%;
    left: 0;
    height: 100vh;
}

:root {
    --all-width: 1220px;
    --logo: 170px;
    --searchBar: 350px;
    --button: 35px;
}

@media screen and (max-width:769px) {
    :root {
        --all-width: 98%;
        --searchBar: 100%;
    }

    body {
        padding-top: 0;
    }
}

@media only screen and (max-device-width: 768px) and (orientation: landscape) {
    /* just phone，landscape */
}

@media only screen and (max-device-width: 768px) and (orientation: portrait) {
    /* just phone，portrait */
}

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

.loading::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    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: 16px;
    animation: loadingText 1.5s linear infinite;
}

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