body{
    font-family: Arial, Helvetica, sans-serif;
}
header{
    background-color: red;
    grid-area: header;
    height: 70px;
}

aside{
    h2, h3, p{
        margin: 0;
        padding: 0;
        position: absolute;
        color: white;
    }
}

section{
    grid-area: section;
    background-color: greenyellow;
    display: block;
    width: 100%;
}

article section{
    width: 100%;
    background-color: white;
}

nav{
    display: flex;
    justify-content: top;
    flex-wrap: wrap;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    border: 2px solid black;
    background-color: white;
    height: 200px;
    width: 80%;
    text-indent: 20px;
}

nav a{
    background-color: grey;
    color: black;
    text-decoration: none;
    font-weight: 100;
    border: 1px solid black;
    border-style: inset;
    padding: 7px 0px;
    margin-bottom: 5px;
    margin: 0px 5px;
}

nav a:hover{
    background-color: yellowgreen;
}

#current{
    background-color: orangered;
    font-weight: bold;
}

nav h2{
    font-size: medium;
}

footer{
    background-color: gray;
    grid-area: footer;
    height: 50px;
    text-align: center;
}

.article{
    grid-area: article;
    width: 80%;
}

img{
    border: 2px solid black;
}

.container{
  width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: auto;
    grid-template-areas: 'header'
   'section'
    'section'
    'section'
    'section'
    'article'
    'article'
    'article'
    'footer';  
}

@media (min-width: 600px) {
 .container{
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: 'header header'
   'section article'
    'section article'
    'section article'
    'section article'
    'section article'
    'footer footer';
}   
}

@media (min-width: 800px){
    .container{
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-areas: 'header header aside'
    'section article aside'
    'section article aside'
    'section article aside'
    'section article aside'
    'footer footer footer';
    }
    aside{
        width: 200px;
        grid-area: aside;
        background-color: yellow;
        div{
            width: 80%;
            height: 50px;
            margin-bottom: 5px;
            margin-left: auto;
            margin-right: auto;
            border: 1px solid red;
            background-color: white;
            h3, p{
            text-align: center;
            margin-top: -3px;
            }
        }

        h2, h3, p{
            position: relative;
            color: black;
        }
    }
    section{
        width: 200px;
    }
}