body {
    font-family: "Lato", sans-serif;
  }
  
  .sidenav {
    width: 500px;
    position: fixed;
    z-index: 1;
    right: -450px;
    top: 40%;
    padding: 8px 0;
  }
  .emptyspacenav{
      height: 10px;
  }
  .sidenav a span {
    margin-left: 50px;
    background: #99cc99;
    width: 200px;
    text-align: center;
}


.wave1 {
  animation-name: waveanim;
  animation-duration: 3s;
  animation-fill-mode:none;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}
.wave2 {
  animation-name: waveanim;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 1.1s;
}
.wave3 {
  animation-name: waveanim;
  animation-duration: 3s;
  animation-iteration-count:infinite;
  animation-delay: 1.2s;
}
@keyframes waveanim {
  0%   {margin-left: 0px;}
  20%  {margin-left: -20px;}
  40% {margin-left: 0px;}
  100% {margin-left: 0px;}
}
.sideitem:hover{
  margin-left: -200px ;
  transition: all .65s ease ;
}
.maskspan{ width: 100%; }
.sideitem:hover .maskspan{
  margin-left: -230px ;
  transition: all .65s ease ;
  display:block;
    top:-2px;
    left: -2px;   
}
  .sidenav a {
    background: #99cc99;
    color: #000b4f;
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    display: block;
  }
  
  .sidenav a:hover {
    color: white;
  }
  
  .main {
    margin-left: 140px; /* Same width as the sidebar + left position in px */
    font-size: 28px; /* Increased text to enable scrolling */
    padding: 0px 10px;
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }