/* Styles gÃ©nÃ©raux */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background-color: white;
    color: black;
    height: 100vh; /* Hauteur de 100% de la vue */
    display: flex;
    flex-direction: column;
}

/* Style pour l'animation de chargement */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    z-index: 100;
}

.loader {
    display: flex; /* Utiliser flex pour aligner les Ã©lÃ©ments dans la loader */
    flex-direction: column; /* Empiler le texte et la roue */
    align-items: center; /* Centrer horizontalement */
}

.loader p {
    font-size: 18px;
    margin-bottom: 10px; /* RÃ©duire l'espace en bas pour un meilleur alignement */
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style pour le contenu principal */
#content {
    display: none;
    flex-grow: 1;
}

h1 {
    font-size: 36px;
    margin-top: 20px;
    text-align: center;
}

h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

p {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Barre de navigation grise foncÃ© */
.navigation-bar {
    background-color: #333333; /* Gris foncÃ© */
    padding: 10px 0;
    text-align: center;
}

.navigation-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navigation-bar ul li {
    display: inline-block;
    margin: 0 15px;
}

.navigation-bar ul li a {
    text-decoration: none;
    color: white; /* Couleur du texte en blanc */
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.navigation-bar ul li a:hover {
    border-bottom: 2px solid gray;
}

/* Style pour la galerie d'images */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Pour les grands Ã©crans (comme les ordinateurs) */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 images par ligne */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-container img {
    width: 100%; /* Les images prennent toute la largeur de leur conteneur */
    height: auto;
    object-fit: cover;
}

/* Pour les Ã©crans plus petits (comme les tÃ©lÃ©phones) */
@media screen and (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr; /* 1 image par ligne */
    }
}

.gallery-container {
    transition: all 0.3s ease-in-out;
}

.gallery-container img {
    transition: transform 0.3s ease-in-out;
}

.gallery-container img:hover {
    transform: scale(1.05); /* Agrandir légèrement l'image au survol */
}
