@charset "utf-8";
/* CSS Document */

/*
==============================
Page load animation.
==============================
*/

/* Style for the load */

.processing{
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0; 
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    transition: all 1s;
}

.processing .container{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.processing .container .loader{
    position: relative;
}

.processing .container .loader:after{
    content: "";
    width: 60px;
    height: 60px;
    background-color: #0238a4;
    animation: rotate-processing .5s linear infinite;
    position: absolute;
    top: 0;
    left: -30px;
    border-radius: 3px;
    box-shadow: 0 0 3px rgba(0, 0, 0, .5);
}

.processing .container .loader:before{
    content: "";
    width: 60px;
    height: 10px;
    background-color: rgba(0, 0, 0, .4);
    animation: shadow-animate-processing .5s linear infinite;
    position: absolute;
    top: 70px;
    left: -30px;
    border-radius: 50%;
}

@keyframes rotate-processing{
    17%{
        border-bottom-right-radius: 3px;
    }

    25%{
        transform: translate(9px) rotate(22.5deg);
    }

    50%{
        transform: scale(1, 0.9) translateY(18px) rotate(45deg);
        border-bottom-right-radius: 40px;
    }

    75%{
        transform: translateY(9px) rotate(67.5deg);
    }

    100%{
        transform: translateY(0) rotate(90deg);
    }
}

@keyframes shadow-animate-processing{
    50%{
        transform: scale(1.3, 1);
    }
}

/* Mediaquery viewport 500px */

@media (max-width:500px){
    .processing .container .loader:after{
        content: "";
        width: 50px;
        height: 50px;
        background-color: #0238a4;
        animation: rotate .5s linear infinite;
        position: absolute;
        top: 0;
        left: -25px;
        border-radius: 3px;
        box-shadow: 0 0 3px rgba(0, 0, 0, .5);
    }
    
    .processing .container .loader:before{
        content: "";
        width: 50px;
        height: 7px;
        background-color: rgba(0, 0, 0, .4);
        animation: shadow-animate .5s linear infinite;
        position: absolute;
        top: 60px;
        left: -25px;
        border-radius: 50%;
    }
    
    @keyframes rotate-processing{
        17%{
            border-bottom-right-radius: 3px;
        }
    
        25%{
            transform: translate(9px) rotate(22.5deg);
        }
    
        50%{
            transform: scale(1, 0.9) translateY(18px) rotate(45deg);
            border-bottom-right-radius: 30px;
        }
    
        75%{
            transform: translateY(9px) rotate(67.5deg);
        }
    
        100%{
            transform: translateY(0) rotate(90deg);
        }
    }
    
    @keyframes shadow-animate-processing{
        50%{
            transform: scale(1.3, 1);
        }
    }
}

/* Mediaquery viewport 250px */

@media (max-width:250px){
    .processing .container .loader:after{
        content: "";
        width: 40px;
        height: 40px;
        background-color: #0238a4;
        animation: rotate .5s linear infinite;
        position: absolute;
        top: 0;
        left: -20px;
        border-radius: 3px;
        box-shadow: 0 0 3px rgba(0, 0, 0, .5);
    }
    
    .processing .container .loader:before{
        content: "";
        width: 40px;
        height: 5px;
        background-color: rgba(0, 0, 0, .4);
        animation: shadow-animate .5s linear infinite;
        position: absolute;
        top: 50px;
        left: -20px;
        border-radius: 50%;
    }
    
    @keyframes rotate-processing{
        17%{
            border-bottom-right-radius: 3px;
        }
    
        25%{
            transform: translate(9px) rotate(22.5deg);
        }
    
        50%{
            transform: scale(1, 0.9) translateY(18px) rotate(45deg);
            border-bottom-right-radius: 20px;
        }
    
        75%{
            transform: translateY(9px) rotate(67.5deg);
        }
    
        100%{
            transform: translateY(0) rotate(90deg);
        }
    }
    
    @keyframes shadow-animate-processing{
        50%{
            transform: scale(1.3, 1);
        }
    }
}