body {
  max-width: 70ch;
  line-height: 1.5;
  margin: 0;
  padding: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
}

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

figure {
  margin: 1.5rem 0;
  width: fit-content;
  max-width: 100%;
}

figcaption {
  font-size: 0.9em;
  font-style: italic;
  margin-top: 0.4rem;
  text-align: center;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

code {
  font-size: 0.95em;
}

:not(pre) > code {
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
