.loading-dom{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.75);
    z-index: 9999;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loading {
    position: relative;
    width: 50px;
    perspective: 200px;
}

.loading:before,
.loading:after {
    position: absolute;
    width: 20px;
    height: 20px;
    content: "";
    animation: jumping 0.5s infinite alternate;
    background: rgba(0, 0, 0, 0);
}

.loading:before {
    left: 0;
}

.loading:after {
    right: 0;
    animation-delay: 0.15s;
}

@keyframes jumping {
    0% {
        transform: scale(1) translateY(0px) rotateX(0deg);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
    }

    100% {
        transform: scale(1.2) translateY(-25px) rotateX(45deg);
        background: #fff;
        box-shadow: 0 25px 40px #fff;
    }
}
