/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 64px; /* Stay at the top */
  right: 0;
  background: rgba(167, 182, 167, 0.9);
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 8px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  z-index: 4;
}

/* The navigation menu links */
.sidenav a {
  padding-top: 16px;
  padding-bottom: 8px;
  padding-left: 2em;
  text-decoration: none;
  display: block;
  transition: 0.3s;
  white-space: nowrap;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left 0.5s;
  padding: 20px;
}

.navbutton {
  width: 30px;
  height: 30px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-right: 24px;
  padding-left: auto;
}

/* remove burger menu button for desktop version */
@media only screen and (min-width: 1080px) {
  .navbutton {
    display: none;
  }

  /* The side navigation menu */
  .sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 120px; /* Stay at the top */
    right: 0;
    background: rgba(167, 182, 167, 0.9);
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  }
}
