body {
    margin: 0;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
}

#loading-bg {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--initial-loader-bg, #fff);
    block-size: 100%;
    gap: 1rem 0;
    inline-size: 100%;
}

/* 
.loading {
    position: relative;
    box-sizing: border-box;
    border: 3px solid transparent;
    border-radius: 50%;
    block-size: 55px;
    inline-size: 55px;
}

.loading .effect-1,
.loading .effect-2,
.loading .effect-3 {
    position: absolute;
    box-sizing: border-box;
    border: 3px solid transparent;
    border-radius: 50%;
    block-size: 100%;
    border-inline-start: 3px solid var(--initial-loader-color, #eee);
    inline-size: 100%;
}

.loading .effect-1 {
    animation: rotate 1s ease infinite;
}

.loading .effect-2 {
    animation: rotate-opacity 1s ease infinite 0.1s;
}

.loading .effect-3 {
    animation: rotate-opacity 1s ease infinite 0.2s;
}

.loading .effects {
    transition: all 0.3s ease;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

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

@keyframes rotate-opacity {
    0% {
        opacity: 0.1;
        transform: rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: rotate(1turn);
    }
} */


/* HTML: <div class="loader"></div> */

.loading-logo svg {
    width: 12em;
}

.loader {
    width: 20px;
    aspect-ratio: 1.8;
    border-radius: 50%;
    background: var(--initial-loader-color, #eee);
    box-shadow: 0 0 60px 15px var(--initial-loader-color, #eee);
    transform: translate(-80px);
    clip-path: inset(0);
    animation:
        l4-1 0.5s ease-in-out infinite alternate,
        l4-2 1s ease-in-out infinite;
}

@keyframes l4-1 {
    100% {
        transform: translateX(80px)
    }
}

@keyframes l4-2 {
    33% {
        clip-path: inset(0 0 0 -100px)
    }

    50% {
        clip-path: inset(0 0 0 0)
    }

    83% {
        clip-path: inset(0 -100px 0 0)
    }
}