body {
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 2em;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  margin: 0;
}

p {
  margin: 0;
}

header,
footer {
  gap: 1em;
  display: flex;
  flex-direction: column;
  background-color: black;
  color: white;
  border-radius: 2em;
  padding: 2em;
  & .button {
    background-color: #fff;
    color: #000;
    display: inline-block;
    padding: 0.4em;
    border-radius: 0.5em;
    text-decoration: none;
    border: 0.1em solid white;
    transition: color 0.25s, background-color 0.25s;
    width: fit-content;
    &:hover {
      background-color: #000;
      color: #fff;
    }
    &:focus {
      outline: 4px dotted green;
      outline-offset: 3px;
    }
  }
}

main {
  display: flex;
  flex-direction: column;
  gap: 1em;

  & section {
    background-color: #ddd;
    padding: 2em;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
}

a {
  color: inherit;
  &[target="_blank"]::after {
    content: " (opens in new tab)";
    font-style: italic;
  }
  &:focus {
    outline: 4px dotted green;
    outline-offset: 3px;
  }
}

ul {
  margin: 0;
}

.fn {
  vertical-align: super;
  font-size: 0.75em;
}
