body {
    font-family: 'Manrope', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: white;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
.LoginUser {
    display: flex;
    margin-right: 10%;
    align-items: center;
    flex-direction: row;
    cursor: default;
}
.navbar-left {
    display: flex;
    flex-grow: 1;
    position: relative;
    justify-content: center;
}


    .navbar-left .nav-item {
        margin: 0 15px;
    }

        .navbar-left  a {
            text-decoration: none;
            color: #333;
            width: 100%;
            height: 42px;
            font-weight: 500;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

            .navbar-left  a:hover {
                color: #2d2e2e;
                transform: scale(1.1);
                background-color: rgba(242, 242, 242, 1);
                border-radius: 5px;
            }

            .navbar-left  a img {
                margin-right: 5px;
                transition: all 0.3s ease;
            }

                .navbar-left  a img:hover {
                    transform: scale(1.2);
                }

.navbar-right {
    display: flex;
    justify-content: flex-end;
}

    .navbar-right  {
        margin-left: 20px;
    }

        .navbar-right  a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: all 0.3s ease;
        }

            .navbar-right  a:hover {
                color: #2d2e2e;
                transform: scale(1.1);
                background-color: rgba(242, 242, 242, 1);
                border-radius: 15px;
            }

        .navbar-right    {
            color: #2d2e2e;
            background: none;
            border: none;
            padding: 0.5rem 1rem;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

            .navbar-right > :not(.LoginUser) :hover {
                background-color: #e0e0e0;
                transform: scale(1.05);
                border-radius: 5px;
            }
            .navbar-right a,
            .navbar-right {
                color: #333;
                font-size: 1rem;
                padding: 0.5rem 1rem;
                text-decoration: none;
                background-color: white;
                transition: all 0.3s ease;
                cursor: pointer;
                display: inline-flex;

                align-items: center;
                justify-content: center;
                position: relative;
            }

                .navbar-right > :not(.LoginUser) a:hover,
                .navbar-right > :not(.LoginUser) :hover {
                    background-color: #949799;
                    color: white;
                    transform: scale(1.05);
                    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
                }

            .navbar-right    img,
            .navbar-right  a img {
                margin-right: 8px; 
                width: 20px;
                height: 20px;
            }

        
            .navbar-right  a.active,
            .navbar-right  form.active {
                background-color: #949799; 
                color: white; 
                border: 1px solid #949799; 
            }
.Leave-button {
    color: #333;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.logoutButton {
    width: 33px;
    height: 30px;
    margin-right: 10px;
    position: relative;
    display: inline-flex;
    top: 10px;
}
.nav-image {
    width: 20px;
    height: 20px;
}
@media (max-width: 658px) {
    body {
       width:100%;
    }
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 20px;
    }
    .nav-image {
        width: 20px;
        height: 20px;
    }
    .Leave-button {
        color: #333;
        padding: 0.5rem 1rem;
        text-decoration: none;
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 5px;
        transition: all 0.3s ease;
        cursor: pointer;
        display: inline-flex;
        font-size: 16px;
        align-items: center;
        justify-content: center;
    }
}
