* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 20% 50% 30%;
  grid-template-rows: 14vw minmax(auto, auto) 50px;
  grid-template-areas:
    "header header header"
    "nav section aside"
    "footer footer footer";
}
body > header {
  grid-area: header;
  display: flex;
  align-items: baseline;
  justify-content: space-evenly;
}
body > header h1 {
  font-size: 3em;
}
body > nav {
  grid-area: nav;
}
body > section {
  grid-area: section;
  padding: 0.5em;
}
section > article {
  display: grid;
  grid-template-columns: 30% 70%;
}
body > aside {
  grid-area: aside;
  padding: 0.5em;
}
body > footer {
  grid-area: footer;
  text-align: center;
}
@media (max-width: 800px) {
  body {
    grid-template-rows: 14vw auto auto 50px;
    grid-template-areas:
      "header header header"
      "nav section section"
      "nav aside aside"
      "footer footer footer";
  }
}
@media (max-width: 600px) {
  body {
    grid-template-rows: 14vw 6vw auto auto 50px;
    grid-template-areas:
      "header header header"
      "nav nav nav"
      "section section section"
      "aside aside aside"
      "footer footer footer";
  }
}
