
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #2f2f2f; ;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 20px;
  }
  
  .sidenav a, .dropdown-btn {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 15px;
    color: #818181;
   
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
  }
  
  
  .sidenav a:hover, .dropdown-btn:hover {
    color: #f1f1f1;
    background: none;
  }
  
  .sidenav .closebtn {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 15px;
    margin-left: 50px;
    color: #818181;
  }

  .closebtn{
    font-size: 25px;
  }



  /* Add an active class to the active dropdown button */
  .active {
    /* background-color: green; */
    color: white;
    background: none;
  }
  
  /* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
  .dropdown-container {
    display: none;
    background-color: #262626;
    padding-left: 8px;
  }
  
  /* Optional: Style the caret down icon */
  .fa-caret-down {
    float: right;
    padding-right: 8px;
  }
  
  /* Some media queries for responsiveness */
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }

  .naviPiiloon {
    display: none;
  }

  .naviEsiin {
    display: list-item;
  }

  .valikkoEsiin {
    display: block;
  }
  
  
  #main {
    transition: margin-left .5s;
    padding: 16px;
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }


  
  .sidenav .start {
    
    font-size:1.3rem;
    color:black ;
    background: var(--button-bg-color);
    border: 1px solid transparent;
    border-radius: 4px;
    width:60%;
    font-size:1.3rem !important; 
    box-shadow: 0px 1px 10px -5px #000; 
    color: #fff;
  }

  .sidenav .start:hover {
    /* color:black ; */
    background:var(--button-hover-color); 
  }