@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap'); /* Importing the Poetsen One font */

body {
    font-family: Arial, sans-serif;
    color: #020202;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

img {
    max-width: 98%;
    height: auto;
}

div > img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

header nav {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgb(255, 255, 255) 20%, #000000 20%);
    padding: 5px 10px;
    justify-content: start;
    width: 100%;
    box-shadow: 6px 14px 6px -6px rgba(0, 0, 0, 0.25); /* Ensuring shadow is applied */
    z-index: 1000; /* Ensure the nav stays above other elements */
    position: relative; /* Ensure it stays above other elements */
}

#nav-logo-container {
    background-color: white;
    width: 14%; /* Width as a percentage to maintain the scaling */
    height: 60px; /* Fixed height in pixels */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
}

#nav-logo {
    max-height: 100%; /* Uses all available vertical space without exceeding it */
    max-width: 100%; /* Ensures that the maximum width does not exceed the container */
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0px;
    display: flex;
    align-items: center;
    margin-left: auto;
    background-color: transparent;
    padding-left: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
}

header nav ul li {
    margin-right: 40px; /* Margin in pixels to maintain consistent spacing */
    background-color: transparent;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2em; /* Font size in em to scale with text settings */
    line-height: 45px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    header nav {
        padding: 2px 5px;
    }

    header nav ul li a {
        font-size: 0.8em; /* Even smaller font size for very small screens */
    }

    #nav-logo {
        height: 25px; /* Smaller logo for very small screens, measured in pixels */
    }
}
