/* Réinitialisation des styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style de la barre de navigation */
nav {
    background-color: bisque;
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 60px;
    height: 60px;
    width: 97%;
    border-radius: 50px 50px;
    z-index: 1000;
    position: fixed;
    opacity: 100%;
}


nav  li    {
    display: inline-block;
    margin-right: 50px;
    position: relative; /* Ajoutez une position relative pour les catégories */
}

nav  li a {
    text-decoration: none;/*supprime les barre par defaut*/
    color: black;
    transition: color 0.7s ease; /* Transition pour le changement de couleur au survol */
}

/* Barre animée en dessous de chaque catégorie */
nav  li::after {
    content: "";
    position: absolute;
    bottom: -4px; /* Ajustez la position verticale de la barre */
    left: 50%; /* Position au centre */
    transform: translateX(-50%); /* Centrage horizontal */
    width: 0;/* Commence à 0 */
    height: 2px; /* Hauteur de la barre */
    background-color: white; /* Couleur de la barre */
    transition: width 0.7s ease; /* Transition pour l'animation de la barre */
}

/* Effet de survol */
nav li:hover a {
    color: white; /* Couleur au survol */
}

/* Animation de la barre au survol */
nav li:hover::after {
    width: 100%; /* La barre s'étend jusqu'à la largeur complète */
}

nav .imgl::after{
    background-color: transparent;
}


@media screen and (max-width:900px){
   nav{
        background-color: bisque;
        justify-content:space-between;
        margin-left: 0px;
        margin-right:0px;
        bottom:0px;
        height: 50px;
        width: 100%;
        border-radius: 0px;
        z-index: 1000;
        position: fixed;
        opacity: 100%;  
    } 

    nav li a{
        color: transparent;
    }
    
    nav li:hover a {
        color:transparent;
    }

    .nav1 .lilg::after{
        background-color: transparent;
    }

    nav li{ 
        margin-right:13%;
        padding-top: 5px;
    }

    .nav1{
        background-color: bisque;
        width: 100%;
        height: 40px;
        text-align: center;
        top:-20px;
        display:inline-block;  
    } 

    .pnb{
        display: none;
    }
   
    .imgl{
        text-indent: -9999px;
    }
    
    img{
        width: 0;
        height: 0;
    }

    footer{
        margin-bottom:50px;
    }
    .li2{
        display: inline-block;
        margin-left:60%;
    }

    .lg{
        z-index: 200;
        width: 25px;
        height: 25px;
        position: center;
    }
   
    .lilg{
        padding-top: 0px;
        color: #8a2be2;
        font-weight:bold ;
    }
       

    .div{
        margin-top:12vh;  
    }

    h1{
        margin-left: 20%;
        margin-right: 20%;
    }

    iframe{
        width: 100%;
        height: 500px;
        margin-right: -8%;
        margin-top: 50px;
    }
        
    .div2{
        margin-left: 8%;
        margin-right: 8%;
    }

    h1{
        margin-bottom: 10px;
        margin-top: 60px;
    }

    .div1 {
        display: none;
    }

    .div4{
        display: none;
    }
    
   .div6{
        margin-left: 15%;
        margin-right: 15%;
        margin-bottom: 10px;
        padding: 15px 15px 15px 15px;
    }

    footer{
        margin-top:15px;
    }

}

@media screen and (min-width:901px){

    .nav1{
        background-color: bisque;
        width: 100%;
        height: 40px;
        text-align: center;
        top:0;
        display:none;
    } 

    nav{
         top:0;
    }

    .div5 {
        display: none;
    }

    .div4{
        display: none;
    }

    iframe{
        position:absolute;
    }

    .pinb{
        display: none;
    }
}

@media screen and (max-width:450px) {

    nav{
        height: 45px;
    }
 
    .pinb{
     height: 29px;
     width: 29px;
    }
        
    nav li{
        margin-right: 10.8% ;
        padding-top: 5px;
    }

}

iframe{
    
    
    margin-top: 50px;
    right: 8%;
    padding: 3% 3% 3% 3%;
    background-color: white;
    border-radius:50px 50px 50px 50px;
}


