:root {
  /* Primary Colors */
  --color-primary-050: hsl(186, 100%, 94%);
  --color-primary-100: hsl(185, 94%, 87%);
  --color-primary-200: hsl(184, 80%, 74%);
  --color-primary-300: hsl(184, 65%, 59%);
  --color-primary-400: hsl(185, 57%, 50%);
  --color-primary-500: hsl(185, 62%, 45%);
  --color-primary-600: hsl(184, 77%, 34%);
  --color-primary-700: hsl(185, 81%, 29%);
  --color-primary-800: hsl(185, 84%, 25%);
  --color-primary-900: hsl(184, 91%, 17%);
  --color-primary-950: hsl(184, 100%, 12%);

  /* Neutral Colors */
  --color-neutral-050: hsl(210, 1%, 95%);
  --color-neutral-100: hsl(210, 1%, 90%);
  --color-neutral-200: hsl(210, 2%, 80%);
  --color-neutral-300: hsl(210, 3%, 70%);
  --color-neutral-400: hsl(210, 4%, 60%);
  --color-neutral-500: hsl(210, 5%, 50%);
  --color-neutral-600: hsl(210, 6%, 40%);
  --color-neutral-700: hsl(210, 7%, 30%);
  --color-neutral-800: hsl(210, 8%, 20%);
  --color-neutral-900: hsl(210, 9%, 15%);
  --color-neutral-950: hsl(210, 10%, 10%);

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;
  --text-9xl: 8rem;

  /* Line Heights */
  --text-xs--line-height: calc(1 / 0.75);
  --text-sm--line-height: calc(1.25 / 0.875);
  --text-base--line-height: calc(1.5 / 1);
  --text-lg--line-height: calc(1.75 / 1.125);
  --text-xl--line-height: calc(1.75 / 1.25);
  --text-2xl--line-height: calc(2 / 1.5);
  --text-3xl--line-height: calc(2.25 / 1.875);
  --text-4xl--line-height: calc(2.5 / 2.25);
  --text-5xl--line-height: 1;
  --text-6xl--line-height: 1;
  --text-7xl--line-height: 1;
  --text-8xl--line-height: 1;
  --text-9xl--line-height: 1;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 1px 1px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.05), 0 8px 10px rgba(0, 0, 0, 0.1);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
}

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

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;

  background-color: var(--color-neutral-050);
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

h2, h4 {
  font-size: var(--text-lg);
}

.main__title {
  max-width: 1200px;
  padding: 3rem 2rem;
  margin-inline: auto;
}

.main__subtitle {
  max-width: 1200px;
  padding: 0 2rem;
  font-size: var(--text-base);
  line-height: var(--text-base--line-height);
  margin-inline: auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-neutral-050);
  color: var(--color-neutral-950);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.header__logo {
  width: 2rem;
}

.header__name {
  font-size: var(--text-2xl);
}

.header__expand {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
}

.header__icon {
  height: 2rem;
}

.header__nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-neutral-100);
  display: none;
  flex-direction: column;
  padding: 3rem 3rem;
  z-index: 1;
}

.header__nav.show {
  display: flex;
  box-shadow: var(--shadow-md);
}

.header__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header__link {
  text-decoration: none;
  color: var(--color-neutral-950);
  width: max-content;
}

.header__active {
  border-bottom: 0.2rem solid var(--color-primary-500);
}

.footer {
  padding: 3rem;
  background-color: var(--color-neutral-100);
  color: var(--color-neutral-950);

  display: grid;
  gap: 2em;

  grid-template-areas:
    "quick social"
    "more more";
}

.footer div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__links {
  grid-area: quick;
}

.footer__social {
  grid-area: social;
}

.footer__video {
  grid-area: more;
}

@media (min-width: 750px) {

  .footer {
    grid-template-areas:
      "quick social more";
  }

  .footer div {
    margin-inline: auto;
  }
}

@media (min-width: 1050px) {
  .header__expand {
    display: none;
  }

  .header__nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    width: auto;
  }

  .header__nav ul {
    gap: 2rem;
    flex-direction: row;
  }

  .header__link {
    font-weight: 400;
    font-size: 1rem;
  }

  h1 {
    text-align: left;
  }
}