/* Global styles */
/* https://coolors.co/070150-2741cd-ffcd30-acd4ee-f9fdff */

:root {
  --black: #000000;
  --scholars-slate: #070150;
  --legacy-blue: #2741cd;
  --luminary-gold: #ffcd30;
  --horizon-blue: #acd4ee;
  --canvas-white: #f9fdff;
  --white: #ffffff;

  --black-a80: #00000080;
  --legacy-blue-ad0: #2741cdd0;
  --horizon-blue-a00: #acd4ee00;

  --font-heading: "Gloock";
  --font-subheading: "Gloock";
  --font-body: "Raleway";
  --font-highlight: "Linotype Feltpen";
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--canvas-white);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

body.nav-drawer-open {
  overflow-y: hidden;
}

@font-face {
  font-family: "Gloock";
  src: url("fonts/Gloock-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Linotype Feltpen";
  src: url("fonts/Linotype-Feltpen-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-VariableFont_wght.woff2") format("woff2-variations");
  src: url("fonts/Raleway-VariableFont_wght.woff2") format(woff2) tech(variations);
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-Italic-VariableFont_wght.woff2") format("woff2-variations");
  src: url("fonts/Raleway-Italic-VariableFont_wght.woff2") format(woff2) tech(variations);
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 2rem;
}

h4, .h4 {
  font-size: 1.5rem;
  font-weight: 300;
}

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

small {
  font-size: 0.9rem;
  color: var(--scholars-slate);
}

small.alt {
  color: var(--canvas-white);
}

a {
  text-decoration: none;
}

.legacy-blue {
  color: var(--legacy-blue);
}

.body1 {
  font-size: 1.1rem;
  color: var(--scholars-slate);
  line-height: 1.25;
}

.body1.alt {
  color: var(--canvas-white);
}

.highlight {
  font-family: var(--font-highlight);
}

.hide-sm {
  display: flex;
}

.show-sm {
  display: none;
}

/* width >= 400px */
@media (min-width: 25rem) {
}

/* width >= 640px */
@media (min-width: 40rem) {
  .hide-sm {
    display: none;
  }

  .show-sm {
    display: flex;
  }
}

/* width >= 768px */
@media (min-width: 48rem) {
  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2.5rem;
  }

  h4, .h4 {
    font-size: 2rem;
  }

  .body1 {
    font-family: 1.25rem;
  }
}

/* width >= 1024px */
@media (min-width: 64rem) {
}

/* width >= 1280px */
@media (min-width: 80rem) {
  h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 3rem;
  }

  h4, .h4 {
    font-size: 2.5rem;
  }

  .body1 {
    font-size: 1.35rem;
  }
}

/* width >= 1536px */
@media (min-width: 96rem) {
  h2 {
    font-size: 4rem;
  }

  h3 {
    font-size: 3.5rem;
  }

  h4, .h4 {
    font-size: 3rem;
  }
}

/* width >= 1920px */
@media (min-width: 120rem) {
}

