html {
  font-family: var(--font-family-overall);
  font-size: 10px;
  font-weight: 400;
  color: var(--font-color);
  background-color: var(--bg-color);
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  display: grid;
  grid-template-columns: [left] minmax(2rem, 1fr) [main] minmax(10rem, 75rem) [right] minmax(
      2rem,
      1fr
    );
  grid-template-rows: minmax(3rem, 10rem) minmax(10rem, auto) 5rem;
  grid-gap: 2.5rem;
  text-rendering: optimizeLegibility;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

a {
  text-decoration: none;
  color: var(--highlight-color);
}

a:hover {
  text-decoration: underline;
}

a.invert {
  color: var(--font-color);
}

a.invert:hover {
  color: var(--highlight-color);
}

h1,
h2,
h3 {
  font-family: var(--font-family-overall);
}

h1 {
  font-size: var(--font-size-45);
  line-height: 1;
}

h2 {
  font-size: var(--font-size-32);
}

h3 {
  font-size: var(--font-size-23);
}

code,
pre {
  font-family: var(--font-family-code);
  font-size: var(--font-size-14);
  overflow: auto;
}

p > code,
p > pre {
  border: 0.1rem solid var(--gray80-color);
  background-color: var(--gray98-color);
  padding: 0.1rem 0.3rem;
  margin: 0;
  white-space: nowrap;
}

cite {
  font-family: var(--font-family-overall);
  font-size: var(--font-site-18);
  line-height: 1.3;
  font-style: italic;
  margin-bottom: 2.5rem;
  display: block;
}
