#spinner {
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    position :fixed;
    top:0;
    left : 0;
    width : 100vw;
    height : 100vh;
    background-color: rgba(173,171,168,0.4);
}
#spinner.active {
    display:flex;
}

#spinner > div{
    display: flex;
    flex-direction : column;
    align-items:center;
}

#spinner .loadTxt{
    padding: 10px 0;
    font-size: 18px;
}
#spinner .loader {
    display: block;
    height: 64px;
    width: 64px;
}

#spinner.active .loader span {
    width: 30px;
    height: 30px;
    background-color: #000;
    display: inline-block;
    -webkit-animation: square1 1.7s infinite ease-in-out both;
    animation: square1 1.7s infinite ease-in-out both;
}

#spinner .loader span:nth-child(1) {
    left: 0;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#spinner .loader span:nth-child(2) {
    left: 15px;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

#spinner .loader span:nth-child(3) {
    left: 30px;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

#spinner .loader span:nth-child(4) {
    left: 45px;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

@keyframes square1 {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}
@-webkit-keyframes square1 {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}