#menuToggle input
{
  width: 40px;
  height: 32px;
  position: absolute;
  top: 5px;
  left: 5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 501; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

@media screen and (max-width: 836px) {
  #menu_top{
    padding: 10px 20px;
    top: 0;
    width: 100%;
    position: fixed;
  }
  #menu_top ul{
    display: flex;
  flex-direction: column;
  }
  #menu_top ul a{
    color: #fff;
  }
  #menu_top ul a:focus{
            color:#5bc6eb;
  }
  #menu_top ul li{
    padding: 10px;
  }
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #cdcdcd;
  border-radius: 3px;

  z-index: 500;

  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% 100%;
}

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

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

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-of-type(3)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0px, -4px);
  background: #fff;
}

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

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu1
{
  position: absolute;
  width: 300px;
  height: 400px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  z-index: 400;
  background: url(img/logo.svg) no-repeat 95% 20%;
  background-size: 87px;
  background-color: #06002d;
  background-blend-mode: luminosity;
  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);
}

#menu1 li
{
  padding: 10px 0;
  font-size: 22px;
}

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