/* ==========================================================================
   Base: variables, fonts, reset, root font scale, typography, utilities
   ========================================================================== */

:root {
  --red: #ee1c25;
  --purple-deep: #3a2150;
  --purple-text: #3f2a5c;
  --purple-badge: #4a2d7a;
  --lilac-light: #efe9f5;
  --lilac-mid: #c9b8e0;
  --purple-mountain: #9b7ec9;
  --purple-deep-mountain: #652fc1;
  --ink-black: #1a1a1a;
  --white: #ffffff;

  --font-display: "GT Alpina", Georgia, "Times New Roman", serif;
  --font-sans: "Helvetica Neue", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}

/* ---------- Fonts ---------- */

@font-face {
  font-family: "GT Alpina";
  src: url("../fonts/GT-Alpina-Standard-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/helveticaneue.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Replica Trial";
  src: url("../fonts/ReplicaTrial-Regular.otf") format("opentype");
  font-style: normal;
}

/* ---------- Reset ---------- */

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

html {
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--red);
  overflow-x: hidden;
}

/* ---------- Root font scale (everything else is in rem) ---------- */

@media (max-width: 330px)                          { html { font-size: 11px; } }
@media (min-width: 331px)  and (max-width: 599px)  { html { font-size: 16px; } }
@media (min-width: 600px)  and (max-width: 992px)  { html { font-size: 20px; } }
@media (min-width: 993px)  and (max-width: 1199px) { html { font-size: 14px; } }
@media (min-width: 1200px) and (max-width: 1399px) { html { font-size: 16px; } }
@media (min-width: 1400px) and (max-width: 1599px) { html { font-size: 18px; } }
@media (min-width: 1600px) and (max-width: 1899px) { html { font-size: 20px; } }
@media (min-width: 1900px)                         { html { font-size: 22px; } }

/* ---------- Typography ---------- */

h2 {
  font-size: 1.68rem;
  color: var(--purple-deep);
}

h3 {
  padding-top: 1rem;
}

p {
  font-family: var(--font-body);
}

a {
  color: var(--purple-deep);
}

/*a:hover,*/
/*a:hover h2 {*/
/*  color: var(--red);*/
/*}*/

.content h1 {
  font-family: var(--font-sans);
  font-size: 2.8224rem;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.content p {
  font-size: 1rem;
  margin: 1rem 0 0 0;
  line-height: 1.55;
}

/* ---------- Utilities ---------- */

.white {
  color: var(--white);
}

span.helvetica {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  color: var(--white);
}
