/* Self-hosted replacements for the Google Fonts CDN requests that used to
   live in index.html. Those were render-blocking cross-origin requests to
   fonts.googleapis.com/fonts.gstatic.com, so any ad blocker, privacy
   extension, DNS-level Google block, or slow/flaky connection to Google's
   CDN made the custom fonts (and the "SPACECHAT" wordmark, section
   headings, etc.) silently fall back to the browser default font on some
   page loads but not others. Serving the woff2 files from the same origin
   as everything else removes that intermittent third-party dependency. */

@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/press-start-2p-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Righteous';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/righteous-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/ubuntu-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ubuntu-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ubuntu-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/ubuntu-700.woff2') format('woff2');
}
