/* Styles de base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Préchargeur */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ec0000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Cercle de chargement */
.loader {
    border: 10px solid #f3f3f3; /* couleur du fond du cercle */
    border-top: 10px solid #fff; /* couleur de l'anneau de rotation */
    border-radius: 50%; /* Cercle */
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite; /* Animation de rotation */
}

/* Animation de rotation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Cacher le contenu avant que le préchargeur ne soit supprimé */
.content {
    display: none;
    text-align: center;
    padding: 50px;
}

/* Bloquer le défilement pendant le préchargement */
body.loading {
    overflow: hidden; /* Empêcher le défilement pendant le préchargement */
}

/* Quand le préchargeur est caché, afficher le contenu */
body.loaded #preloader {
    display: none;
}

body.loaded #content {
    display: block;
}



.whatsapp-float {
    position: fixed;
    bottom: 120px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}
