:root {
  --color-page: #fcfaf3;
  --color-brand: #d63221;
  --color-prose: #071125;
}

/* font */

@font-face {
  font-family: 'Libre Baskerville';
  src: local("MyCustomFont Regular"),
    url("/LibreBaskerville-VariableFont_wght.woff2") format("woff2"),
    url("/LibreBaskerville-VariableFont_wght.ttf") format("ttf");
  font-weight: 100-900;
  font-style: normal;
  font-display: swap;
}



/* reset - C/O https://gist.github.com/mindplay-dk/62243f634cdcce4f43d943c36378137d */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

* {
  min-width: 0;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
}

html {
  scrollbar-gutter: stable;
}

html {
  overscroll-behavior: contain;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  text-rendering: optimizeLegibility;
}

body {
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

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

img,
picture,
video,
canvas,
svg,
embed,
iframe,
object,
audio {
  display: block;
  max-width: 100%;
  height: auto;
}

svg[width][height] {
  max-width: revert;
}

button {
  background: none;
  border: none;
}

input,
button,
textarea,
select {
  font: inherit;
}

input,
button,
textarea,
select {
  -webkit-appearance: none;
  appearance: none;
}

button,
[role="button"],
label,
summary,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

th {
  font-weight: inherit;
}

fieldset {
  border: none;
  padding: 0;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

pre,
code,
kbd,
samp {
  font-family: monospace;
  font-size: inherit;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: none;
}

#root {
  isolation: isolate;
}

/* styles */

body {
  background: var(--color-page);
  color: var(--color-prose);
  text-align: center;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Baskerville', serif;
}

article {
  margin-inline: auto;
  max-width: 50em;
  padding: 2rem;
}

article img {
  margin-inline: auto;
  margin-bottom: 3rem;
}

article p {
  margin-bottom: 1.8rem;
}

article a {
  text-decoration-color: var(--color-brand);
}
