

/* NAVIGATION SECONDAIRE */
.secondary{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 1rem;
    background-color: black;
    position: relative;
}
.secondary .nav__link{
    color: white;

}
.secondary .nav__list:hover .nav__link{
    color: #8FA913;
}

/* NAVIGATION PRINCIPALE */

.nav__list {
    height: 100%;
    align-items: center;
    justify-content: center;
    transition: 0.1s;
}

.nav__icon__line {
    display: none !important;
}

  
.nav {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    z-index: 6;
    height: 60px;
    transition: 0.4s ease-out;
    background: #fff;
    padding: 1.5rem 0;
}
  


.nav__link {
    text-decoration: none;
    color: black;
    margin: 0.2rem;
    padding: 1rem 2.5rem;
    font-family: lato;
}

nav .nav__group{
    margin-top: 2rem;
}
  
.nav__group {
    margin-top: 0;
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
    margin-bottom: 0px;
}



  
.nav__icon {
    position: relative;
    padding: 0px 20px;
    cursor: pointer;
    z-index: 1;
}
  
.nav__icon__line {
    display: block;
    position: relative;
    background: #000;
    height: 2px;
    width: 20px;
    border-radius: 4px;
}
  
.nav__icon__line::before,
.nav__icon__line::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 4px;
    background: #000;
    transition: 0.8s ease;
}
  
.nav__icon__line::before {
    transform: translateY(-5px);
}
  
.nav__icon__line::after {
    transform: translateY(5px);
}
  
.nav__btn {
    display: none;
}
  
.nav__btn .scrolled {
      color: #fff;
}
  

.nav__icon__line,
.nav__icon__line::before,
.nav__icon__line::after {
        background: #272727;
}

 
/* MENU DEROULANT */

.nav__hover {
    background-color: #fff;
    display: none;
    list-style: none;
}

.--hover {
    border-bottom: none !important;
  }
  .--hover:hover .nav__hover {
    display: block;
    padding-left: 0;
    margin-top: 1em;
  }

  .--hover:hover>.nav__link {
    background-color: #2C6509;
    color: white;
  }


  .nav__hover .hover__list {
    text-align: left;
    width: max-content;
    padding: 1rem 0;
  }

  .hover__list:hover .nav__link{
      color: #8FA913;
      
  }

  .nav__hover .nav__link {
    margin: 0;
    padding: 0;
    margin-left: 0.5rem;
  }




/* MENU RESPONSIVE */











/* FOOTER */

.footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 3rem;
    background-color: #D7D7D7;
}

.footer .nav__list:hover .nav__link{
    color: #8FA913;
}

@media screen and (max-width: 811px){
    .footer{
        padding: 0;
    }
    .footer .nav__group{
        flex-direction: column;
        align-items: center;
    }
    .footer .nav__group .nav__list{
        margin: 1rem;
    }
    
}