﻿div.loadBlock {
    position: fixed;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(200,200,200,.5);
    transition: .5s;
    z-index: 9999999999;
}

    div.loadBlock span.loadBlockIcon {
        position: relative;
        display: flex;
        content: "";
        width: 200px;
        height: 200px;
        padding: 50px;
        margin: auto;
        border-radius: 50%;
        background: rgba(0,0,0,.2);
        justify-content: center;
        align-items: center;
        animation: loadSpin 2s linear infinite;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: destination-out;
    }

        div.loadBlock span.loadBlockIcon span.inBoxSpin {
            position: absolute;
            display: block;
            content: '';
            top: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient( 90deg, rgba(18,73,138,0) 25%, rgba(203, 153, 4, .6) 75%);
            border-radius: 40px;
        }

    div.loadBlock label {
        position: relative;
        display: block;
        margin-top: 30px;
        text-align: center;
        font-size: 30px;
        font-weight: 600;
    }

/***************************************Animation****************************************/
@keyframes loadSpin {
    0% {
        transform: rotate( 0deg );
    }

    100% {
        transform: rotate( 360deg );
    }
}

/***************************************Responsive****************************************/
@media screen and (max-width:1370px) {
    div.loadBlock span.loadBlockIcon {
        width: 160px;
        height: 160px;
        padding: 30px;
    }
}

@media screen and (max-width:425px) {
    div.loadBlock span.loadBlockIcon {
        width: 140px;
        height: 140px;
        padding: 20px;
    }
}