/* ==========================================================================
   Fuentes
   ========================================================================== */

@font-face {
  font-family: 'PP Pangram Sans';
  src: url('../assets/fonts/PPPangramSans-CompressedExtrabold.woff2') format('woff2'),
    url('../assets/fonts/PPPangramSans-CompressedExtrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Stack Sans Text';
  src: url('../assets/fonts/stack-sans-text-latin.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  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: 'Stack Sans Text';
  src: url('../assets/fonts/stack-sans-text-latin-ext.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  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;
}

/* ==========================================================================
   Variables (Style Guide Figma: 4030:4383)
   ========================================================================== */

:root {
  /* Tipografías */
  --font-heading: 'PP Pangram Sans', 'Arial Narrow', sans-serif;
  --font-body: 'Stack Sans Text', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Neutros */
  --color-white: #FFFFFF;
  --color-text: #1E262A;
  --color-text-2: #485C65;
  --color-text-3: #607986;
  --color-text-4: #7F97A4;
  --color-text-5: #C1CCD2;
  --color-text-6: #DEE5E8;
  --color-text-7: #F0F3F4;
  --color-text-8: #F9FAFB;

  /* Purple */
  --color-purple-dark: #4B174C;
  --color-purple-medium: #DD88CF;
  --color-purple-light: #F8E7F6;

  /* Green */
  --color-green-dark: #23360F;
  --color-green-medium: #91D96D;
  --color-green-light: #DCF2CE;

  /* Yellow */
  --color-yellow-dark: #433206;
  --color-yellow-medium: #F2E359;
  --color-yellow-light: #FBF4CB;

  /* Blue */
  --color-blue-dark: #183441;
  --color-blue-medium: #86AED5;
  --color-blue-light: #E1EBF4;

  /* Red (errores) */
  --color-red-dark: #7A2020;
  --color-red: #C43D3D;
  --color-red-light: #F7E4E4;

  /* Layout */
  --content-max-width: 1440px;
  --section-padding-x: 60px;
  --section-padding-y: 64px;
}

/* ==========================================================================
   Estilos de texto (desktop)
   ========================================================================== */

.title-line {
  display: block;
}

.title-1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 104px;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.title-2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 92px;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.title-3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 76px;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.title-4 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0;
}

.title-5 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0;
}

.body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
}

.body-2 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

.body-3 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.button-1 {
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.button-2 {
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

.button-3 {
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
}

/* ==========================================================================
   Estilos de texto (tablet, escala 2/ de Figma)
   ========================================================================== */

@media (max-width: 1024px) {
  .title-1 {
    font-size: 48px;
  }

  .title-2 {
    font-size: 44px;
  }

  .title-3 {
    font-size: 40px;
  }

  .title-4 {
    font-size: 17px;
  }

  .title-5 {
    font-size: 16px;
  }

  .body {
    font-size: 14px;
  }

  .body-2 {
    font-size: 13.5px;
  }

  .body-3 {
    font-size: 13px;
  }

  .button-3 {
    font-size: 15px;
  }
}

/* ==========================================================================
   Estilos de texto movil (mobile/ de Figma)
   ========================================================================== */

@media (max-width: 767px) {
  .title-1 {
    font-size: 64px;
  }

  .title-2 {
    font-size: 60px;
  }

  .title-3 {
    font-size: 48px;
  }

  .title-4 {
    font-size: 20px;
  }

  .title-5 {
    font-size: 18px;
  }

  .body {
    font-size: 16px;
  }

  .body-2 {
    font-size: 15px;
  }

  .button-2 {
    font-size: 15px;
  }

  .button-3 {
    font-size: 16px;
  }
}

/* ==========================================================================
   Estilos de texto movil pequeno (2/ de Figma)
   ========================================================================== */

@media (max-width: 403px) {
  .title-1 {
    font-size: 48px;
  }

  .title-2 {
    font-size: 44px;
  }

  .title-3 {
    font-size: 40px;
  }

  .title-4 {
    font-size: 17px;
  }

  .title-5 {
    font-size: 16px;
  }

  .body {
    font-size: 14px;
  }

  .body-2 {
    font-size: 13.5px;
  }

  .body-3 {
    font-size: 13px;
  }

  .button-3 {
    font-size: 15px;
  }
}
