@font-face {
  font-display: swap;
  font-family: 'Default';
  font-weight: 100;
  src: url('/fonts/Urby-Thin.woff2') format('woff2'),
    url('/fonts/Urby-Thin.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: 'Default';
  font-weight: 400;
  src: url('/fonts/Urby-Regular.woff2') format('woff2'),
    url('/fonts/Urby-Regular.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: 'Default';
  font-weight: 700;
  src: url('/fonts/Urby-Bold.woff2') format('woff2'),
    url('/fonts/Urby-Bold.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: 'Default';
  font-weight: 900;
  src: url('/fonts/Urby-Black.woff2') format('woff2'),
    url('/fonts/Urby-Black.woff') format('woff');
}

:root {
  --alpha: 0.8;
  --alphaOpaque: 0.96;

  --white: #f0f4f8;
  --whiteTriplet: 240, 244, 248;

  --gainsboro: #d8dee0;
  --gainsboroTriplet: 216, 222, 224;

  --ash: #a8b4b8;
  --ashTriplet: 168, 180, 184;

  --charcoal: #606466;
  --charcoalTriplet: 96, 100, 102;

  --gunmetal: #242628;
  --gunmetalTriplet: 36, 38, 40;

  --black: #121416;
  --blackTriplet: 18, 20, 22;

  --red: #f43264;
  --darkred: #cc2856;
  --darkredTriplet: 204, 40, 86;

  --blue: #32c4f4;
  --darkblue: #2284a4;

  --yellow: #f4e844;
  --darkyellow: #ccc438;

  --headerPadding: 1.6em;
  --padding: 2em;
}

@media (min-width: 40em) {
  :root {
    --headerPadding: 2em;
    --padding: 2.5em;
  }
}

html,
body {
  background-color: var(--white);
}

body {
  color: var(--black);
  font-family: 'Default', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 87.5%;
  height: 100vh;
  line-height: 1.6;
  margin: 0;
  width: 100vw;
}

@media (min-width: 22.5em) {
  body {
    font-size: 100%;
  }
}

@media (min-width: 60em) {
  body {
    font-size: 125%;
  }
}

@media (min-width: 120em) {
  body {
    font-size: 150%;
  }
}

blockquote {
  font-size: 1.6em;
  font-weight: 100;
  margin: 1em 2em;
  position: relative;
}

blockquote:after,
blockquote:before {
  display: block;
  position: absolute;
}

blockquote:before {
  color: var(--ash);
  content: open-quote;
  font-size: 1.6em;
  font-weight: 700;
  left: -1.2em;
  top: -0.625em;
}

blockquote:after {
  background-color: var(--gainsboro);
  color: transparent;
  content: close-quote;
  height: 100%;
  left: -0.75em;
  top: 0;
  width: 0.2em;
}

blockquote cite {
  color: var(--charcoal);
  font-size: 0.625em;
}

blockquote cite:before {
  content: '— ';
}

em {
  font-weight: 700;
  font-style: normal;
}

h1,
h2,
h3,
h4 {
  font-weight: 900;
  margin: 1.6em 0 0.625em;
}

h1 {
  font-size: 2em;
  line-height: 1.1;
  margin-top: 0.625em;
}

h2 {
  font-size: 1.5em;
  line-height: 1.25;
  max-width: 20em;
}

h3 {
  font-size: 1.25em;
  line-height: 1.5;
}

h4 {
  font-size: 1em;
  font-weight: 900;
  line-height: 1.6;
  text-transform: uppercase;
}

h1 em,
h2 em,
h3 em,
h4 em {
  color: var(--darkred);
  font-weight: inherit;
  white-space: nowrap;
}

hr,
hr:before,
hr:after {
  background: radial-gradient(
    rgba(var(--gunmetalTriplet), 1) 50%,
    rgba(var(--gunmetalTriplet), 0) 50%
  );
  height: 0.3em;
  width: 0.3em;
}

hr {
  border: 0;
  margin: 3em auto;
  position: relative;
}

hr:before,
hr:after {
  content: ' ';
  display: block;
  position: absolute;
}

hr:before {
  left: 1.2em;
}

hr:after {
  right: 1.2em;
}

p {
  margin: 1em 0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
p:first-child {
  margin-top: 0;
}

strong {
  font-weight: bolder;
}
