:root {
    --logo-width: 700px;
    --spin-speed: 1.3s;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    background-color: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .7s ease-out;
}

.preloader--invisible {
    height: 0;
}

.preloader--hidden {
    visibility: hidden;
    height: 0;

}

.preloader__logo {
    width: var(--logo-width);
    padding-bottom: 10px;
    background: url('../logo/logo_new_white.png') no-repeat center;
    background-size: 40%;
}

.preloader__circle {
    border-top: 2px solid #fff;
    border-radius: 50%;
    width: calc(var(--logo-width) + 10px);
    height: calc(var(--logo-width) + 10px);
    animation: preloader-spin var(--spin-speed) linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1250px) {
    :root {
        --logo-width: 600px;
    }
}

@media (max-width: 600px) {
    :root {
        --logo-width: 400px;
    }
}

@media (max-width: 400px) {
    :root {
        --logo-width: 300px;
    }
}