.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #E0E0E0;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 10px;
}

.sidenav a {
  font-family: arial, sans-serif, helvetica;
  padding: 1px 8px 1px 24px;
  text-decoration: none;
  font-size: 100%;
  color: blue;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: red;
}

.sidenav .closebtn {
  top: 5px;
  bottom: 5px;
  left: 15px;
  font-size: 20px;
  margin-left: 20px;
  color: green;
  font-weight: bold;
  margin-bottom: 10px
}

#main {
  transition: margin-left .5s;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 100%;}
}
