<header>Header Section</header>
<main>
  <article>Article Section</article>
  <nav>Nav Section</nav>
  <aside>Aside Section</aside>
</main>
<footer>Footer Section</footer>
@import url("https://fonts.googleapis.com/css?family=Gochi+Hand");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body {
  width: 100vw;
  height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #291642;
  font-family: "Gochi Hand", sans-serif;
  font-size: 100%;
  letter-spacing: 0.1rem;
  color: #fff;
}

header,
main,
footer{
  margin: 1vh 2vh;
  border-radius: 2vh;
  background-color: #333;
  width: calc(100vw - 4vh);
  min-height: 20vh;
  display:flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}

main {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

article,
nav,
aside{
  background-color: #efefef;
  color: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  flex: 1;
  padding: 2vh;
  margin: 1vh;
}


article {
  min-width: 60vw;
}

nav {
  order: -1;
}

main:hover nav {
  order: 1;
  border: 2px solid currentColor;
  color: #f90;
}

main:hover aside {
  order: -1;
  border: 2px solid currentColor;
  color: #f36;
}

View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.