﻿.loader-section {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    position: fixed;
    /*o position: absolute;*/
    top: 0;
    /*y left: 0;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: #ffffff;*/
    z-index: 1053;
    transition: all 0.01s 0.01s ease-out;
    /*opacity: 1;*/
}

.loader {
    animation: rotate 1s infinite;
    height: 50px;
    width: 50px;
}

    .loader:before,
    .loader:after {
        content: "";
        display: block;
        height: 20px;
        width: 20px;
    }

    .loader:before {
        animation: box1 1s infinite;
        background-color: #fff;
        box-shadow: 30px 0 0 #0C3274;
        margin-bottom: 10px;
    }

    .loader:after {
        animation: box2 1s infinite;
        background-color: #0C3274;
        box-shadow: 30px 0 0 #fff;
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(0.8)
    }

    50% {
        transform: rotate(360deg) scale(1.2)
    }

    100% {
        transform: rotate(720deg) scale(0.8)
    }
}

@keyframes box1 {
    0% {
        box-shadow: 30px 0 0 #0C3274;
    }

    50% {
        box-shadow: 0 0 0 #0C3274;
        margin-bottom: 0;
        transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 #0C3274;
        margin-bottom: 10px;
    }
}

@keyframes box2 {
    0% {
        box-shadow: 30px 0 0 #fff;
    }

    50% {
        box-shadow: 0 0 0 #fff;
        margin-top: -20px;
        transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 #fff;
        margin-top: 0;
    }
}
/*######################################*/
/* HTML: <div class="loader"></div> */
.loadersa {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    color: #0C3274;
    background: radial-gradient(farthest-side, currentColor calc(100% - 6px),#0000 calc(100% - 5px) 0);
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 13px),#000 calc(100% - 12px));
    border-radius: 50%;
    animation: l19 2s infinite linear;
}

    .loadersa::before,
    .loadersa::after {
        content: "";
        grid-area: 1/1;
        background: linear-gradient(currentColor 0 0) center, linear-gradient(currentColor 0 0) center;
        background-size: 100% 10px,10px 100%;
        background-repeat: no-repeat;
    }

    .loadersa::after {
        transform: rotate(45deg);
    }

@keyframes l19 {
    100% {
        transform: rotate(1turn)
    }
}
/*######################################*/
/*content: ''; 
        width: 48px;
        height: 5px;
        background: #000;
        opacity: 0.25;
        position: absolute;
        top: 60px;
        left: 0;
        border-radius: 50%;
        animation: shadow 0.5s linear infinite;
    }

    .loader:after {*/
/*content: 's';
        background-color: red;
        width: 100%;
        height: 100%;
        background: #fff;
        animation: bxSpin 0.5s linear infinite;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 4px;
    }

@keyframes bxSpin {*/

/*.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #623ddb;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotationdespinnerggg 1s linear infinite;
    //z-index: 999;
}

@keyframes rotationdespinnerggg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
*/
/*######################################*/
.loaded {
    opacity: 0;
    z-index: -1;
}