/* Menu qui s'ouvre */

*,
::before,
::after {
  box-sizing: border-box;
}

header{
  display : flex;
  justify-content: space-between;
}

.logo{
  height : 90px;
  position : absolute;
}

.link-accueil{
  width : 15%;
margin : 2%;
}


#menu{
    background: linear-gradient(rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.7));
    height: 100%;
    width: 100%;
    border-radius: 0;
    z-index: 3;
    display : none;
  }
  
.menu-open {
  
    height: 100%;
    width: 100%;
    display: flex!important;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    right: 0;
    margin: 0;
    padding: 0;
    top: 0;
  }

  
  nav > li {
    height : 10%;
    display: none;
  }

  li>a{
    margin: auto;
    color: lightgreen;
    font: 2rem "Roboto", sans-serif;
    font-weight: 700;
    line-height: 1.8;
    text-decoration: none;
    text-transform: none;
    list-style: none;
    outline: 0;
    transition : all ease 0.25s;
  }

  li>a:hover{
    background-color : lightgreen;
    transform : translateY(-10px);
    border-radius : 10px;
    color: #000000;
  }
  
  li {
    width: 400px;
    padding: 0 56px;
    transition: ease-in-out 2s;
    text-align: center;
  }
  
  a:hover {
    display: block;
/*     color: #000000; */
    transition: all .5s;
  }
  
  
  #trigger,
  #burger,
  #burger:before,
  #burger:after {
    position: absolute;
    top: 50px;
    right: 50px;
    background: white;
    width: 30px;
    height: 3px;
    transition: .2s ease;
    cursor: pointer;
    z-index: 5;
  }
  
  #trigger {
    height: 25px;
    background: none;
  }
  
  #burger:before {
    content: " ";
    top: 10px;
    right: 0;
  }
  
  #burger:after {
    content: " ";
    top: 20px;
    right: 0;
  }
  
  #menu-toggle:checked+#trigger+#burger {
    top: 50px;
    transform: rotate(180deg);
    transition: transform .2s ease;
  }
  
  #menu-toggle:checked+#trigger+#burger:before {
    width: 20px;
    top: -2px;
    left: 18px;
    transform: rotate(45deg) translateX(-6px);
    transition: transform .2s ease;
  }
  
  #menu-toggle:checked+#trigger+#burger:after {
    width: 20px;
    top: 2px;
    left: 18px;
    transform: rotate(-45deg) translateX(-6px);
    transition: transform .2s ease;
  }
  
  
  #menu-toggle:checked+#trigger~#menu>li, a {
    display: block;
  }
  
  [type="checkbox"]:not(:checked),
  [type="checkbox"]:checked {
    display: none;
  }

  @media (max-width: 992px){
    .logo{
      height: 85px;
    }
  }

  @media (max-width: 768px){
    .logo{
      height: 75px;
    }
  }

  @media (max-width: 576px){
    .logo{
      height: 65px;
    }
  }