.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.navbar h1 {
    margin: 10px 230px;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0px 25px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.toggle-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.toggle-button div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    border-radius: 2px;
}

.side-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-nav a {
    padding: 15px 20px;
    text-decoration: none;
    font-size: 1.1rem;
    color: #333;
    display: block;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.side-nav a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
}

.side-nav.open {
    left: 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    text-decoration: none;
    cursor: pointer;
}

.close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}



@media (max-width: 768px) {
    .navbar h1 {
        margin: 0;
    }

    .nav-links {
        display: none;
    }

    .toggle-button {
        display: flex;
    }
}