.preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
}

.preloader::before {
    display: block;
    position: absolute;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    margin: -60px 0 0 -60px;
    content: '';
    border: solid 14px #ffffff33;
    border-radius: 50%;
    border-top-color: #f7eb5c;
    animation: spin 1s infinite ease-in-out;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fadeIn {
    opacity: 1;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeOut {
    opacity: 0;
    display: none;
    animation: fadeOut 0.5s ease-in-out;
}

.fadeOutSlow {
    opacity: 0;
    display: none;
    animation: fadeOut 1s ease-in-out;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        display: block;
    }

    to {
        opacity: 0;
        display: none;
    }
}
