﻿.loader-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
}

.loader-container {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.loader {
    max-width: 22rem;
    width: 100%;
    height: auto;
    stroke-linecap: round;
}

    .loader circle {
        fill: none;
        stroke-width: 3.5;
        -webkit-animation-name: preloader;
        animation-name: preloader;
        -webkit-animation-duration: 3s;
        animation-duration: 3s;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transform-origin: 170px 170px;
        transform-origin: 170px 170px;
        will-change: transform;
    }

        .loader circle:nth-of-type(1) {
            stroke-dasharray: 550;
        }

        .loader circle:nth-of-type(2) {
            stroke-dasharray: 500;
        }

        .loader circle:nth-of-type(3) {
            stroke-dasharray: 450;
        }

        .loader circle:nth-of-type(4) {
            stroke-dasharray: 300;
        }

        .loader circle:nth-of-type(1) {
            -webkit-animation-delay: -0.15s;
            animation-delay: -0.15s;
        }

        .loader circle:nth-of-type(2) {
            -webkit-animation-delay: -0.3s;
            animation-delay: -0.3s;
        }

        .loader circle:nth-of-type(3) {
            -webkit-animation-delay: -0.45s;
            -moz-animation-delay: -0.45s;
            animation-delay: -0.45s;
        }

        .loader circle:nth-of-type(4) {
            -webkit-animation-delay: -0.6s;
            -moz-animation-delay: -0.6s;
            animation-delay: -0.6s;
        }

@-webkit-keyframes preloader {
    50% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes preloader {
    50% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
