#loader-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    overflow: hidden;
    background: #143E82;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
}

#loader-wrapper.act {
    background: none;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
}

#loader-wrapper img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 70px;
}

#loader-wrapper:after {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -90px;
    margin-top: -90px;
    content: "";
    width: 180px;
    height: 180px;
    border-radius: 40px;
    border: 3px solid #fff;
    -webkit-animation: magic-mouse 3s infinite ease;
    animation: magic-mouse 3s infinite ease;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
}

#loader-wrapper span {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -140px;
    content: "";
    width: 280px;
    height: 280px;
    border-radius: 40px;
    border: 2px solid #ECBEB4;
    -webkit-animation: magic-mouse1 3s infinite ease;
    animation: magic-mouse1 3s infinite ease;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
}

@keyframes magic-mouse {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(0.5) rotate(90deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@-webkit-keyframes magic-mouse {
    0% {
        -webkit-transform: scale(1) rotate(0deg);
    }
    50% {
        -webkit-transform: scale(0.5) rotate(90deg);
    }
    100% {
        -webkit-transform: scale(1) rotate(0deg);
    }
}

@keyframes magic-mouse1 {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(0.5) rotate(-90deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@-webkit-keyframes magic-mouse1 {
    0% {
        -webkit-transform: scale(1) rotate(0deg);
    }
    50% {
        -webkit-transform: scale(0.5) rotate(-390deg);
    }
    100% {
        -webkit-transform: scale(1) rotate(0deg);
    }
}
