html, body {
  margin: 0;
  width: 100%;
  max-width: 56rem;
  min-height: 100vh;
  box-sizing: border-box;
}

body {
  height: 100%;
  padding: 3rem;
  color: var(--label-primary);
  background: var(--background-primary);
}

main {
  height: 100%;
  box-sizing: border-box;
}

section ol {
  height: 100%;
  padding-left: 0;
  list-style-type: none;
}

section ol li {
  margin-bottom: 2rem;
}

header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav,
header ul {
  gap: 1rem;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
}


@media only screen and (max-width: 48rem) {
  body {
    padding: 0.75rem;
  }

  footer {
    gap: 1rem;
    justify-content: unset;
    flex-direction: column;
  }
}

@media only screen and (min-width: 80rem) {
  html, body {
    margin: 0 auto;
  }
}
