@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
@import url("../fonts/recoleta/stylesheet.css");
/* @import url("../fonts/font-awesome-6.4.2/css/all.css"); */

:root {
  --color-main: #057a7d; /* #491589 #057a7d */
  --color-secondary: #6ec99d; /* #a6ce39 #85dd8c #9ed13c #85dd8c #6ec97d*/
  --color-accent: #fc766a; /* #2b6be6 #387af7 #6b7bde */
  --color-accent-alt: #2f6693; /* ff7e70 #f96e30 #ffca83 #1f65db*/
  --color-light: #eaf5ff; /* #c1eec5 */
  --color-light-alt: #d9e7ff;

  --font-body: "Roboto Mono", monospace;
  --font-heading: "recoleta";
  --font-icon: "Font Awesome 6 Free";

  --max-width: 1420px;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: var(--color-light);
  color: var(--color-main);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
}

p,
b {
  font-size: 1em;
  line-height: 1.7em;
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(50px, 12vw, 110px);
  line-height: 0.9em;
  margin: 0;
  /* margin-bottom: -1rem; */
  text-transform: uppercase;

  &.huge {
    font-size: 16vw;
  }
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1em;
  margin: 0;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.3em;
  margin: 0;
}

h4 {
  /* font-family: var(--font-heading); */
  /* font-size: 24px; */
  /* line-height: 1.2em; */
  margin: 0;
  /* font-weight: normal; */
  text-transform: uppercase;
}

a {
  color: var(--color-accent);
  text-decoration: none;

  &:hover {
    color: var(--color-accent-alt);
  }
}

.button {
  display: inline-block;
  font-size: 0.9em;
  padding: 0 40px;
  line-height: 60px;
  background-color: var(--color-accent);
  border: unset;
  color: var(--color-light);
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s;

  &:hover {
    background-color: var(--color-accent-alt);
    /* border: 1px solid var(--color-accent-alt); */
    color: var(--color-light);
  }
}

.button-alt {
  color: var(--color-accent);
  background-color: var(--color-light);
  border: 1px solid var(--color-accent);

  &:hover {
    border: 1px solid var(--color-accent-alt);
    color: var(--color-light);
    background-color: var(--color-accent-alt);
  }
}

header {
  .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* justify-content: space-between; */
    align-items: center;
    padding: 20px 60px;
    margin: 0 auto;
    /* max-width: unset; */
  }

  .logo svg {
    height: 130px;

    .st0 {
      fill: var(--color-main);
    }

    .st1 {
      fill: var(--color-secondary);
    }
  }

  .menu-toggle {
    display: none;
  }

  & nav {
    display: flex;
    gap: 25px;
    /* text-transform: uppercase; */
    /* font-size: 0.9em; */
    /* font-family: var(--font-heading); */

    & a {
      /* font-size: 30px; */
      padding: 5px 0;
      color: var(--color-accent);
      display: block;
      /* font-family: var(--font-heading); */
    }

    & a:hover {
      color: var(--color-accent-alt);
    }

    & div {
      &:hover {
        color: var(--color-accent-main);

        .sub-menu {
          display: flex;
        }
      }
    }

    .sub-menu {
      display: none;
      flex-direction: column;
      position: absolute;

      & a {
        padding: 5px 0;
      }
    }
  }

  .button {
    justify-self: end;
  }
}

.page-wrapper {
  overflow: hidden;
}

.symbol {
  position: absolute;
  z-index: -1;
  /* font-family: Arial, Helvetica, sans-serif; */
  font-weight: 800;
  font-size: 75vw;
  line-height: 1em;
  display: block;
  color: var(--color-light-alt);
  white-space: nowrap;
}

.badge {
  position: absolute;
  right: 150px;
  top: -100px;
  width: 300px;
  z-index: -1;
}

.rotate {
  animation: rotate 5s cubic-bezier(0.42, 0, 1, 1) infinite 1s; /* 1s pause before repeating */
  transform-origin: center;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
    animation-timing-function: cubic-bezier(
      0.25,
      0.1,
      0.25,
      1
    ); /* Softer ease-in */
  }
  100% {
    transform: rotate(360deg);
    animation-timing-function: cubic-bezier(
      0.25,
      0.1,
      0.25,
      1
    ); /* Softer ease-out */
  }
}

.ticker-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  padding: 20px 0;
  margin-top: 6em;
  /* background: var(--color-accent-alt); */
  /* color: var(--color-accent-alt); */
}

.ticker {
  display: inline-block;
  white-space: nowrap;
}

.ticker div {
  display: inline-block;
}

.ticker div h2 {
  font-weight: 600;
  text-transform: capitalize;

  & i {
    display: inline-block;
    /* font-size: 0.8em; */
    /* transform: translateY(-0.1em); */
    margin: 0 0.3em 0 0.2em;
  }
}

@keyframes float-vertical {
  0%,
  100% {
    top: 0;
  }
  50% {
    top: -20px;
  }
}

@keyframes float-rotate {
  0%,
  100% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-2deg);
  }
}

.float {
  position: relative;
  animation: float-vertical 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite
      alternate,
    float-rotate 10s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite alternate;
}

.oversized {
  transform: scale(1.2);
  position: relative;
  z-index: 5;
}

.container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 60px;
}

.two-columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 2em;

  & p {
    width: 80%;
    /* margin-left: 10%; */
  }

  & img {
    /* transform: scale(1.3); */
    position: relative;
    z-index: 5;
  }

  .column {
    /* padding: 20px; */
    position: relative;
    /* text-align: right; */
  }

  .column:last-child {
    text-align: right;

    & p {
      margin-left: 20%;
    }
  }
}

.boxed {
  padding: 3em;
  padding-bottom: calc(60px - 1.6em);
  background-color: var(--color-accent-alt);
  color: var(--color-light);
  border-radius: 20px;
  align-self: start;
  /* height: calc(100% - 80px); */

  & p {
    margin-left: 0 !important;
    width: 100%;
  }

  &.boxed-light {
    background-color: var(--color-light-alt);
    color: var(--color-main);
  }

  &.boxed-main {
    background-color: var(--color-main);
    color: var(--color-light);
  }

  &.boxed-secondary {
    background-color: var(--color-secondary);
    color: var(--color-main);
  }

  &.boxed-outline {
    background-color: var(--color-light);
    border: 1px solid;
    color: var(--color-main);
  }
}

/* .two-columns-reverse {
  grid-template-columns: 3fr 4fr;
} */

.three-columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 2em;

  & p:first-child {
    margin-top: 0;
    /* width: 80%; */
    /* margin-left: 10%; */
  }

  .column {
    position: relative;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 4em;
  /* padding: 20px; */

  .card {
    container-type: inline-size;
    position: relative;
    overflow: hidden;
    padding: 3em;
    /* padding-bottom: 2em; */
    background-color: var(--color-accent-alt);
    color: var(--color-light);
    border-radius: 10px;
    /* border: 2px solid var(--color-light); */
    /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); */

    /* Status label for series cards */
    .status-label {
      /* position: absolute; */
      /* top: 15px; */
      /* right: 15px; */
      margin-bottom: 1em;
      display: inline-block;
      z-index: 10;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 0.75em;
      text-transform: uppercase;
      letter-spacing: 0.5px;

      &.status-accepting {
        background-color: var(--color-secondary);
        color: var(--color-light);
      }

      &.status-waitlist {
        background-color: var(--color-accent-alt);
        color: var(--color-light);
      }
    }

    .symbol-svg {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1;
      font-weight: 800;
    }

    .symbol-svg text {
      font-weight: 800;
      text-anchor: middle;
      dominant-baseline: middle;
    }

    .card-content {
      position: relative;
      z-index: 5;

      & p:last-child {
        margin-bottom: 0;
      }
    }

    .button {
      background-color: var(--color-light);
      color: var(--color-accent);
      border: unset;
      margin-top: 1.5rem;
      margin-bottom: 0;

      &:hover {
        background-color: var(--color-accent);
        color: var(--color-light);
      }

      &.button-alt:hover {
        background-color: var(--color-accent-alt);
        color: var(--color-light);
      }
    }

    &:nth-child(4n + 1) {
      background-color: var(--color-main);
      color: var(--color-light);
    }

    &:nth-child(4n + 2) {
      background-color: var(--color-light-alt);
      color: var(--color-main);
    }

    &:nth-child(4n + 3) {
      background-color: var(--color-accent-alt);
      color: var(--color-light);
    }

    /* &:nth-child(4n + 4) {
      background-color: var(--color-light);
      border: 1px solid var(--color-main);
      color: var(--color-main);
    } */
  }
}

.about {
  .three-columnsXX {
    max-width: 900px;
    margin: 0 auto;
    grid-template-columns: 1fr 2fr;
    align-items: start;

    & p {
      width: 100%;
    }
  }
}

.team-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.profile-image {
  background: var(--color-light-alt);
  /* border: 1px solid var(--color-accent-alt); */
  border-radius: 20px;
  width: 100%;
  /* height: 100%; */
  /* aspect-ratio: 5/6; */
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5em;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  /* opacity: 0.5; */
  mix-blend-mode: screen;
}

.masked-image {
  position: absolute;
  z-index: 1;
  /* border-radius: 40px; */
  width: 100%;
  height: 100%;
  /* height: 300px; */
  background-color: var(--color-accent-alt);
  /* Your desired color */

  /* Apply the mask */
  /* mask-image: url("/assets/images/nuno-cutout.png"); */
  /* -webkit-mask-image: url('assets/images/nuno.png'); */

  mask-size: cover;
  /* -webkit-mask-size: cover; */

  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;

  mask-position: center;
}

.testimonials {
  margin-bottom: 6em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* padding: 20px; */

  .testimonial {
    padding: 2em;
    padding-bottom: 1em;
    background-color: #fff;
    color: var(--color-main);
    border-radius: 10px;
    /* border: 2px solid var(--color-light); */
    /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); */

    .rating {
      color: var(--color-secondary);
      margin-bottom: 2em;
    }

    &:nth-child(1) {
      /* background-color: var(--color-main); */
      /* color: var(--color-light); */
    }

    &:nth-child(3) {
      /* background-color: var(--color-secondary); */
      /* color: var(--color-main); */
    }
  }
}

.accordion {
  width: 100%;
  position: relative;
  z-index: 5;
  margin-bottom: 4em !important;
}

.accordion-item {
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.3s ease-out;
  background: var(--color-light-alt);
  color: var(--color-main);
  border-radius: 10px;
  margin-bottom: 0.5em;
  padding: 1.1em 2em 0.8em 2rem;
  text-align: left;

  &:last-child {
    margin-bottom: 0;
  }
}

.two-columns .accordion {
  margin-bottom: 0.5em !important;

  &:last-child {
    margin-bottom: 2em !important;
  }
}

.programs {
  .accordion-item {
    background: var(--color-light);
    border: 1px solid var(--color-main);
  }

  .cards {
    grid-template-columns: 1fr 1fr 1fr;
    /* margin-bottom: 0; */
    /* max-width: 800px; */
    margin: 0 auto 4em auto;
  }

  .card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    background-color: var(--color-light-alt) !important;
    /* border: 1px solid var(--color-main); */
    color: var(--color-main) !important;

    & svg text {
      /* opacity: 0.2; */
      display: none;
      fill: var(--color-light);
    }
  }

  .card.card-coming-soon {
    grid-column: 1 / span 3;
    text-align: center;
    background-color: var(--color-accent-alt) !important;
    color: var(--color-light) !important;
    /* border: 1px solid var(--color-main); */

    .button {
      background-color: var(--color-light) !important;
      color: var(--color-accent) !important;

      &:hover {
        background-color: var(--color-accent) !important;
        color: var(--color-light) !important;
      }
    }
  }

  .button {
    /* display: none; */
    width: fit-content;
    z-index: 5;
    background-color: var(--color-accent) !important;
    color: var(--color-light) !important;

    &:hover {
      background-color: var(--color-accent-alt) !important;
      color: var(--color-light) !important;
    }
  }
}

.accordion-title {
  display: flex;
  align-items: start;
  gap: 20px;
  cursor: pointer;
  position: relative;
  /* padding-right: 10%; */

  &::before {
    content: "";
    font-family: var(--font-icon);
    font-weight: 900;
    /* font-size: 28px; */
    text-align: center;
    position: relative;
    left: 0;
    top: 0.3em;
    width: 10px;
    /* height: 30px; */
    /* background: var(--color-light); */
    border-radius: 50%;
    /* transform: translateX(10px); */
    transition: transform 0.3s ease;
    transform-origin: center;
    color: var(--color-accent);
  }
}

.accordion-title p {
  margin-left: 0 !important;
  width: auto !important;
  white-space: nowrap;
  margin-top: 0.1em;
  margin-bottom: 0.1em;

  &:after {
    content: " :";
  }
}

.accordion-title h3 {
  margin: 0;
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  padding-left: 30px;

  & > * {
    overflow: hidden;
  }

  & p {
    margin: 0 !important;
  }
}

.accordion-item.active {
  /* background: var(--color-accent-alt); */
  /* color: var(--color-light); */

  .accordion-title::before {
    content: "";
    /* transform: rotate(180deg); */
  }

  .accordion-content {
    grid-template-rows: 1fr;

    .content-wrapper {
      padding-bottom: 1em;
    }
  }

  .accordion-title::after {
    transform: translateY(-50%) rotate(45deg);
  }
}

.slider.to-left {
  margin-top: 4em;
  margin-bottom: 6em;
  left: -10vw;
  /* transform: translateX(-20vw); */
}

.slider.to-right {
  margin-bottom: 6em;
  left: 20vw;
  transform: rotate(180deg) translateX(20vw);

  .slick-slide {
    transform: rotate(180deg);
  }
}

.slider {
  width: 120vw;
  position: relative;
  /* left: 0; */
  margin-top: 20px;
  padding: 0 10px;

  .slick-slide {
    padding: 0 10px;
  }

  .item {
    & img {
      width: 100%;
      /* aspect-ratio: 3/2; */
      object-fit: cover;
      border-radius: 10px;

      /* width: 40%; */
      /* aspect-ratio: 3/2; */
      /* max-width: unset; */
    }
  }
}

.page-title {
  padding-top: 4em;
  .huge {
    font-size: 14vw;
    color: var(--color-main);
    /* text-transform: none; */
  }

  & img {
    position: absolute;
    top: 0;
    width: 20vw;
  }
}

.social-button {
  font-size: 50px;
}

.series {
  .series-top {
    text-align: center;
    max-width: 1200px;

    .button {
      margin-bottom: 2em;
    }

    .description {
      max-width: 900px;
      margin: 0 auto 2em;
    }
  }

  .runs-title {
    text-align: center;
    padding: 0px 2rem 1rem;
  }

  .run-group,
  .runs-empty {
    background: var(--color-light-alt);
    /* border: 1px solid var(--color-light); */
    border-radius: 10px;
    padding: 1em;
    max-width: 900px;
    margin: 0 auto 3em auto;
  }

  .runs-empty {
    text-align: center;
    padding: 2em;
  }

  .run-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    .card {
      /* background: #fff; */
      /* border: 1px solid var(--color-light); */
      padding: 1em;
      border-radius: 10px;
      /* color: var(--color-light); */

      & p {
        margin-top: 0;
        margin-bottom: 1em;
      }
    }
  }

  .accordion {
    max-width: 900px;
    margin: 0 auto;

    .accordion-item {
      background: unset;
      border: 1px solid;
    }

    & h2 {
      text-align: center;
      padding: 0 2rem 1rem;
    }
  }
}

form {
  /* max-width: 500px; */
  margin: 0 auto;
  /* border: 1px solid var(--color-main); */
  /* border-radius: 10px; */
  /* padding: 3em; */
  /* background-color: white; */
}

.form-section {
  background: #fff;
  /* border: 1px solid var(--color-main); */
  border-radius: 10px;
  padding: 2em;
  margin-bottom: 2em;
}

input[type="text"],
input[type="number"],
input[type="email"] {
  display: block;
  font-size: 0.9em;
  padding: 8px 20px;
  width: 100%;
  line-height: 2em;
  border: 1px solid var(--color-main);
  /* background-color: var(--color-light); */
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  box-sizing: border-box;

  &.input-sm {
    width: 160px;
  }
}

.checkbox-option {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 3px;
  line-height: 1.7em;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid var(--color-main);
  border-radius: 6px;
  display: inline-block;
  width: 30px;
  flex: 0 0 30px;
  aspect-ratio: 1;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

input[type="checkbox"]:checked::after {
  content: "✓";
  color: var(--color-light);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}

input[type="checkbox"]:hover {
  border-color: var(--color-accent);
}

label {
  display: block;
  margin: 1.5em 0 0.3em 0;
  font-family: var(--font-heading);
}

:focus,
:focus-visible {
  outline: var(--color-accent) auto 1px;
}

.helper-text {
  color: var(--color-accent);
}

#run-checkboxes .checkbox-option {
  margin-bottom: 0.5em;
  background-color: var(--color-light);
  border-radius: 10px;
  padding: 15px;
}

.prerequisite-section {
  background-color: #fff;
  /* color: #fff; */
  /* padding: 20px; */
  /* border-radius: 8px; */
  /* margin: 20px 0; */
}

/* .prerequisite-notice h4 {
  font-family: var(--font-heading);
  text-transform: unset;
} */

.prerequisite-notice p {
  margin: 0.5em 0 1em 0;
}

.prerequisite-confirmation {
  background-color: var(--color-light);
  color: var(--color-main);
  padding: 15px;
  border-radius: 4px;
  cursor: pointer;
  margin: 0;
  display: flex;
  align-items: start;
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.7em;
}

.prerequisite-confirmation:hover {
  background-color: #e9ecef;
}

.prerequisite-confirmation input[type="checkbox"] {
}

@media screen and (max-width: 1200px) {
  /* :root {
    --max-width: 1000px;
  } */

  body {
    font-size: 16px;
  }

  main .two-columns {
    grid-template-columns: 1fr;
    /* margin-bottom: 0em; */
    gap: 0;
    max-width: 800px;
    /* text-align: center; */

    & p {
      width: 100%;
    }

    .oversized {
      transform: scale(1);
      padding-left: 5%;
      padding-right: 5%;
    }

    /* & img {
      transform: scale(1.2);
    } */

    .column:last-child {
      text-align: left;

      & p {
        margin-left: 0;
      }
    }

    &.reverse .column:last-child {
      grid-row: 1;
      margin-bottom: 0em;
    }
  }

  .cards {
    .card {
      padding: 2em;

      .status-label {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 0.7em;
      }
    }
  }
}

@media screen and (max-width: 1000px) {
  h1 {
    /* font-size: 12vw; */
  }

  h2 {
    /* font-size: 6vw; */
  }

  p {
    font-size: 18px;
  }

  header,
  footer {
    .container {
      /* max-width: unset; */
      padding-left: 40px;
      padding-right: 40px;
    }
  }

  header {
    margin-bottom: 4em;

    .logo svg {
      height: 120px;
    }

    .container {
      grid-template-columns: 1fr auto auto;
    }

    .button {
      grid-column: 2;
      grid-row: 1;
      margin-right: 10px;
    }

    .menu-toggle {
      grid-column: 3;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 50px;
      height: 50px;
      padding: 0;
      border: 1px solid var(--color-accent);
      border-radius: 10px;
      box-sizing: content-box;
      background: var(--color-accent);
      cursor: pointer;
      z-index: 11;
      position: relative;

      & span {
        display: block;
        width: 30px;
        height: 3px;
        border-radius: 3px;
        margin: 3px;
        background-color: var(--color-light);
        transition: transform 0.3s ease, opacity 0.3s ease;
      }

      &.active {
        & span {
          background-color: var(--color-light);
        }

        & span:nth-child(1) {
          transform: translateY(9px) rotate(45deg);
        }

        & span:nth-child(2) {
          opacity: 0;
        }

        & span:nth-child(3) {
          transform: translateY(-9px) rotate(-45deg);
        }
      }
    }

    & nav {
      pointer-events: none;
      position: fixed;
      top: 120px;
      right: 40px;
      border-radius: 10px;
      width: auto;
      height: auto;
      /* background: var(--color-accent); */
      flex-direction: column;
      justify-content: center;
      align-items: end;
      /* padding: 2rem; */
      z-index: 10;
      gap: 8px;
      /* transform: scale(0); */
      /* transform-origin: top right; */
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

      & div {
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 8px;

        &:nth-child(1) {
          transition-delay: 0.05s;
        }
        &:nth-child(2) {
          transition-delay: 0.1s;
        }
        &:nth-child(3) {
          transition-delay: 0.15s;
        }
        &:nth-child(4) {
          transition-delay: 0.2s;
        }
        &:nth-child(5) {
          transition-delay: 0.25s;
        }
        &:nth-child(6) {
          transition-delay: 0.3s;
        }
        &:nth-child(7) {
          transition-delay: 0.35s;
        }
        &:nth-child(8) {
          transition-delay: 0.4s;
        }
        &:nth-child(9) {
          transition-delay: 0.45s;
        }
        &:nth-child(10) {
          transition-delay: 0.5s;
        }

        & a {
          background: var(--color-accent);
          border-radius: 10px;
          padding: 10px 30px;
          color: var(--color-light);
          width: fit-content;
          display: block;
          font-family: var(--font-heading);
          font-size: 30px;
          text-transform: none;
        }

        .sub-menu {
          flex-direction: row;

          & a {
            background: var(--color-light);
            border: 1px solid var(--color-accent);
            color: var(--color-accent);
            font-family: var(--font-body);
            font-size: 0.9rem;
            text-transform: uppercase;
            line-height: 50px;
            padding: 0 30px;
          }
        }
      }

      &.active {
        pointer-events: auto;

        & div {
          opacity: 1;
          transform: translateX(0);
        }

        & a {
          color: var(--color-light);
        }
      }
    }

    & nav > div a:hover {
      background: var(--color-accent-alt);
      border-radius: 10px;
      /* padding: 10px 10px; */
      color: var(--color-light);
    }

    & nav .sub-menu a:hover {
      background: var(--color-accent-alt);
      border-color: var(--color-accent-alt);
      border-radius: 10px;
      /* padding: 10px 10px; */
      color: var(--color-light);
    }
  }

  body.menu-open {
    overflow: hidden;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .button {
    line-height: 50px;
    padding: 0 30px;
  }

  .container {
    max-width: 800px;
    padding: 0 40px;
  }

  .page-title {
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .symbol {
    font-size: 100vw;
  }

  /* .oversized {
    margin-top: 5vw;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  } */

  .boxed {
    height: unset;
  }

  .three-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ticker-wrapper {
    margin-top: 2em;
  }

  .cards {
    grid-template-columns: 1fr !important;

    .card {
      padding: 3em;
    }
  }

  .programs .cards {
    padding-top: 40px;

    .card-coming-soon {
      grid-column: 1;
    }
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .team .team-item {
    grid-template-columns: 1fr;
    gap: 0;

    .profile-image {
      max-width: 300px;
      aspect-ratio: 5/6;
      margin-left: 40px;
    }

    .team-content {
      margin-top: -100px;
      padding-top: 100px;
    }
  }

  .series .run-group {
    display: block;
    text-align: center;
    padding: 2em 1em;

    .card {
      padding: 0 1em;
    }
  }

  footer {
    margin-top: 4em;

    .container:first-child {
      margin-bottom: 2em;

      .two-columns .column {
        /* text-align: center !important; */
        /* margin-left: unset; */
        margin-bottom: 1em;

        & p {
          width: 100%;
        }
      }
    }

    .two-columns:last-child {
      gap: 0;

      & p {
        margin: 0;
      }
    }
  }
}

@media screen and (max-width: 500px) {
  header {
    .button {
      /* display: none; */
    }

    .container {
      grid-template-columns: 1fr auto;
      align-items: start;

      .logo {
        height: 100px;
        grid-column: 1;
        grid-row: 1 / span 2;
      }

      .button {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        margin: 0;
      }

      .menu-toggle {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        margin-top: 10px;
      }
    }
  }

  header,
  footer {
    .container {
      /* max-width: unset; */
      padding-left: 30px;
      padding-right: 30px;
    }
  }

  .container {
    max-width: 800px;
    padding: 0 30px;
  }

  .two-columns img {
    margin-top: 2em;
  }

  .two-columns p {
    width: 100%;
  }

  .boxed {
    padding: 40px;
  }

  .cards {
    .card {
      padding: 2em;

      .status-label {
        top: 8px;
        right: 8px;
        padding: 3px 6px;
        font-size: 0.65em;
      }
    }
  }

  .team .team-item {
    .profile-image {
      max-width: calc(100% - 80px);
    }
  }
}
