// ============================================================================
// Imports
// ============================================================================

@use "../../variables" as *;
@use "../../mixins" as *;

// Container Styles | Preloader | Pulse
// ============================================================================

.preloader_pulse {
    border: 0 solid transparent;
    border-radius: 50%;
    width: q(50);
    height: q(50);
    position: absolute;
    top: calc(50vh - 7Q (4));
    left: calc(50vw - 7Q (4));
}

.preloader_pulse:before,
.preloader_pulse:after {
    content: "";
    border: q(16) solid #239898;
    border-radius: 50%;
    width: inherit;
    height: inherit;
    position: absolute;
    top: 0;
    left: 0;
    animation: preloader_pulse_animation 2s linear infinite;
    opacity: 0;
}

.preloader_pulse:before {
    animation-delay: 0.5s;
}

@keyframes preloader_pulse_animation {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
