#content {
    width: 100%;
    height: 100vh;
    position: absolute;
}

#sidebar {
    width: 500px;
    position: fixed;
    top: 0;
    left: -500px;
    height: 100vh;
    z-index: 4;
    background: #444444;
    color: #fff;
    transition: all 0.3s;
    overflow: auto;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #333333;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #ffffff;
}

#dismiss:hover img {
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 3;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 20px;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

:focus {
    outline: none;
}

/* width */
#sidebar::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
#sidebar::-webkit-scrollbar-track {
    background: #444444; 
    border-radius: 10px;
  }
   
/* Handle */
#sidebar::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 10px;
  }
  
/* Handle on hover */
#sidebar::-webkit-scrollbar-thumb:hover {
    background: #555; 
}
