body {
    background-color: black;
    margin: 0%;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}
/*transition du menu*/
.transition {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 2s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100vw;
    background-color: #242526;
    margin: 0%;
}

.menu li {
    width: 15vh;
    font-size: 24px;
    height: fit-content;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f4EB49;
    align-items: center;
    justify-content: space-around;
    font-weight: bold;

}

.menu li:hover {
    transition-duration: 0.4s;
    border-radius: 10px;
    background-color: #3b3c3d;
}

.menu li a:hover {
    color: #E93578;
}

a {
    color: #f4EB49;
}

#active {
    width: 15vh;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #E93578;
}

.titrePrincipale pre {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 90px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.titreJaune {
    color: #f4EB49;
}

.titreRose {
    color: #E93578;
}

.produit {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.produit div {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #3b3c3d;

}

.nomProduit {

    color: #f4EB49;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.tailleProduit {
    color: #E93578;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.descriptionProduit {
    font-size: 18pt;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: justify;
    padding-top: 20px;
    padding-left: 130px;
    padding-right: 130px;
}

.ligne {
    background-color: #E93578;
    border: none;
    height: 2px;
    margin-top: 100px;
    margin-bottom: 100px;
    width: 80%;
}

.bouton a {

    width: 15vh;
    height: fit-content;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f4EB49;
    justify-content: center;
    border-radius: 10%;
    border: 2px solid #f4EB49;
    background-color: #ec82b3;
    margin-bottom: 50px;
    margin-top: 50px;
}

div {
    display: flex;
    justify-content: center;
}

.bouton a:hover {
    transition-duration: 0.3s;
    width: 15vh;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f4EB49;
    align-items: center;
    justify-content: space-around;
    border-radius: 10%;
    border: 2px solid #f4EB49;
    background-color: rgb(228, 100, 228);
    transform: translateX(-5px);
    /* se deplace de -5 pixel en axe x*/
    transform: translateY(5px);
    /* se deplace de 5 pixel en axe ^y*/
    box-shadow: rgba(240, 46, 170, 0.4) 5px 5px, rgba(240, 46, 170, 0.3) 10px 10px, rgba(240, 46, 170, 0.2) 15px 15px, rgba(240, 46, 170, 0.1) 20px 20px, rgba(240, 46, 170, 0.05) 25px 25px;
    /* ligne de code prise https://getcssscan.com/css-box-shadow-examples.*/
}

.imageProduit{
    position: relative; /*superpose les images */
    height: 200px; /* Ajuste à la taille de tes images */
    overflow: hidden; /* Masque les débordements */ 
}

.imageDerriere {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease; /* Animation fluide */
  }
  
  /* Afficher l'image au survol */
  .imageProduit:hover .imageDerriere {
    opacity: 1; /* Rend visible l'image au survol */
  }
  
  .imageProduit:hover .imageDevant {
    opacity: 0; /* Cache l'image normale */
  }
  /*médiaquerie*/
  @media screen and (max-width: 1100px){
    .menu {
        display: flex;
        flex-direction: column;
        align-items: center;

    }
    .menuImage{
        display: flex;
        flex-direction: column;
    }
    .produit{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
  