.loading_page { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 66.59px);
    background-color: rgb(255, 240, 229);
    position: fixed;
    top: 66.59px;
    left: 0;
    width: 100%;
    height: calc(100vh - 66.59px);
    z-index: 100;
    transition: 1s ease;
}

.loading {
    position: relative;
    display: flex;
    gap: 15px;
}

.loading span {
    position: relative;
    width: 5px;
    height: 20px;
}

.loading span::before {
    content: '';
    position: absolute;
    inset: 0;
    animation: animate 8s linear infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

.loading_out {
    transform: translateY(100%);
}

.loading_out svg,
.loading_out p {
    opacity: 0;
}

@keyframes animate {
    0% {
        background-color: rgb(254,114,53);
        box-shadow: 0 0 5px rgb(254,114,53),
        0 0 15px rgb(254,114,53),
        0 0 30px rgb(254,114,53),
        0 0 50px rgb(254,114,53);
        rotate: 0deg;
    }
    20% {
        background-color: rgb(254,114,53);
        box-shadow: 0 0 5px rgb(254,114,53),
        0 0 15px rgb(254,114,53),
        0 0 30px rgb(254,114,53),
        0 0 50px rgb(254,114,53);
        rotate: 0deg;
    }
    40% {
        background-color: rgb(254,114,53);
        box-shadow: 0 0 5px rgb(254,114,53),
        0 0 15px rgb(254,114,53),
        0 0 30px rgb(254,114,53),
        0 0 50px rgb(254,114,53);
        rotate: 90deg;
        transform-origin: bottom;
    }
    80% {
        background-color: rgb(254,114,53);
        box-shadow: 0 0 5px rgb(254,114,53),
        0 0 15px rgb(254,114,53),
        0 0 30px rgb(254,114,53),
        0 0 50px rgb(254,114,53);
        rotate: 90deg;
        transform-origin: bottom;
    }
    90% {
        background-color: #000;
        box-shadow: none;
        rotate: 0;
    }
    90.1%, 100% {
        background-color: #000;
        box-shadow: none;
    }
}


:root {
    --loading1: #EC3E27;
    --loading2: #F97F51;
    --wave-color1: #f0932b;
    --wave-color2: #ffbe76;
}

.loading_circle{
    width: 150px;
    height: 150px;
    background-color: var(--border-color);
    border:10px solid transparent;
    box-shadow: 0 0 0 5px var(--loading2);
    border-radius: 50%;
}

.loading_wave{
    position:relative;
    width: 100%;
    height: 100%;
    background-color: var(--loading2);
    border-radius: 50%;
    box-shadow: inset 0 0 50px var(--loading1);
    overflow:hidden;
}

.loading_wave::before, .loading_wave::after {
    content: "";
    position: absolute;
    /* top: 0; */
    top:-70px;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
}

.loading_wave::before {
    border-radius: 30%;
    background-color: var(--wave-color1);
    animation: wave_animate 10s linear infinite;
}

.loading_wave::after {
    border-radius: 40%;
    background-color: var(--wave-color2);
    animation: wave_animate 10s linear infinite;
}

@keyframes wave_animate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        /* top: -100px; */
        transform: translate(-50%, -50%) rotate(360deg);
    }
    100% {
        /* top: 0; */
        transform: translate(-50%, -50%) rotate(720deg);
    }
}