﻿.loading {
    --speed-of-animation: 0.9s;
    --gap: 6px;
    --first-color: #4c86f9;
    --second-color: #49a84c;
    --third-color: #f6bb02;
    --fourth-color: #f6bb02;
    --fifth-color: #2196f3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 6px;
    height: 100%;
    position:absolute;
    left:0;
    top:0;
   background:rgba(0,0,0,0.8);
   z-index:10000;

   
}

.loading span {
   
   font-weight:bold;
   font-size:25px;
   
    animation: scale var(--speed-of-animation) ease-in-out infinite;
}
    .loading span:nth-child(1) {
      
        animation-delay: -1.3s;
        color: var(--first-color);
        
    }
    .loading span:nth-child(2) {
        color: var(--second-color);
        animation-delay: -1.2s;
    }

    .loading span:nth-child(3) {
        color: var(--third-color);
        animation-delay: -1.1s;
    }

    .loading span:nth-child(4) {
        color: var(--fourth-color);
        animation-delay: -1.0s;
    }

    .loading span:nth-child(5) {
        color: var(--fifth-color);
        animation-delay: -0.9s;
    }
    .loading span:nth-child(6) {
        color: var(--first-color);
        animation-delay: -0.8s;
    }
    .loading span:nth-child(7) {
        color: var(--second-color);
        animation-delay: -0.7s;
    }
    .loading span:nth-child(8) {
        color: var(--third-color);
        animation-delay: -0.6s;
    }
    .loading span:nth-child(9) {
        color: var(--fourth-color);
        animation-delay: -0.5s;
    }
    .loading span:nth-child(10) {
        color: var(--fifth-color);
        animation-delay: -0.4s;
    }
    .loading span:nth-child(11) {
        color: var(--first-color);
        animation-delay: -0.3s;
    }
    .loading span:nth-child(12) {
        color: var(--second-color);
        animation-delay: -0.2s;
    }
    .loading span:nth-child(13) {
        color: var(--third-color);
        animation-delay: -0.1s;
    }

@keyframes scale {
    0%, 40%, 100% {
        transform: scaleY(0.05);
    }

    20% {
        transform: scaleY(1);
    }
}

