/* HTML: <div class="loader"></div>.loader {
    width: 60px;
    aspect-ratio: 1;
    display: flex;
    animation: l11-0 2s infinite linear;
}

.loader::before,
.loader::after {
    content: "";
    flex: 1;
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
    animation: l11-1 1s infinite linear alternate, l11-2 2s infinite linear -.5s;
}

.loader::after {
    --s: -1, -1;
}

@keyframes l11-0 {
    0%,
    49.99% {
        transform: scaleX(1) rotate(0deg)
    }
    50%,
    100% {
        transform: scaleX(-1) rotate(-90deg)
    }
}

@keyframes l11-1 {
    0%,
    5% {
        transform: scale(var(--s, 1)) translate(0px) perspective(150px) rotateY(0deg)
    }
    33% {
        transform: scale(var(--s, 1)) translate(-10px) perspective(150px) rotateX(0deg)
    }
    66% {
        transform: scale(var(--s, 1)) translate(-10px) perspective(150px) rotateX(-180deg)
    }
    95%,
    100% {
        transform: scale(var(--s, 1)) translate(0px) perspective(150px) rotateX(-180deg)
    }
}

@keyframes l11-2 {
    0%,
    49.99% {
        background: #EB9F9F
    }
    50%,
    100% {
        background: #A79C8E
    }
} */


/* HTML: <div class="loader"></div> */

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* Adjust opacity as needed */
    backdrop-filter: blur(5px);
    /* Adjust blur intensity as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Ensure it's above other content */
}

.loader {
    width: 150px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 20px solid #0000;
    border-right-color: #ffa50097;
    position: relative;
    animation: l24 1s infinite linear;
    z-index: 1000;
    position: absolute;
    top: 30%;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: inherit;
    animation: inherit;
    animation-duration: 2s;
}

.loader:after {
    animation-duration: 4s;
}

@keyframes l24 {
    100% {
        transform: rotate(1turn)
    }
}