:root {
    --dur: 6s;
    --anim-func: ease-in;
}

.preloader {
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 1000;
    display: none;
    top: 0;
}

.preloader__content {
    background: linear-gradient(215.94deg, #1473BA -36.13%, #206396 113.74%);
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1000;
    justify-content: center;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out;
	animation-duration: var(--dur);
    animation-timing-function: var(--anim-func);
    animation-name: step-1;
}

.preloader__content svg {
    opacity: 1;
    animation-duration: var(--dur);
    animation-timing-function: var(--anim-func);
    animation-name: step-2;
}

.preloader.active {
    display: flex;
}

.preloader.hidden {
    display: none;
}

@keyframes step-1 {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
        opacity: 1;
    }
    60% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}


@keyframes step-2 {
    0% {
        opacity: 1;
    }
    30% {
        transform: scale(1);
        opacity: 0.6;
    }
    60% {
        transform: scale(0.9);
        opacity: 1;
        opacity: 0.2;
    }
    100% {
        opacity: 0;
    }
}