/* spinners.css — spinner in-app (.rotate, .spinner, anelli 3D .ring).
   NB: sospetto duplicato del boot loader in Spinner.css (vedi docs/audit-css.md). */

.rotate {
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(-360deg);
    }
}


/* SPINNER Page */
.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: inset -2px 0 0 2px #0bf;
}


/*start spinner index*/
.ring {
    width: 200px;
    height: 200px;
    border: 0px solid var(--back-color-light);
    border-radius: 50%;
    position: absolute;
}

    .ring:nth-child(1) {
        border-bottom-width: 8px;
        border-color: mediumpurple;
        animation: rotate1 2s linear infinite;
    }

    .ring:nth-child(2) {
        border-right-width: 8px;
        border-color: mediumspringgreen;
        animation: rotate2 2s linear infinite;
    }

    .ring:nth-child(3) {
        border-top-width: 8px;
        border-color: darkcyan;
        animation: rotate3 2s linear infinite;
    }

@keyframes rotate1 {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate2 {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes rotate3 {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}
