nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-items {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
     margin-right: 20px;
}

.nav-links li {
    margin: 0 20px;
    position: relative;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
}

.nav-links li a:hover {
    color: #f9f9f9;
}

/* Style the login button */
.loginButton, .logoutButton {
    display: flex; /* To make the link and image align horizontally */
    align-items: center; /* Center the image and text vertically */
    text-decoration: none; /* Remove underlines from the link */
    margin-right: 10px;
}

/* Adjust the position of the login button */
.loginButton img, .logoutButton img {
    width: 40px;
    margin-left: 5px; /* Add some spacing between the image and the text */
}

@media only screen and (max-width: 600px) {
    nav, footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    nav {
        justify-content: space-between; /* Adjust to space between items */
        padding: 0 5px; /* Adjust padding for a cleaner look */
    }

    .navbar-items {
        margin-top: 0;
    }

    .navbar-logo {
        margin-right: auto; /* Pushes the navbar brand to the left */
    }

    .nav-links {
        flex-direction: row;
        margin: 0;
    }

    .nav-links li {
        margin: 0 10px;
    }

    .nav-links li a {
        font-size: 12px;
    }

    .navbar-buttons {
        margin-top: 0;
    }

    .navbar-buttons img {
        width: 20px;
    }

    .navbar-brand img {
        width: 80px;
    }

    footer {
        width: 100%;
        padding: 0.5rem;
    }

    footer p {
        font-size: 12px;
        margin: 5px 0;
    }
    
    .loginButton,
    .logoutButton {
        display: flex;
        align-items: center;
        text-decoration: none;
        margin: 0 10px; /* Adjust margin for spacing */
    }

    .loginButton img,
    .logoutButton img {
        width: 40px; /* Set the width of the image as desired */
        margin-left: 5px; /* Add some spacing between the image and the text */
    }
}


