:root {
  --fonts: "IBM Plex Serif", serif;
  --font-small: 10pt;
  --font-normal: 14pt;
  --page-width-normal: 750px;
}

body {
  font-family: var(--fonts);
  font-size: var(--font-normal);
}

header {
  h1 {
    font-weight: 900;
    font-size: 72pt;
    text-align: center;
  }
}

footer {
  text-align: center;
}

div > nav {
  padding: 0 auto;

  & a {
    display: inline-block;
    padding: 10px;
    background-color: black;
    color: white;
  }
}

#blog {
  display: grid;
  gap: 1em;
  width: var(--page-width-normal);
  margin: 0 auto;

  article {
    border: 1px solid black;
    padding: 1em;
    background-color: lightgrey;

    & > h1 {
      font-weight: bold;
    }

    & > time {
      font-size: var(--font-small);
      font-style: italic;
      font-weight: 300;
    }
  }
}
