/* ==========================================================================
   globals.css — base layer + the self-hosted face.

   The template pulled Cossette Titre from Google's CDN with an @import. It is
   OFL, so it is simply self-hosted here: four woff2 files, 32 KB,
   latin + latin-ext.
   ========================================================================== */

@font-face {
  font-family: 'Cossette Titre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cossette-titre-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cossette Titre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cossette-titre-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cossette Titre';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cossette-titre-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cossette Titre';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cossette-titre-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --tone-100: #000000;
  --tone-200: #222222;
  --tone-300: #5b5c57;
  --tone-400: #e3e4d8;
  --tone-500: #fe0100;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none;
}

body {
  background-color: var(--tone-400);
  color: var(--tone-100);
}

.dsp,
h2,
h3,
h4,
a,
p,
span {
  font-family: "Cossette Titre";
  text-transform: uppercase;
}

.dsp {
  font-size: 15rem;
  font-weight: 500;
  color: var(--tone-500);
  line-height: 0.85;
}

h2 {
  font-size: 7rem;
  font-weight: 500;
  line-height: 0.9;
}

h3 {
  font-size: 5rem;
  font-weight: 500;
  line-height: 0.9;
}

h4 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.9;
}

a,
p {
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
}

.container {
  width: 100%;
  height: 100%;
  padding: 2rem;
  max-width: 2000px;
  margin: 0 auto;
}

.word {
  display: inline-block;
  margin-right: 0.25em;
}

.char {
  display: inline-block;
}

.char span {
  display: inline-block;
}

@media (max-width: 1000px) {
  .dsp {
    font-size: 5rem;
  }

  h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 2.25rem;
  }

  h4 {
    font-size: 2rem;
  }

  a,
  p {
    font-size: 1.125rem;
  }

  .container {
    padding: 1rem;
  }
}
