header{

   display: flex;

   flex-direction: column;

   position: fixed;

   z-index: 9999999999;

 

}

.mail{

    display: flex;

    gap: 1rem ;

    align-items: center;

}

.phone{

    display: flex;

    gap: 1rem;

    align-items: center;

    justify-content: center;



}

.navBar{

    margin: 0;

    position: fixed; /* Fixe le header en haut */

    left: 0;

    top: 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background-color: #9BCDC6;

    width: 100%;

    height: 4rem;

    padding: 3rem 0rem;

}

.social{

    position: fixed;

    width: 100vw;

    display: flex;

    justify-content: space-around;

    background-color: var(--primary-color);

    align-items: center ;

    color: white;

    padding: 0.7rem;

    z-index: 999999 !important;

}

.reseaux{

    display: flex;

    gap: 0.5rem;

    margin-right: 2rem;

}

.social p {

text-align: center !important;

margin-bottom: 0;

}

.social img{

    width: 20px;

    height: 20px

}

body.admin-bar header {

    position: fixed; /* Fixe le header en haut */

    top: 32px; /* Hauteur de la barre admin */

    z-index: 999999999;

  }

.logoEcologica{

    width: 120px;

    max-width:200px ;

}

.candidateBTN{

    padding: 0.5rem 1rem;

    background-color: #FE7F2D;

    border: none;

    border-radius: 15px;

    color: white;

    font-weight: 600;

    margin-left: 2rem;

    cursor: pointer;

    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.358);

}

.candidateBTN:hover{

    background-color: rgb(35, 61, 77);

    color: white;



}

.plaquetteBTN{

    padding: 0.5rem 1rem;

    background-color: rgb(35, 61, 77);

    border: none;

    border-radius: 15px;

    color: white;

    font-weight: 600;

    margin-left: 2rem;

    cursor: pointer;

    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.358);

}

.plaquetteBTN:hover{

    background-color: #9BCDC6;

    color:rgb(35, 61, 77) ;

}

/* Style de base du menu */

    .logoEcologica{

        margin-left: 100px;

    }

    nav{

        margin-right: 100px;

        display: flex;

        align-items: center;

        z-index: 9999;

    

    }

    .nav-menu {

        list-style: none;

        display: flex;

        justify-content: center;

        align-items: center;

        gap: 20px;

        padding: 0;

        position: relative;

    }

    .dropdown-icon{

        font-size: 10px;

    }

    .nav-menu li {

        position: relative;

    }

    

    /* Cacher les sous-menus par défaut */

    .nav-menu .sub-menu {

        list-style: none;

        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        background: #9BCDC6;

        text-decoration: none;

        padding: 10px 0;

        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

    }

    .nav-menu a:hover{

        background: #7aa5a0;

        color: white;

    }

    

    /* Afficher le sous-menu quand on survole le parent */

    .nav-menu li:hover > .sub-menu {

        display: block;

    }

    

    /* Style des liens */

    .nav-menu a {

        text-decoration: none;

        color: rgb(35, 61, 77);

        font-weight: bold;

        padding: 10px;

        display: block;

    }

    .FormationProMenu{

        background-color: white;

        color: var(--primary-color);

        margin-bottom: -1rem;

    }

    /* Style des sous-menus */

    .nav-menu .sub-menu li {

        white-space: nowrap;

        padding: 5px 15px;

    }

    .menu-toggle {

        display: none;

        background: none;

        border: none;

        font-size: 30px;

        cursor: pointer;

        color: rgb(35, 61, 77);

    }

    











/* Menu Mobile */

@media (width < 1000px){

 

    html{

        overflow-X :hidden;

        width: 100vw;

    }

     header{

        height: 6rem;

        max-width : 100%;

        position:fixed;

        overflow :hidden;

        



     }

    nav {

        position: relative;

        margin-right: 2rem;

    }

.social{

    display: none;

}



.navBar{

    position: fixed; /* Fixe le header en haut */

    left: 0;

    top: 0px;

    display: flex;

    align-items: center;

    justify-content: space-around;

    background-color: #9BCDC6;

    height: 6rem;

    z-index: 999999;

}



    /* Afficher le bouton burger en mobile */

    .menu-toggle {

        display: block;

        position: absolute;

        z-index: 1000;

        right: 1rem;

        font-size: 3rem;

    }

    .logoEcologica{

        margin-left: 0rem;

        width: 120px;

    }

    

    .menu-parent{

        margin-bottom:-5rem !important;

    }

    /* Cacher le menu par défaut en mobile */

    .nav-menu {

        display: none;

        flex-direction: column;

        position: absolute;

        top:80px;

        right: 20px;

        height: auto;

        width:100vw;

        max-width:100vw;

        background: white;

        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

        font-size: 0.5rem;

        z-index:9;

    }

.sub-menu li{

    margin-bottom: 5rem;

    }

.nav-menu li>* {

    font-size: 1.5rem;

}

.nav-menu .sub-menu li{

    font-size: 0.5rem !important;



}

.nav-menu .sub-menu{

    position: absolute;

    left: 300px;

    top: 100px;

    margin-left: -20rem;

    background-color: #9BCDC6;

    text-align: center;

    z-index: 999999999;



}

    /* Afficher le menu quand il est activé */

    .nav-menu.active {

        display: flex;

    }

     /* Style des sous-menus */

     .nav-menu .sub-menu li {

        white-space: wrap;

        padding: 5px 5px;

        z-index: 999999;

        font-size: 1rem;

        background-color: #9BCDC6;

        align-items: start;

    }

         .nav-menu .sub-menu li a {

    

        margin-bottom: -6rem;

    }

    .candidateHeader{

        margin-right: 6rem;

        width:120px;

        height: 40px;

        font-size: 1rem;

        text-align:center;

    }

 

/* CSS DU FOOTER  */



.site-footer{

    background-color: var(--primary-color);

    color: white;

    padding-bottom: 2rem;

    width: 100vw;



}

.footer-widget{

    display: flex;

    flex-direction:column;

    justify-content: center;

    align-items:center;

}

.footerPart1{

    display: flex;

    justify-content: space-between;

    width: 100vw;

    margin-top: 2rem;



}

.greenPastille img{

    border-radius: 5px ;

    margin-bottom: 1rem;

}

    

}







/* CSS DU FOOTER  */



.site-footer{

    background-color: var(--primary-color);

    color: white;

    padding-bottom: 2rem;

    width: 100% ;



}

.footer-widget{

    display: flex;

    justify-content: center;

}

.footerPart1{

    display: flex;

    justify-content: space-between;

    width: 100vw;

    margin-top: 2rem;



}

.greenPastille img{

    border-radius: 5px ;

    margin-bottom: 1rem;

}