
.openbtn {
  font-size: 10px;
  cursor: pointer;
  background-color: #dc3545;
  color: white;
  padding: 8px 10px;
  border: none;
  display: none; /* Initially hide the button */
}

  .closebtn {
    display: none; /* Show the button for smaller screens */
  }




/* On smaller screens, show the toggle button and adjust styles */
@media screen and (max-width: 600px) {
  .openbtn {
    display: block; /* Show the button for smaller screens */
  }
  
  
.sidebar2 a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  /*font-size: 25px;*/
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebar2 a:hover {
  color: #f1f1f1;
}

.openbtn:hover {
  background-color: #444;
}


#main {
  transition: margin-left .5s;
  padding: 16px;
}
  
  .sidebar2 .closebtn {
  position: absolute;
  top: -5;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

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

  .sidebar2 {padding-top: 15px;}
  .sidebar2 a {font-size: 18px;}
}