html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
body > * {
  margin: auto;
}
body > footer {
  margin-bottom: 0;
}