/* Site typography.
   Headings and titles: Bricolage Grotesque.
   Body copy: Newsreader.
   Code: JetBrains Mono. */

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono/JetBrainsMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/Newsreader/Newsreader-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/Newsreader/Newsreader-Italic-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

body,
button,
input,
select,
textarea {
  font-family: "Newsreader", "Newsreader", "Newsreader", serif;
  font-size: 22px;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.posttitle,
.post-item span a {
  font-family: "Newsreader", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
}

code,
pre,
kbd,
samp {
  font-family: "JetBrains Mono", "Menlo", "Meslo LG", ui-monospace, monospace;
}

.webring {
  text-align: center;
  font-size: small;
  margin-bottom: 2rem;
}

.webring a {
  margin-left: 0.2rem;
  margin-right: 0.2rem;
}
