/* Reset */

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

body {
  width: 80%;
  margin: 2rem auto;
  background: #F1EFE2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1.5;
}

h1 {
  margin-top: 20px;
  margin-bottom: 40px;
  color: #456;
  text-align: center;
  text-shadow: 1px 1px #fff;
}

.container, footer {
  color: #fff
}

.info, .content, .aside, footer {
  padding: .4em;
}

.container {
  background: #fff;
}

.info {
  background: #6B9A49;
}

.content {
  background: #645373
}

.aside {
  background: #E69B00
}

footer {
  background: hotpink;
}


/* ----------------------------- */
/*   Version flottants           */
/* ----------------------------- */

/*.container::after {
  content: "";
  display: block;
  clear: both;
}
.container > * {
  width: calc(100% / 3 - (1em * 2 / 3));
  float: left;
}
.container > *:not(:first-child) {
  margin-left: 1em;
}*/


/* ----------------------------- */
/*   Version flexbox             */
/* ----------------------------- */

/*.container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.container > * {
  width: calc(100% / 3 - (1em * 2 / 3));
}

.content {
  order: -1;
}*/

/* ----------------------------- */
/*   Version grid layout         */
/* ----------------------------- */

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  grid-gap: 1em;

}

.content {
  order: -1;
}
