/* Animazione per la scritta 'Segnalazioni' */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animazione per la scritta 'Indietro' */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animazione per i bottoni */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* Nuova animazione per la scritta 'Indietro' con effetto di rimbalzo */
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Applicazione delle animazioni 
.titolo-pagine-interne {
   animation: bounceIn 1s ease-out;
}



.container .card {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}


.container .card {
    animation-delay: calc(var(--animation-index) * 0.01s);
}

/* Stile per il preloader */
#preloader {
      position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.5); /* Colore bianco con trasparenza */
    backdrop-filter: blur(5px); /* Effetto vetro */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stile per la spinner */
.spinner {
   width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animazione per la spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


