#sidebar-nav {
    width: 20px;
    background-color: white;
    border-right: 1px solid #ccc;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    padding-top: 20px;
    position: fixed;
    top: 0;
    height: 100vh;
    transition: width 0.3s ease;
    overflow-x: hidden;
    align-items: center;
    z-index: 100;
}

.theme-toggle {
    margin-top: auto;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
    font-size: 0.9rem;
    border: none;
    background-color: #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#sidebar-nav:hover {
    width: 100px;
}

#sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    list-style: none;
}

#sidebar-nav li {
    width: 100%;
    display: flex;
    justify-content: center;
}

#sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 80%;
    padding: 12px 20px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 10px;
}

#sidebar-nav:hover a {
    opacity: 1;
}

#sidebar-nav li:hover a {
    background-color: rgba(0, 0, 0, 0.1);
    color: #007BFF;
}

#MQLogo {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#sidebar-nav:hover #MQLogo {
  opacity: 1;
}