/* Définition de l'animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Application de l'animation à l'icône */
.rotate-icon {
    animation-duration: 2s;
    animation-timing-function: linear;
}

/* Animation déclenchée par JavaScript */
.rotate-icon.animate {
    animation-name: rotate;
    animation-fill-mode: forwards;
    /* Assure que l'élément reste à la position finale de l'animation */
}

/* Définition de l'animation de dézoom */
@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}
