/*------------------------Global--------------------------------*/
body {
    margin: 0;
    padding: 0;
}


/*------------------------menu--------------------------------*/
.menu {
    background-color: rgb(25,25,25);
    height: 100px;
    font-family: 'Chau Philomene One', sans-serif;
}

/*------------------------Niveau 0--------------------------------*/
.nav_niv0 {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    width: 60vw;
    height: 100px;
    margin: 0 20vw;
    padding:0;
    place-items: center;
    list-style: none;
}
.nav_niv0 > li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}
/*------------------------Niveau 1--------------------------------*/
.nav_niv1 {
    display: block;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 100px;
    color: white;
}
.nav_niv1 > li {
    list-style: none;
    font-size: 1.5em;
    transition-duration: 200ms;
    transition-property: all;
}
.nav_niv0 > li:first-child:hover, .nav_niv0 > li:last-child:hover {
    background-color: rgb(40,40,40);
    letter-spacing: 0.5em;
    transition-duration: 200ms;
    transition-property: all;
}
/*------------------------Niveau 2--------------------------------*/
.nav_niv2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    position: absolute;
    top: 100;
    left: -100vw;
    padding: 0;
    line-height: 70px;
    width: 60vw;
    height: 50px;
    transition-duration: 350ms;
    transition-property: all;
    z-index: 900;
}
.nav_niv2 li {
    letter-spacing: 0;
    background-color: rgb(40,40,40);
}
.nav_niv2 li a {
    text-decoration: none;
    display:block;
    color: white;
    width: 100%;
    height: 100%;
    font-size: 0.7em;
    transition-duration: 200ms;
    transition-property: all;
}
.nav_niv1:hover .nav_niv2 {
    top: 100px;
    left: 20vw;
    transition-duration: 350ms;
    transition-property: all;
}
.nav_niv2 li a:hover {
    background-color: rgb(65,65,65);
    letter-spacing: 0.5em;
    transition-duration: 200ms;
    transition-property: all;
}
.nav_niv1 > li > a > img{
    height: 80px;
    margin: 10px 0;
    padding:0;
}
.nav_niv0 > li:nth-child(2n) ul li {
    line-height: 0;
    padding:0;
    margin:0;
}





/*------------------------Mobile--------------------------------*/
@media screen and (max-width: 1250px) and (orientation: portrait){
  .nav_niv0 {
      grid-template-columns: repeat(2, 1fr);
      width: 100vw;
       margin: 0;
  }
  .menu {
      height: 150px;
  }
  .nav_niv1 {
      line-height: 50px;
  }
  .nav_niv2 {
      width: 100vw;
      height: 50px;
      line-height: 50px;
  }
  .nav_niv1:hover .nav_niv2 {
      top: 150px;
      left: 0;
  }
  .nav_niv0 > li ul li {
      height: 50px;
      width: 100%;
  }
  .nav_niv0 > li:nth-child(2n) {
      order: -5;
      height: 100px;
      grid-column: 1 / -1;
  }

}



/* Footer */

.footer-dark {
    padding:50px 0;
    color:#f0f9ff;
    background-color:#282d32;
  }
  
  .footer-dark h3 {
    margin-top:0;
    margin-bottom:12px;
    font-weight:bold;
    font-size:16px;
  }
  
  .footer-dark ul {
    padding:0;
    list-style:none;
    line-height:1.6;
    font-size:14px;
    margin-bottom:0;
  }
  
  .footer-dark ul a {
    color:inherit;
    text-decoration:none;
    opacity:0.6;
  }
  
  .footer-dark ul a:hover {
    opacity:0.2;
  }
  
  @media (max-width:767px) {
    .footer-dark .item.social{
      text-align:center;
      padding-bottom:20px;
    }
  }
  
  .footer-dark .item.text {
    margin-bottom:36px;
  }
  
  @media (max-width:767px) {
    .footer-dark .item.text {
      margin-bottom:0;
    }
  }
  
  .footer-dark .item.text p {
    opacity:0.6;
    margin-bottom:0;
  }
  
  .footer-dark .item.social {
    text-align:center;
  }
  
  @media (max-width:991px) {
    .footer-dark .item.social {
      text-align:center;
      margin-top:20px;
    }
  }

  .footer-dark .copyright {
    text-align:center;
    padding-top:24px;
    opacity:0.3;
    font-size:13px;
    margin-bottom:0;
  }

  /* Fin du Footer */


