@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "Kanit", sans-serif;
    margin: 0;
    box-sizing: border-box;
    background-color: #101117;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 90vw;
    height: 90vh;
    background-color: #00000033;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.container h1 {
    margin: 0;
    font-size: 35px;
    letter-spacing: 1px;
    color: white;
}

.container p {
    margin: 0;
    font-size: 17px;
    color: white;
}

.container button {
    margin: 30px;
    padding: 10px 30px;
    border-radius: 5px;
    border: none;
    background: #237bff;
    font-size: 15px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.container button:hover {
    transform: scale(1.05);
    background: #1e64cc;
}

.loader {
    display: flex;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #00000079;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(3px);
    z-index: 9999;
}

.loader_a {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    color: #fff;
}

.loader_a:before,
.loader_a:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}

.loader_a:after {
    color: #237bff;
    transform: rotateY(70deg);
    animation-delay: .4s;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {
    0%,
    100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }
    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }
    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}

/* Hide scrollbar */
::-webkit-scrollbar {
    display: none;
}