/* Navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    padding-top: 10px;
    height: 200px;
}

.navbar .logo {
    height: 100px;
}

.navbar .icon {
    display: none; /* Default: hidden */
    cursor: pointer;
}

.navbar .sidebar {
    position: fixed;
    top: 0;
    right: -300px; 
    width: 250px;
    height: 100%;
    background-color: #007bff;
    color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: 0.5s; /* Smooth slide-in effect */
    z-index: 2;
}

.navbar .sidebar .closebtn {
    align-self: flex-end;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 20px;
}
.navbar .sidebar .closebtn:hover{
    color: #ff2d2d;
    transition:0.5s ;
}

.navbar .sidebar button {
    margin: 10px 0;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #fff;
    color: #007bff;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}


button:hover {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Show burger menu on smaller screens */
@media screen and (max-width: 1705px) {
    .navbar .buttons {
        display: none; /* Hide default buttons */
    }

    .navbar .icon {
        display: block; /* Show burger icon */
    }
}

/* Active sidebar */
.sidebar.active {
    right: 0; /* Slide in */
}
