#menu img {
  width: 40%;
  margin-top: 5px;
  margin-bottom: 5px;
}

#menu {
  height: 100%;
  overflow: hidden;
}

.head {
  margin-bottom: 10px;
}

#drawer-toggle {
  position: absolute;
  opacity: 0;
}

#drawer-toggle-label {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  left: 0px;
  height: 50px;
  width: 50px;
  display: block;
  position: absolute;
  background: rgba(255,255,255,.0);
}

#drawer-toggle-label:before {
  content: '';
  display: block;
  position: absolute;
  height: 2px;
  width: 25px;
  background: #898989;
  left: 20px;
  top: 18px;
  box-shadow: 0 6px 0 #8d8d8d, 0 12px 0 #8d8d8d;
}

#drawer {
  position: fixed;
  top: 0;
  left: -300px;
  height: 100%;
  width: 300px;
  background: #f1f1f1;
  /*overflow-x: hidden;*/
  /*overflow-y: scroll;*/
  /*padding: 20px;*/
  color: #818181;
  -webkit-overflow-scrolling: touch;
}

#page-content {
  margin-left: 0px;
  margin-top: 5px;
  width: 100%;
  height: calc(100% - 50px);
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 20px;
}

/* checked styles (menu open state) */

#drawer-toggle:checked ~ #drawer-toggle-label {
  height: 100%;
  width: calc(100% - 300px);
  background: rgba(255,255,255,.8);
}

#drawer-toggle:checked ~ #drawer-toggle-label, #drawer-toggle:checked ~ header {
  left: 300px;
}

#drawer-toggle:checked ~ #drawer {
  left: 0px;
  z-index: 99;
}

#drawer-toggle:checked ~ #page-content {
  margin-left: 300px;
}

/* Menu item styles */

#drawer ul {
  list-style-type: none;
}

#drawer ul a {
  display: block;
  padding-bottom: 10px;
  color: #707070;
  text-decoration: none;
}

#drawer ul a:hover {
  color: rgb(47,47,47);
}

/* Responsive MQ */

@media all and (max-width:350px) {
  #drawer-toggle:checked ~ #drawer-toggle-label {
    height: 100%;
    width: 50px;
  }
}

@media all and (max-width:350px) {
  #drawer-toggle:checked ~ #drawer-toggle-label, #drawer-toggle:checked ~ header {
    left: calc(100% - 50px);
  }
}

@media all and (max-width:350px) {
  #drawer-toggle:checked ~ #drawer {
    width: calc(100% - 50px);
    padding: 20px;
  }
}

@media all and (max-width:350px) {
  #drawer-toggle:checked ~ #page-content {
    margin-left: calc(100% - 50px);
  }
}

