
#loading-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden {
    display: none;
}

/* CSS pour masquer le contenu principal initialement */
body.loading #main-content {
    display: none;
}

#loading-page img {
    width: 500px; 
    animation: reconstruct-hearts 2s infinite; /* Appliquez l'animation */
}

/* Keyframes pour l'animation de reconstruction des cœurs */
@keyframes reconstruct-hearts {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
