
/*MENU*/

#menu{
z-index: 51;
position: fixed;
top: 0;
left: 0;
width: 300px;
height: 100%;
transition:.5s;
transform: translate3d(-200px, 0, 0);
background-color: white;
}

#check:checked ~ #menu{
transform: translate3d(0, 0, 0);
transition: .5s;
}

  #logo{
  clear: both;
  width: 200px; 
  height:100px;
  margin-left: 100px;
  display: flex;
  justify-content: right;
  align-items: center;
  z-index:52;
  transition: .5s;  
  }

  #navigation{
  height: auto;
  width: 100%;
  }

    /*Logo*/

    #check:checked ~ #menu #logo div{
    height: 100%;
    background-image: url(../images/icon/logo.png);
    aspect-ratio: 1/1;
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    }

    /*navigation*/
    
    #liens{
    width: 300px; 
    height: auto;
    }

      nav{
      display: flex; 
      justify-content: left;
      flex-direction:column; 
      }

        nav a{
        display: flex;
        align-items: center;
        transform: translate3d(200px, 0, 0);   
        height: 60px;
        width: 60px;
        margin: 20px;
        border: solid #E6E6E6 2px;
        border-radius: 150px;
        text-decoration:none;
        transition: .5s;
        background-color: white;
        transform-style: preserve-3d;
        }

          nav a:hover{
          border: solid #1F2226 2px;
          transition: .2s;   
          }

          nav a:hover::before{
          content: '';
          position: absolute;
          border-radius: 40px;
          background: linear-gradient(45deg,#83a1ff,#0e51d8, #173acc, #0e51d8, #83a1ff);
          background-size: 400%;
          width: calc(100% + 4px);
          height: calc(100% + 4px);
          left: -2px;
          top: -2px;
          filter: blur(10px);
          transform: translateZ(-1px);
          animation: light 20s linear infinite;   
          }
         
          nav a h1{
          border-radius: 150px;
          width: 100%;
          height: 100%;          
          display: flex;
          align-items: center;
          white-space:nowrap;
          overflow: hidden;
          padding-left: 60px ;
          }
  
          nav a img{
          left: 0;
          position: absolute;
          right: 20px;
          width: 60px;
          aspect-ratio: 1/1;
          transition: .5s;
          }
  
          #check:checked ~ #menu #navigation #liens nav a{
          transform: translate3d(0, 0, 0);
          width: 260px;
          transition: .5s;
          }
  


          #check:checked ~ #menu #navigation #liens nav a img  {
          transform: translate3d(0, 0, 0);
          transition: .5s;
          }


        

    #copy{
    position: fixed;
    align-items: center;
    width: 100%;
    height: 50px;
    bottom: 0;
    display: none;
    }
    
    #copy p{
    z-index: 53;
    margin-left: 2vw;
    }

    #copy a{
    color: #0E51D8; 
    text-decoration: underline;
    }

    #check:checked ~ #menu #navigation #copy{
    display: flex;
    }


@media only screen and (max-width: 1200px) {
 
#menu{
width: 100vw;
height: 100vh;
transform: translate3d(-100vw, 0, 0);
transition: .5s;
}

#check:checked ~ #menu{
transform: translate3d(0, 0, 0);
transition: .5s;
}

#check:checked ~ #menu #navigation #liens nav a{
width: calc(100vw - 40px);
}


#logo{
height:100px;

}

#logo div{
display: none;
}
  
  

#navigation{
width: 100vw;
}
    
  #liens{
  width: 100%; 
  height: 90vh;
  }

    nav a p{
    margin-left: 20px;
    } 
    

    #copy{
    height: 30px;
    top: calc(100vh - 100px);
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    }



}
  
 


  
      
      

