.loader-wrapper {
    display: none;
}

.loader-body {
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
}

.loader {
    animation: rotate 2s infinite;
    height: 50px;
    width: 50px;
}

.loader-text {
    margin-left: 40px;
    font-size: 36px;
    display: none;
}

.loader:before,
.loader:after {
    /*border-radius: 50%;*/
    content: '';
    display: block;
    height: 20px;
    width: 20px;
}

.loader:before {
    animation: ball1 1s infinite;
    background-color: transparent;
    box-shadow: 30px 0 0 #4b4a4d;
    border: 3px solid #4b4a4d;
    margin-bottom: 10px;
    border-radius: 20px;
}

.loader:after {
    animation: ball2 1s infinite;
    background-color: transparent;
    box-shadow: 30px 0 0 #B1C903;
    border: 3px solid #B1C903;
    border-radius: 20px;
}

@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 #B1C903;
    }
    50% {
        box-shadow: 0 0 0 #B1C903;
        margin-bottom: 0;
        -webkit-transform: translate(15px, 15px);
        -moz-transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #B1C903;
        margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
        box-shadow: 30px 0 0 #4b4a4d;
    }
    50% {
        box-shadow: 0 0 0 #4b4a4d;
        margin-top: -20px;
        -webkit-transform: translate(15px, 15px);
        -moz-transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 #4b4a4d;
        margin-top: 0;
    }
}
