* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --img-bg: url(/public/assets/img/background.svg);
    --img-bg_full: url(/public/assets/img/background.svg);

    --clr-off_white: #fcfcfc;
    --clr-white: #fcfcfc;
    --clr-black: #313038;
    --clr-black_hover: #18181c;

    --clr-gray: #D6E4F1;
    --clr-gray_hover: #A8C1D7;

    --clr-green: #20E5B6;
    --clr-green_hover: #17C89E;

    --clr-yellow: #FFC602;
    --clr-yellow_hover: #F99603;

    --clr-red: #E51F4D;
    --clr-red_hover: #bf1940;

    --clr-blue: #1F8FE5;
    --clr-blue_hover: #1977be;

    --clr-orange: #f05f30;
    --clr-orange_hover: #da3e0a;

    --clr-primary: var(--clr-green);
    --clr-primary_hover: var(--clr-green_hover);

    --clr-secondary: var(--clr-blue);
    --clr-secondary_hover: var(--clr-blue_hover);

    --clr-gradient: linear-gradient(45deg, #f9a484, #f8f15e, #abe895, #3be1ce);
}

.text-green {
    color: var(--clr-green);
}

.text-yellow {
    color: var(--clr-yellow);
}

.text-blue {
    color: var(--clr-blue);
}

.text-red {
    color: var(--clr-red);
}

.text-gray {
    color: var(--clr-gray);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    color: var(--clr-black);
}

img, video {
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    margin: 0 auto;
    width: min(1020px, 95%);
}

.loading img {
    width: 100px;
    /* animation: upup 1s ease-in-out infinite; */
}

@keyframes upup {
    50% {
        transform: scale(1.1);
        /* box-shadow: 0 5px 26px -19px; */
    }

    100% {
        transform: scale(1);
        /* box-shadow: 0 5px 16px -10px; */
    }
}

.loading {
    width: 100vw;
    height: 100vh;
    background-color: var(--clr-primary);
    backdrop-filter: blur(5px);
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    opacity: 1;
    z-index: 100;
}

.loading>div {
    position: relative;
    width: min(4rem, 40%);
    aspect-ratio: 1/1;
}

.loading svg.progress {
    animation: rotate 2s linear infinite;
    left: 0;
    position: absolute;
    top: 0;
    z-index: 1022;
    stroke: #fff;
}

.loading svg.progress .progress_circle {
    stroke-width: 2px;
    stroke-linecap: round;
    animation: circular-dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

@keyframes circular-dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -40;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.loading .logo-cn {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

main {
    flex: 1;
    background-image: linear-gradient(#ffffffea, #ffffffea), var(--img-bg_full);
    background-size: cover;
    background-attachment: fixed;
    padding: 1rem 0 2rem;
}

header {
    background-color: var(--clr-primary);
    color: #fff;
    font-weight: 600;
    height: 4rem;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .bars {
    display: block;
    width: 28px;
    cursor: pointer;
    transform: rotateY(.5turn);
}

header .icon {
    width: 8rem;
    height: 4rem;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .social {
    font-size: 1.6rem;
    width: 35px;
}

header .back {
    align-self: stretch;
    display: grid;
    place-content: center;
    width: 35px;
    cursor: pointer;
}

.copyright {
    background-color: #f5f5f5;
    color: #010101;
    text-align: center;
    padding: .5rem;
    min-height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px -2px 4px -2px #01010131;
}

div.logo {
    padding: 3rem 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.logo img {
    width: min(300px, 100%);
    display: block;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid;
    opacity: .1;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.btn-float {
    position: absolute;
    bottom: 4rem;
    right: 1rem;
}

.version {
    text-align: center;
    color: inherit;
}

.text-bold {
    font-weight: bold !important;
}

.sub.text-budge {
    display: inline-block;
    background-color: #ec6140;
    color: #fff;
    width: fit-content;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: .7rem;
}