@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300&display=swap');


body {
  font-family: 'Fira Sans', sans-serif;
}

.siderbar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.siderbar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #999999;
  display: block;
  transition: 0.3s;
}

.siderbar a:hover {
  color: #f1f1f1;
}

.siderbar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 26px;
  cursor: pointer;
  color: #999999;
  background-color: black;
  text-decoration: none;
  color: none;
  margin-top: 0px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
 /*@media screen and (max-height: 450px) {
  .siderbar {
    padding-top: 15px;
}
  .siderbar a {
    font-size: 18px;
}
} */

@media screen and (max-width: 550px) {
    .siderbar {
        width: 135px;
    }
    
    .siderbar a {
        font-size: 17px;
    }
}

@media screen and (max-width: 650px) {
    .siderbar {
        width: 210px;
    }
    
    .siderbar a {
        font-size: 20px;
    }
}

@media screen and (min-width: 867px){
    .siderbar, #main {
        display: none;
    }
}