.loading {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    background-color: #23394ac9;

    opacity: 0;
    visibility: hidden;
}

.loading.show {
    opacity: 1;
    visibility: visible;
}

.loading .center  {
    position: relative;
    /*   background-color: white; */
    animation: loading-spin 7s infinite linear;
}

.loading .circle > div {
    --size: 8px;
    --radius: 40px;
    position: absolute;
    top: calc(var(--size)/2);
    left: calc(var(--size)/2);
    width: var(--size);
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: white;
    transform: translate(0px,var(--radius));
}


.loading .circle {
    opacity: 0;
    animation: loading-fade-spin 2.6s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes loading-fade-spin {
    0% {

    }
    25% {
        opacity: 0;
        transform: rotate(0deg);
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 1;
        /*transform: rotate(180deg);*/
    }
    90% {
        opacity: 0;
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading .circle:nth-child(1) {
    -webkit-animation-delay: calc(0.12 * 1s);
    animation-delay: calc(0.12 * 1s);
}
.loading .circle:nth-child(2) {
    -webkit-animation-delay: calc(0.12 * 2s);
    animation-delay: calc(0.12 * 2s);
}
.loading .circle:nth-child(3) {
    -webkit-animation-delay: calc(0.12 * 3s);
    animation-delay: calc(0.12 * 3s);
}
.loading .circle:nth-child(4) {
    -webkit-animation-delay: calc(0.12 * 4s);
    animation-delay: calc(0.12 * 4s);
}
.loading .circle:nth-child(5) {
    -webkit-animation-delay: calc(0.12 * 5s);
    animation-delay: calc(0.12 * 5s);
}
.loading .circle:nth-child(6) {
    -webkit-animation-delay: calc(0.12 * 6s);
    animation-delay: calc(0.12 * 6s);
}
.loading .circle:nth-child(7) {
    -webkit-animation-delay: calc(0.12 * 7s);
    animation-delay: calc(0.12 * 7s);
}