/* Global reset and body styles */
body, h1, h2, p, button {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif; /* Set default font */
}

/* Header styles */
header {
    background-color: #e7dede;
    color: white;
    text-align: center;
    padding: 1em 0;
}

/* Navigation styles */
nav {
    background-color: rgb(0, 0, 0);
    padding: 10px 20px; /* Adjust padding for smaller screens */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo a {
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #fff;
    font-size: 24px; /* Decrease font size for smaller screens */
    font-weight: 600;
}

nav .logo img {
    width: 50px; /* Adjust logo size for smaller screens */
    height: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between logo and text */
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

nav li {
    margin-left: 10px; /* Increase spacing between menu items */
}

nav li a {
    text-decoration: none;
    color: #fff; /* Adjust text color */
    font-size: 14px; /* Decrease font size for smaller screens */
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.3s;
}

nav li a:hover {
    background-color: white;
    color: black;
}

/* Media query for screens smaller than 600px */
@media (max-width: 600px) {
    nav {
        flex-direction: column; /* Stack items vertically */
        padding: 10px; /* Adjust padding */
    }

    nav .logo {
        margin-bottom: 10px; /* Space between logo and menu */
    }

    nav ul {
        flex-direction: column; /* Stack menu items vertically */
        align-items: center; /* Center align menu items */
    }

    nav li {
        margin: 5px 0; /* Adjust margin between menu items */
    }

    .nav-button {
        display: block; /* Ensure menu button is visible */
        width: 100%;
        padding: 8px;
        text-align: center;
        background-color: #1843a1;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
        margin-top: 10px; /* Space between button and menu */
    }
}
