.spinner-backdrop {
    position: relative;
    min-height: 20px;
    max-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ======================================= */
/* ============internet loader============ */
/* ======================================= */
.no-internet-loader {
    display: none;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40rem;
    height: 100vh;
    width: 100vw;
    background-color: var(--black);
    position: relative;

}

.loader-message,
#retryBtn {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
}

#retryBtn {
    border: 1px solid var(--helper);
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 4px 4px rgba(128, 128, 128, 0.329);
    cursor: pointer;
}

.container-no-internet-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -64.5px;
    margin-top: -85.5px;
}

.ghost {
    animation: float 3s ease-out infinite;
}

@keyframes float {
    50% {
        transform: translate(0, 20px);
    }
}

.shadowFrame {
    width: 130px;
    margin-top: 15px;
}

.shadow {
    animation: shrink 3s ease-out infinite;
    transform-origin: center center;

    ellipse {
        transform-origin: center center;
    }
}

@keyframes shrink {
    0% {
        width: 90%;
        margin: 0 5%;
    }

    50% {
        width: 60%;
        margin: 0 18%;
    }

    100% {
        width: 90%;
        margin: 0 5%;
    }
}

/* ======================================= */
/* =============== data loader =========== */
/* ======================================= */

.loader-section {
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: #011015;
    align-content: center;
    text-align: center;
}

.loader-container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: white;

}

.ring {
    width: 400px;
    height: 400px;
    border: 0px solid #011015;
    border-radius: 50%;
    position: absolute;

}

.ring:nth-child(1) {
    border-bottom-width: 8px;
    border-color: orange;
    animation: rotate1 2s linear infinite;
}

@keyframes rotate1 {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);

    }
}

.ring:nth-child(2) {
    border-bottom-width: 8px;
    border-color: var(--helper);
    animation: rotate2 2s linear infinite;
}

@keyframes rotate2 {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);

    }
}


.ring:nth-child(3) {
    border-bottom-width: 8px;
    border-color: var(--white);
    animation: rotate3 2s linear infinite;
}

@keyframes rotate3 {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);

    }
}

.loader-logo-container {
    width: 170px;
    height: 170px;
    margin: auto;
    color: white;
}

.loader-logo-container img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}

@media (max-width:768px) {
    .ring {
        width: 250px;
        height: 250px;
        border: 0px solid #011015;
        border-radius: 50%;
        position: absolute;

    }

    .loader-logo-container {
        width: 100px;
        height: 100px;
        margin: auto;
        color: white;
    }
}