*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: RGB(197, 198, 227);
    height: 100vh;
}

h1 {
   margin-left: 50px;
   margin-top: 50px;
   text-align: center;
   font-size: 30px;
   font-family: Arial, Helvetica, sans-serif;

}

h2 {
    color: black;
    text-align: center;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 5px;
}

#resultat {
  font-weight: bold;
  color: blue;
  padding: 10px;
  margin: 10px;
}

.saisonCoul {
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 50px;
    margin-top: 5px;
}

.red {
  color: red;
}

.green {
  color: green;
}

.blue {
  color: blue;
}

.orange {
  color: orange;
}

.menu-text {
    color: black;
    text-align: center;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 5px;
    font-style: italic;
    padding: 10px;
}

.menu {
    display: flex;
    padding:0;
    background-color: #ccc;
    justify-content: center;
}

.menu li {
    list-style-type: none ;
}

.menu a {
    display:block;
    min-width: 120px;
    margin: 0.5rem;
    padding: 0.4rem 0;
    text-align: center;
    background-color: #1ABC9C;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 4px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 5px auto 0;
    justify-content: center; /* Alignement horizontal au centre */
}

.item {
    position: relative;
    width: 100px; /* Largeur fixe pour chaque élément */
    height: 100px; /* Hauteur fixe pour chaque élément */
    margin: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Ajout de couleurs de fond pour chaque saison */
.item[data-saison="printemps"] {
    border: 5px solid green; /* Vert pour le printemps */
}

.item[data-saison="été"] {
    border: 5px solid red; /* Orange pour l'été */
}

.item[data-saison="automne"] {
    border: 5px solid orange; /* Rouge pour l'automne */
}

.item[data-saison="hiver"] {
    border: 5px solid blue; /* Bleu pour l'hiver */
}

.full {
    color: white;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 1px;
}

.item:hover img {
    transform: scale(1.3);
    z-index: 9;
}

.full-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.full-image-container img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transform: none !important;
}

.image-info {
    color: white;
    text-align: center;
}
/* Appliquer un style différent pour les écrans étroits (par exemple, les smartphones) */
@media (max-width: 767px) {
    .menu {
        flex-direction: column;
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        display: block;
    }
h1 {
        font-size: 24px; /* Taille du texte pour les écrans plus étroits */
    }
    .menu-text {
    font-size: 10px;
    }
}
