#preloader {
    position: fixed;
    inset: 0;
    z-index: 199998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 300ms ease, background-color 260ms ease;
}

.preloader-container {
    position: relative;
    z-index: 199999;
    max-width: min(90vw, 500px);
    text-align: center;
}

.wlh_spinner {
    display: block;
    width: auto;
    max-width: min(90vw, 500px);
    height: auto;
    max-height: min(70vh, 500px);
    margin: 0 auto 20px;
    animation: wlh-preloader-bounce 1.5s infinite ease-in-out;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 15px;
    height: 15px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    animation: wlh-preloader-jump 1.5s infinite ease-in-out;
}

.dot1 {
    background-color: #cc0000;
    animation-delay: 0s;
}

.dot2 {
    background-color: #036600;
    animation-delay: 0.2s;
}

.dot3 {
    background-color: #024300;
    animation-delay: 0.4s;
}

@keyframes wlh-preloader-jump {
    0%,
    80%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

@keyframes wlh-preloader-bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #preloader {
        transition: none;
    }

    .wlh_spinner,
    .dot {
        animation: none;
    }
}
