@font-face {
    font-family: PT Sans;
    src: url(fonts/PT_Sans-Web-Regular.ttf) format('truetype');
    font-weight: normal;
	font-style: normal;
}

#menuToggle
{
  position: relative;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

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

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 30px;
  height: 6px;
  margin-bottom: 2px;
  position: relative;
  
  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, 0);
  background-color: #000000 !important;
}

/*
 * 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);
}

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

#menu
{
  text-align: left;
  padding-top: 45px;
  padding-bottom: 15px;
  position: absolute;
  width: 100vw;
  margin: -75px 0px 0px 0px;
  right: -15px;
  background: #ffffff;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform: translate(0, -100%);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  
  border-bottom: 1px solid #e8eff9;
}

#menu li
{
  font-family: PT Sans;
  padding: 10px 0;
  padding-left: 30px;
  font-size: 18px;
  color: black;
  cursor: pointer;
}

#menu a {
 	color: #000000; 
}  

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

@media screen and (max-width: 480px) {
 	 #menu {
    		right: -15px;
     }
}