body {
    background-color: #333;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

/* Updated CSS for the responsive navigation bar with smooth animation */
.sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    background-color: #111;
    overflow-y: auto;
    transition: right 0.3s; /* Apply a smooth transition to the right property */
    padding-top: 60px;
    z-index: 1;
}

.nav-link {
    font-weight: bold;
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.nav-link:hover {
    background-color: #555;
}

#menu-icon {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

#close-icon {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
}

#user-icon {
    font-size: 24px; /* Adjust the size as needed */
    color: #fff; /* Change the color to your preferred one */
    position: absolute;
    top: 20px;
    left: 20px; /* Adjust the left position to your preferred location */
    cursor: pointer;
}
