﻿body {
  transition: background-color .5s;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  background-color: #363833;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }

    /*.sidenav a:hover {
      color: #f1f1f1;
    }*/

  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }

  .navbar {
    overflow: hidden;
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
  }

  .nav_link{
    font-family:'PT Sans';
    letter-spacing:3px;
    font-size:20pt !important;
  }

  .sidenav h4 > a {
    position: relative;
    text-decoration: none;
    text-align: left !important;
    font-size: 25pt;
    color: white !important;
    font-family: 'PT Sans' !important;
  }

.sidenav h4 > a:hover {
  color: #77777A !important;
}

.sidenav h4 > a:before {
  content: "";
  position: absolute;
  margin-left:5%;
  margin-right:5%;
  width: 80%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #77BC1F;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.sidenav h4 > a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.hamburger {
  color: white;
  font-size: 30px;
  cursor: pointer;
  float: right
}

#main {
  transition: margin-right .5s;
  padding: 16px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

    .sidenav a {
      font-size: 18px;
    }
}
