<style>
.sidenav {
  height: 100%;
  width: 350px; /* Adjusted width */
  position: fixed;
  top: 20%;
  left: 0;
background-color: #bb0000;
    background-position: center; /* Centers the image within the element */
  box-shadow: rgb(0, 0, 0) 2.4px 2.4px 3.2px;
  padding-top: 0; /* Space for the topnav */
  z-index: 1000; /* Higher z-index to ensure it overlays */
}

.sidenav2 {
  width: 350px; /* Adjusted width */
  position: fixed;
  z-index: 1000; /* Higher z-index to ensure it overlays */
  top: 0;
  left: 0;
  height: 100vh; /* Full height of the viewport */
  box-shadow: rgb(0, 0, 0) 2.4px 2.4px 3.2px;
}

.sidenav2 img {
  width: 100%;
  height: 20%;
  scale: 0.7;
  object-fit: cover; /* Ensure the image covers the whole container */
  margin: 0;
  z-index: 1; /* Lower z-index compared to .sidenav2 */
}

.side_nav_cont {
    margin-top: 20px;
}

.side_nav_cont a {
    margin: auto;
    margin-bottom: 4px;
    border-radius: 6px;
    text-decoration: none;
    padding: 8px;
    font-size: 1.1 rem;
    color: #ffffff;
    display: block;
    transition: 0.5s;
    width: 80%;
}

.side_nav_cont img{
  width:25px; 
  height:25px;
  vertical-align:middle
}

.side_nav_cont span{
  vertical-align:middle
}

.side_nav_cont a:hover {
  color: #ffffff;
  font-size: 1.2rem;

  img{
      scale: 1.2;
  }

}

.mainnav .no-style {
  color: inherit; /* Use the parent color */
  text-decoration: none; /* Remove underline */
}


.mainnav a:hover {
  background-color: #6d0000;

}


.dropside {
    position: relative;
}

.dropside-content {
    display: none; /* Hidden by default */
    position: absolute;
    left: 100%; /* Position to the right of the button */
    top: 0; /* Align to the top of the button */
    width: 300px; /* Adjust width as needed */
    min-height: 100px;
    max-height: 490px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    border-radius: 8px;
    z-index: 1000; /* Ensure it overlays above other elements */
}

.dropside:hover .dropside-content {
    display: block; /* Show on hover */
}

.dropside-content a {
    color: rgb(255, 0, 0);
    background-color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
}

.dropside-content a:hover {
  color: #ffffff;
    background-color: #ff0000;
    font-size: 1.0rem;
}

.dropside-content.upside {
    top: auto;
    bottom: 0;
}



</style>