html, body {
    height: 100%;
}

.loader-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: #ffffff63;
    z-index: 1000000;
}

.loaderSpinner {
    display: inline-block;
    position: relative;
    animation: rotate 1s infinite;
    height: 50px;
    width: 50px;
}

    .loaderSpinner:before,
    .loaderSpinner:after {
        border-radius: 50%;
        content: '';
        display: block;
        height: 20px;
        width: 20px;
    }

    .loaderSpinner:before {
        animation: ball1 1s infinite;
        background-color: #FF7043;
        box-shadow: 30px 0 0 #f8b334;
        margin-bottom: 10px;
    }

    .loaderSpinner:after {
        animation: ball2 1s infinite;
        background-color: #F44336;
        box-shadow: 30px 0 0 #97bf0d;
    }

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg) scale(0.8);
        -moz-transform: rotate(0deg) scale(0.8);
    }

    50% {
        -webkit-transform: rotate(360deg) scale(1.2);
        -moz-transform: rotate(360deg) scale(1.2);
    }

    100% {
        -webkit-transform: rotate(720deg) scale(0.8);
        -moz-transform: rotate(720deg) scale(0.8);
    }
}

@keyframes ball1 {
    0% {
        box-shadow: 30px 0 0 #0d6efd;
    }

    50% {
        box-shadow: 0 0 0 #0d6efd;
        margin-bottom: 0;
        -webkit-transform: translate(15px,15px);
        -moz-transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 #4CAF50;
        margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
        box-shadow: 30px 0 0 #0d6efd;
    }

    50% {
        box-shadow: 0 0 0 #0d6efd;
        margin-top: -20px;
        -webkit-transform: translate(15px,15px);
        -moz-transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 #0d6efd;
        margin-top: 0;
    }
}
