
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    min-height: 100vh;
    font-size: calc(1rem + 0.5vw);
    background-color: #333333;
    color: #e74c3c;
    font-family: 'Roboto', sans-serif;
}

header {
    background-color: #2c3e50;
    padding: 2%;
    text-align: left;
}

header h1 {
    color: #ecf0f1;
    margin: calc(16px + 1vh);
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
}

nav {
    width: 30%;
    background-color: #34495e;
    padding-left: 2%;
    flex: 1;
    display: flex;
    flex-direction: column;
}
nav ul {
    list-style-type: none;
    padding: 2%;
    flex: 1;  /* Ensures the list grows and takes up the space, pushing other content down if needed */
}

nav li {
    margin: calc(1% + 2px);
}

nav a {
    text-decoration: none;
    color: #e74c3c;
    display: block;
    padding: 10px 0;
    text-align: center;
}

main {
    width: 70%;
    background-color: #e74c3c;
    flex: 2;
    padding: 2%;
}

main ul {
    margin: 0;
    padding-left: 1em;
}

main h2, main h3 {
    color: #ecf0f1;
}

main p, main li {
    color: #ecf0f1;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

footer {
    background-color: #2c3e50;
    padding: 1rem;
    color: #e74c3c;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: inherit;
}

@media screen and (max-width: 750px) {
    .content-wrapper {
        flex-direction: column; /* Stack nav on top of main on smaller screens */
    }

    nav, main {
        width: 100%;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-left: 0;
    }

    nav li {
        flex: 1; /* Allow list items to take equal space */
        text-align: center;
        padding: 0.5rem 0;
    }
}
