/* center vertical and horizontal */
.loading {
    z-index: 9999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading img{
    /* width: 100%;
    height: 300px; */
    animation-name: stretch;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-delay: 0;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-fill-mode: none;
    animation-play-state: running;
}

/* css loading */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@keyframes stretch {
    0% {
        transform: scale(.3);
    }
    /* 25% {
        transform: scale(.6);
    }
    50% {
        transform: scale(.9);
    }
    75% {
        transform: scale(1.2);
    } */
    100% {
        transform: scale(1.5);
    }
}
