html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

#container {
    display: grid;
    grid-template-areas:
        "header content1 content2"
        "header content3 content4"
        "header content5 content6"
        "footer footer footer";
    grid-template-columns: 250px 1fr 1fr;
    gap: 15px;
    padding: 15px;
}

.header { 
    grid-area: header; 
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: lightblue; 
    padding: 20px;
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

#hamburger {
    display: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 8px 12px;
    background-color: rgb(245, 245, 207);
    border-radius: 4px;
    text-align: center;
}

.nav a:hover {
    background-color: #ffe066;
}


[class^="content"] {
    padding: 15px;
    border-radius: 6px;
}

.content1 { background-color: rgb(209, 100, 21); }
.content2 { background-color: rgb(224, 12, 252); }
.content3 { background-color: rgb(67, 67, 19); }
.content4 { background-color: rgb(23, 139, 34); }
.content5 { background-color: rgb(14, 134, 128); }
.content6 { background-color: rgb(16, 13, 150); }

.body-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.footer { 
    grid-area: footer; 
    background-color: rgb(149, 174, 208); 
    text-align: center;
    padding: 10px;
}


@media screen and (min-width: 600px) and (max-width: 1199px) {
    html {
        font-size: 15px;
    }

    #container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "header header"
            "content1 content2"
            "content3 content4"
            "content5 content6"
            "footer footer";
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav {
        flex-direction: row;
        width: auto;
    }

    .logo {
        width: 80px;
    }
}


@media screen and (max-width: 599px) {
    html {
        font-size: 14px;
    }

    #container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "content1"
            "content2"
            "content3"
            "content4"
            "content5"
            "content6"
            "footer";
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }

    .logo {
        width: 50px;
    }

    #hamburger {
        display: block;
    }

    .nav {
        display: none;
    }

    .optional-img {
        display: none; 
    }
}
