/* ==========================================================================
   BASE.CSS — resets, font-face declarations, and global defaults
   ========================================================================== */

@font-face {
  font-family: 'ChicagoFLF';
  src: url('../fonts/chicagoflf/ChicagoFLF.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-page-bg);
  background-image: var(--page-bg-image);
  background-repeat: repeat;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding: var(--space-2xl) var(--space-lg);
}

h1, h2, h3, h4, p {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Simple layout wrapper that centers the whole "desktop" of windows */
.page {
  max-width: var(--page-max-width);
  margin: 0 auto;
}
