/** NAV  **/

nav {
  height: 65px;
  width: 60px;
  float: right;
  margin: 0 0 0px 0px;
    z-index: 100000;	
    right: 0;
}

nav ul {
  padding: 0;
  list-style-type: none;
  
}


nav li {
border-bottom: 0px solid #dddddd;
}



/** TOGGLE BUTTON **/

#menuToggle {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 25px;
  left: 31px;
  z-index: 100000;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: flex;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 200000;
}


/** TOGGLE BUTTON TRANSFORMING **/
#menuToggle span
{
  display: flex;
  width: 29px;
  height: 2px;
  margin-bottom: 5px;
  position: relative;
  background: #ffffff;
  border-radius: 3px;
  z-index: 100;
  transform-origin: 5px 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%;
}

#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-3px, -1px);
  background: #36383F;
}
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}


/** MENU SLIDER **/

#menu
{
text-align: right;
  position: absolute;
  width: 300px;
  box-shadow: 0 0 10px #85888C;
  margin: -50px 0 0 -310px;
  padding: 30px 30px 50px 30px;
  padding-top: 100px;
  background-color: #F5F6FA;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(400%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);

}

#menu li
{
  padding: 10px 0;
  transition-delay: 2s;

}

#menuToggle input:checked ~ ul
{
  transform: none;
}




