
#menuToggle
{
  display: block;
  margin:0;
  position: relative;
  top: -220px;
  padding-left: 32px;
  height:180px;
  padding-top:50px;
  width:40%;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
  margin-bottom:-200px;

}

#menuToggle a
{
  text-decoration: none;
  color: #696969;
  transition: color 0.3s ease;
  
}

#menuToggle a:hover
{
  color: lightgrey;
}


#menuToggle input
{
  display: block;
  width: 75px;
  height: 40px;
  position: absolute;
  top: 40px;
  left: 20px;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 60px;
  height: 5px;
  margin-bottom: 10px;
  position: relative;
  background: black;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
  opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-6px, -3px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(-1px, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
 
 
 
 
 
 
#menu
{
  text-align:center;  
  width: 272%;
  height:600px;
  margin: 30px 0 0 -40px;
  padding: 50px;
  background: white;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}




#menu li
{
  padding: 40px 0 0 10px;
  font-size: 50px;
  color:black;
  font-family:graphik_light;

}



/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;

}









@media (min-device-width: 480px){
    
    
#menuToggle
{
  display: block;
  margin:0;
  position: relative;
  top: -220px;
  padding-left: 32px;
  height:180px;
  padding-top:50px;
  width:40%;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
  margin-bottom:-200px;

}

#menuToggle a
{
  text-decoration: none;
  color: #696969;
  transition: color 0.3s ease;
  
}

#menuToggle a:hover
{
  color: lightgrey;
}


#menuToggle input
{
  display: block;
  width: 75px;
  height: 40px;
  position: absolute;
  top: 40px;
  left: 20px;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  display:none;
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 60px;
  height: 5px;
  margin-bottom: 10px;
  position: relative;
  background: black;
  display:none;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
  opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-6px, -3px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(-1px, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
 
 
#menu
{
      position:relative;  
      display:flex;
      flex-wrap:wrap;
      justify-content: space-between;
      width: 775px;
      height:auto;
      padding: 0px;
      margin: 130px 0 0 55px;
      background: none;
      list-style-type: none;
      -webkit-font-smoothing: antialiased;
      transform-origin: 0% 0%;
      transform: translate(0%, 0);
      transition: none;
}

#menu li
{
  
  align-items: center;
  font-size: 16px;
  color:#696969;
  font-family:graphik_light;
}



/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}
    
    
    
    
}