#loader {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;

    background: white;
    z-index: 9999;
}

.loader-square {
    width: 30px;
    height: 30px;
    background-color: black;
    animation: rotate-square 0.5s linear infinite;
}

@keyframes rotate-square {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loader-orbit {
    width: 10px;
    height: 10px;

    background-color: rgb(255, 95, 69);
    border-radius: 50%;
    margin-top: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

#loader {
    transition: opacity 0.4s ease;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
}