:root {
  --primary: #045ea0;
  --green: #018f4b;
  --brown: #816854;
  --orange: #f88c0e;
  --white: #ffffff;
  --off-white: #e3eaee;
  --black: #000000;
  --blue-2: #7cb4dd;
  --blue-3: #70a1c4;
  --blue-4: #6593bd;
  --blue-5: #5a84b5;
  --blue-6: #436fa1;
  --blue-7: #395e87;
  --blue-8: #2d4b6d;
  --blue-9: #27455b;
  --dark-blue: #1a2c3a;

  --offset-left: 16%;
  --offset-left-mobile: 22px;
}

@font-face {
  font-family: RethinkSans-regular;
  src: url("/assets/fonts/RethinkSans-VariableFont_wght.ttf");
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: RethinkSans-italic;
  src: url("/assets/fonts/RethinkSans-Italic-VariableFont_wght.ttf");
  font-weight: 100 1000;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: barlow-semi-bold-italic;
  src: url("/assets/fonts/BarlowCondensed_SemiBoldItalic.ttf");
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0em;
  font-display: swap;
}

@font-face {
  font-family: barlow-semi-bold;
  src: url("/assets/fonts/BarlowCondensed_SemiBold.ttf");
  font-display: swap;
}

body {
  margin: 0;
  position: relative;
  font-family: RethinkSans-regular, sans-serif;
  font-size: 19px;
  line-height: 1.6em;
  letter-spacing: -0.01em;
}

i {
  font-family: RethinkSans-italic, sans-serif;
}

b,
strong {
  font-family: RethinkSans, sans-serif;
  font-weight: 500;
}

h1 {
  font-family: RethinkSans-regular, monospace, sans-serif;
  font-style: italic;
  font-weight: 800;
  line-height: 0.94em;
  letter-spacing: -0.02em;
}

h2 {
  font-family: RethinkSans-regular, monospace, sans-serif;
  font-style: italic;
  font-weight: 800;
  line-height: 1.1em;
  letter-spacing: 0.02em;
  margin-block: 0.4em;
  text-transform: uppercase;
}

h3,
h4 {
  font-family: RethinkSans-regular, monospace, sans-serif;
  font-style: italic;
  font-weight: 600;
  line-height: 1.1em;
  letter-spacing: 0.02em;
  margin-block: 0.4em;
  text-transform: uppercase;
}

h2 {
  font-size: 36px;
  color: var(--dark-blue);
  letter-spacing: 0;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 19px;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
}

/* managing content width for different device dimensions */

.inset {
  margin: 48px var(--offset-left);
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .inset {
    margin: 48px var(--offset-left-mobile);
  }

  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
}

@media (min-width: 2000px) {
  /* for large screens */
  .inset-large {
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.small-text {
  -webkit-text-size-adjust: none;
  font-family: RethinkSans-regular, sans-serif;
  font-size: 17px;
  font-weight: 100;
  line-height: 1.4em;
  letter-spacing: 0.02em;
}

.xs-text {
  -webkit-text-size-adjust: none;
  font-family: RethinkSans-regular, sans-serif;
  font-size: 16px;
  line-height: 1.4em;
  letter-spacing: 0.02em;
}
