@font-face {
  font-family: 'InterTight';
  src: url('/fonts/InterTight-VariableFont_wght') format('woff2-variations');
  font-weight: 100 900; /* full variable range */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'UncutSans';
  src: url('/fonts/UncutSans-Variable.woff2') format('woff2-variations');
  font-weight: 400 500; /* full variable range */
  font-style: normal;
  font-display: swap;
}


*,
    *::before,
    &::after {
      box-sizing: border-box;
    }

    body,
    h1,
    h2,
    h3,
    h4,
    h5,
    p,
    ul,
    ol,
    figure,
    blockquote,
    dl,
    dd {
      margin: 0;
    }

    :root {
      --gray-dark: #1B1E26;
      --gray: #656973;
      --gray-light: #DFE0E5;
      --teal: #19A2A7;
      --orange: #FF9A20;
      --orange-dark: #E35B11;
      --white: #fff;
    }
  

  html {

    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  body {
    background: var(--gray-dark);
    color: var(--white);
    font-family: "InterTight", sans-serif
  }

  h1, h2 {
    font-family: "UncutSans", sans-serif;
    text-wrap: balance;
  }

  .Container {
    max-width: 1360px;
    padding: 0 2rem;
    margin-inline: auto;
  }

  .Announcement {
    text-align: center;
    color: #fff;
    text-decoration: none;
    display: block;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background 200ms;
    text-wrap: balance;
  }

  .Announcement:hover {
    background: #2A2D33;
  }

  .Nav {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  @media (max-width: 425px) {
    .Nav {
      justify-content: center;
    }
    .Nav .Buttons {
      display: none;
    }
  }

  .NavContainer {
    background: #3E4147;
    padding: 1rem 0;
  }

  .Hero {
    background: url("./grid.svg");
    padding: 10rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px var(--orange) solid;
  }

  @media (max-width: 600px) {
    .Hero {
      padding: 5rem 2rem;
    }
  }

  .Hero .Buttons {
    margin-top: 2rem;
  }

  .HeroAnnouncement {
    text-transform: uppercase;
    background: var(--gray-dark);
    border: 1px var(--gray) solid;
    padding: 4px 12px 4px 4px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    gap: 12px;
    font-weight: 500;
    align-items: center;
  }

  @media (max-width: 500px) {
    .HeroAnnouncement {
      flex-direction: column;
      padding: 8px;
      row-gap: 8px;
    }

    .HeroAnnouncement span {
      width: 100%;
    }
  }

  .HeroAnnouncement span {
    background: var(--teal);
    border-radius: 2px;
    padding: 0.15rem 0.5rem; 
  }

  .HeroAnnouncementText {
    display: flex;
    gap: 0.35rem;
    align-items: center;
  }

  .Hero {
    text-align: center;
  }

  .HeroTitle {
    font-size: clamp(3rem,5vw,5.5rem);
    font-weight: 500;
    text-align: center;
    text-wrap: balance;
  }

  .Hero p {
    font-size: 1.25rem;
    color: var(--gray-light);
  }

  .SectionIntro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 7.5rem 2rem 5rem 2rem;
    text-align: center;
  }

  .SectionIntro h2 {
    letter-spacing: -0.02em;
    font-size: 3.5rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .SectionIntro h2 span {
    text-transform: uppercase;
    font-size: 1.125rem;
    color: var(--orange-dark);
  }

  .SectionIntro p {
    font-size: 1.25rem;
    color: var(--gray-light);
    text-wrap: balance;
  }

  .Card {
    background: linear-gradient(0deg, rgba(75, 75, 75, 0.1), rgba(75, 75, 75, 0.1)), rgba(255, 255, 255, 0.1);
    border: 1px solid #656973;
    box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.12);
    border-radius: 24px;
    padding: 2rem;
    overflow: hidden;
    backdrop-filter: blur(3px);
  }

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

  .PitStopCard h3 {
    font-size: 36px;
    font-weight: 500;
  }

  .PitStopCard p {
    font-size: 20px;
    line-height: 1.4;
  }

  .Flag {
    width: 100%;
    height: 86px;
    background: url("./flag.svg");
    margin-top: 7rem;
    margin-bottom: 3rem;
  }

  .BuiltInCard h3 {
    font-size: 2rem;
    letter-spacing: -0.02em;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }

  .BuiltInCard p {
    font-size: 20px;
    color: var(--gray-light);
    line-height: 1.4;
  }

  .BuiltInCard img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    display: block;
    margin-top: 2.5rem;
  }


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

  .HowToCard h3 {
    font-weight: 600;
    font-size: 1.25rem;
    text-transform: uppercase;
  }

  .HowToCard p {
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--gray-light);
  }

  .CTA {
    padding: 7.5rem 0;
  }

  .CTA h2 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
  }

  .CTA p {
    font-size: 20px;
    color: var(--gray-light);
    line-height: 1.4;
  }

  .CTA .Buttons {
    justify-content: flex-start;
  }

  .CTA svg {
    max-width: 100%;
    height: auto;
  }

  .CTAGrid {
    display: flex;
    gap: 5vw;
    align-items: center;
    justify-content: space-between;
  }

  .CTAGrid > svg {
    flex-shrink: 0;
  }

  .CTAContent {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 80ch;
  }

  @media (max-width: 850px) {
    .CTA {
      text-align: center;
    }

    .CTAGrid {
      flex-direction: column;
    }

    .CTA .Buttons {
      justify-content: center;
    }

    .CTA p {
      max-width: 50ch;
    }
  }

  .Cards {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  }

  .Button {
    background: var(--orange-dark);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    text-decoration: none;
    border-radius: 8px;
    border: 1px var(--orange-dark) solid;
    transition: background 200ms;
  }

  .Button:hover {
    background: var(--orange);
    border-color: var(--orange);
  }

  .ButtonSecondary {
    background: #fff;
    color: var(--gray-dark);
    border-color: var(--gray-light);
  }

  .ButtonSecondary:hover {
    background: var(--gray-light);
    border-color: var(--gray-light);
  }

  .Buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .LinkCta {
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 200ms;
    color: #fff;
  }

  .LinkCta:hover {
    color: var(--gray-light);
  }

  .BoothCard {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .BoothCard svg {
    width: 100%;
    height: auto;
  }

  .BoothMap {
    background: #2A2D33;
    height: 100%;
    display: flex;
    align-items: center;
  }

  

  .BoothCardContent {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  @media (max-width: 800px) {
    .BoothCard {
      grid-template-columns: 1fr;
    }

    .BoothCardContent {
      align-items: center;
      text-align: center;
    }
  }

  .BoothCardEyebrow {
    font-size: 1.25rem;
    text-transform: uppercase;
  }

  .BoothCardNumber {
    font-size: 7rem;

    font-size: clamp(5rem,5vw,7rem);
    font-weight: bold;
  }

  .BoothCard p {
    font-size: 20px;
    line-height: 1.4;
    text-wrap: balance;
  }

  .BoothCardContent a {
    margin-top: 1.5rem;
  }

  .WinnersPositionCard {
    align-self: center;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 600;
    justify-self: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    grid-row: 1;
  }

  .Winners .Cards {
    grid-template-columns: 1fr;
  }

  .WinnersPositionLine {
    grid-row: 1;
    grid-column: 1/5;
    width: 75%;
        align-self: center;
    justify-self: center;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--gray-light) 0,
    var(--gray-light) 12px,
    transparent 12px,
    transparent 24px
  );
  }

  .WinnersHeader {
    grid-column: 1/-1;
    grid-template-columns: 1fr 1fr 1fr;
    display: none;
  }

  .WinnersCard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 550px;
    justify-self: center;
  }

  .WinnersCard h3 {
    font-size: 1.25rem;
    font-weight: 600;
  }

  .WinnersCard p {
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--gray-light);
  }

  .WinnersCard p.WinnersCardPrice {
    color: var(--orange-dark);
    margin-top: 0.5rem;
  }

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

  .WinnersGridPositionCard h3 {
    font-weight: 600;
    font-size: 1.25rem;
  }

  .WinnersGridPositionCard p {
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--gray-light);
  }

  

  @media (min-width: 1000px) {
    .WinnersPositionCard:nth-child(2) {
      grid-column: 1;
    }

    .WinnersPositionCard:nth-child(3) {
      grid-column: 2;
    }

    .WinnersPositionCard:nth-child(4) {
      grid-column: 3;
    }

    .WinnersHeader {
      display: grid;
    }

    .WinnersPositionCardMobile {
      display: none;
    }

    .Winners .Cards {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }

  .WinnersPositionCardMobile {
    grid-row: auto;
  }

  .WinnersCTA {
    grid-column: 1/-1;
    justify-self: center;
    margin-top: 4rem;
  }

  .BuiltIn .Cards {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  }


  .Participate svg {
    max-width: 100%;
    height: auto;
  }

  .walking {
    animation: dash-move 400ms linear infinite;
  }

  @keyframes dash-move {
    to {
      stroke-dashoffset: -16;
    }
  }
