@font-face {
  font-family: 'typewell';
  src: url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/fonts/TypewellLight.woff2') format('woff2'), url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/fonts/TypewellLight.woff') format('woff');
  font-weight: 300;
}

@font-face {
  font-family: 'typewell';
  src: url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/fonts/TypewellRegular.woff2') format('woff2'), url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/fonts/TypewellRegular.woff') format('woff');
  font-weight: 400;
}

@font-face {
  font-family: 'typewell';
  src: url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/fonts/TypewellBold.woff2') format('woff2'), url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/fonts/TypewellBold.woff') format('woff');
  font-weight: 700;
}

@font-face {
  font-family: 'typewell';
  src: url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/fonts/TypewellBlack.woff2') format('woff2'), url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/fonts/TypewellBlack.woff') format('woff');
  font-weight: 900;
}

/* ********** DEV PURPOSE ONLY ********** */

.lego-cross-girls-Rsg78M {
  --green: #03de04;
  --blue: #63c2ee;
  --yellow: #fbfb21;
  --pink: #ff6efd;
  --body-padding: 12px;

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

  container-type: inline-size;

  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
  padding: var(--body-padding);
  padding-bottom: 0;

  overflow-x: clip;

  background-color: white;

  color: black;
  font-family: 'typewell',
  sans-serif;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  p,
  span,
  li,
  strong,
  a {
    color: black;
    font-family: 'typewell', sans-serif;
    font-weight: 400;
    text-decoration: none;
    text-transform: none;
    text-align: center;
    line-height: normal;
  }

  sup {
    font-size: 1em;
    vertical-align: text-top;
  }

  strong {
    font-weight: 700;
  }

  h1,
  h2,
  h3,
  h4 {
    margin-block: 0;

    color: black;
    font-family: 'typewell', sans-serif;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.05em;
    line-height: 1;
  }

  .banner-container {
    width: 100%;

    border-radius: min(16px, 2cqw);

    aspect-ratio: 1/0.35;
    overflow: clip;

    img {
      width: 100%;
      height: 100%;

      object-fit: cover;
    }
  }

  .header {
    position: relative;

    display: flex;
    padding-block: 40px;

    flex-direction: column;
    align-items: center;
    gap: 16px;

    z-index: 5;

    h1 {
      font-size: max(24px, 3.7cqw);
      font-weight: 400;
      text-align: center;
      text-transform: uppercase;
      line-height: 1;

      span {
        display: block;

        font-size: max(18px, 3cqw);
        text-transform: none;
      }
    }

    p {
      max-width: 80ch;

      font-size: max(16px, 1.4cqw);
      text-align: center;
      text-wrap: balance;
      line-height: 1.3;

      span.highlight:last-of-type {
        display: block;
      }
    }

    .skateboard {
      position: absolute;
      bottom: 0;
      left: 0;

      width: max(70px, 10.9cqw);

      translate: 0 50%;
    }

    .orange-brick {
      position: absolute;
      top: min(16px, 1.6cqw);
      right: min(8px, 1cqw);

      width: max(30px, 4.5cqw);
    }
  }

  .gift-section {
    position: relative;

    display: flex;
    padding-block: 35cqw;
    margin-top: 40px;
    margin-bottom: 60px;

    border-radius: min(16px, 2cqw);

    align-items: center;
    flex-direction: column-reverse;
    gap: 16px;

    .text-container {
      width: 100%;

      text-align: center;

      h2 {
        margin-bottom: 16px;

        font-size: max(20px, 3cqw);
        font-weight: 400;
        text-transform: uppercase;
        text-align: center;
        line-height: 1;

        span {
          display: block;

          font-size: max(18px, 3cqw);
          font-weight: 700;
          text-transform: none;
        }
      }

      p {
        max-width: 40ch;
        margin-inline: auto;

        font-size: max(16px, 1.4cqw);
        text-align: center;
        line-height: 1.3;
      }
    }

    .image-container {
      position: absolute;

      display: flex;
      flex-direction: column;
      justify-content: space-between;

      inset: calc(-1 * var(--body-padding));

      img {
        width: 100%;
      }
    }

    .corner-brick {
      position: absolute;
      bottom: 0;
      left: 0;

      width: max(80px, 9.1cqw);

      translate: 0 100%;
    }
  }

  .set-categories {
    margin-bottom: 80px;

    h2 {
      margin-bottom: 16px;

      font-size: max(24px, 3.7cqw);
      font-weight: 400;
      text-align: center;
      text-transform: uppercase;
      line-height: 1;

      span {
        display: block;

        font-size: max(18px, 3cqw);
        text-transform: none;
      }
    }

    p {
      max-width: 80ch;
      margin-inline: auto;
      margin-bottom: 40px;

      font-size: max(16px, 1.4cqw);
      text-align: center;
      line-height: 1.3;
    }

    .categories {
      display: flex;

      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;

      li {
        position: relative;

        width: calc(50% - 4px);
        max-width: 280px;

        background-color: var(--green);
        border-radius: min(40px, 3.1cqw);

        aspect-ratio: 1/1;
        list-style: none;

        a {
          display: flex;
          padding: 16px;

          text-decoration: none;

          flex-direction: column;
          align-items: center;
          gap: 8px;

          strong {
            color: black;
            font-size: max(16px, 1.6cqw);
            font-weight: 900;
            text-transform: uppercase;
            text-align: center;

            @media (max-width: 340px) {
              font-size: 12px;
            }
          }

          .image-container {
            position: relative;

            width: 75%;

            aspect-ratio: 1/1;

            img {
              position: absolute;

              width: 100%;
              height: 100%;

              inset: 0;

              object-fit: contain;

              transition: scale 0.3s ease-out;
            }
          }

          .arrow {
            position: absolute;
            right: max(4px, 1cqw);
            bottom: max(4px, 1cqw);

            display: grid;
            width: max(20px, 3cqw);
            height: max(20px, 3cqw);

            background-color: black;
            border-radius: 50%;

            place-items: center;

            svg {
              height: 50%;

              translate: 12%;

              transition: transform 0.3s ease-out;
            }
          }
        }

        &:nth-of-type(2) {
          background-color: var(--blue);

          .image-container img {
            position: absolute;
            top: 50%;
            left: 50%;

            width: 125%;
            height: 125%;

            translate: -50% -50%;
          }
        }

        &:nth-of-type(3) {
          background-color: var(--yellow);

          .image-container img {
            position: absolute;
            top: 50%;
            left: 50%;

            width: 115%;
            height: 115%;

            translate: -50% -50%;
          }
        }

        &:nth-of-type(4) {
          background-color: var(--pink);

          .image-container img {
            position: absolute;
            top: 50%;
            left: 50%;

            width: 125%;
            height: 125%;

            translate: -50% -50%;
          }
        }

        &:hover {
          .image-container {
            img {
              scale: 0.9;
            }
          }

          .arrow {
            svg {
              scale: 0.9;
            }
          }
        }
      }
    }
  }

  .category-highlight.creatievelingen {
    --primary-color: var(--green);
  }

  .category-highlight.filmfanaten {
    --primary-color: var(--blue);
    --secondary-color: #a691fa;
  }

  .category-highlight.dierenvrienden {
    --primary-color: var(--yellow);
    --secondary-color: var(--green);
  }

  .category-highlight.vertellers {
    --primary-color: var(--pink);
  }

  .category-highlight {
    .heading-container {
      display: flex;
      width: 100%;

      background-color: var(--primary-color);
      border-radius: min(16px, 3cqw);
      padding-block: 8px;

      align-items: center;
      justify-content: center;

      h2 {
        font-size: max(24px, 3cqw);
        font-weight: 400;
        text-align: center;
        text-transform: uppercase;

        span {
          display: block;

          font-weight: 900;
          text-transform: none;
        }
      }
    }

    p {
      display: block;
      margin-block: 24px;
      max-width: 40ch;
      margin-inline: auto;

      text-align: center;
    }

    .bento-grid {
      display: grid;
      width: 100%;
      margin-bottom: 80px;

      grid-template-columns: 1fr 1fr;
      gap: 12px;

      list-style-type: none;

      .grid-banner {
        width: 100%;

        border-radius: min(16px, 3cqw);

        grid-column: span 2;

        overflow: clip;

        img {
          width: 100%;

          object-fit: cover;
        }

        .desktop-banner {
          display: none;

          @media (min-width: 1024px) {
            display: block;
          }
        }
      }

      .grid-single a {
        display: block;
        width: 100%;
        padding: 8px;

        grid-column: span 1;

        background-color: var(--primary-color);
        border-radius: min(16px, 3cqw);

        overflow: clip;
        cursor: pointer;

        .image-container {
          width: 90%;
          margin-inline: auto;

          aspect-ratio: 1/1;

          img {
            width: 100%;
            height: 100%;

            object-fit: contain;

            transition: scale 0.3s ease-out;
          }
        }

        button {
          display: block;
          width: 100%;
          margin-top: 8px;
          padding-block: 8px;

          background-color: white;
          border-radius: min(10px, 1.4cqw);
          border: none;

          color: black;
          font-size: min(20px, 4cqw);
          font-weight: 900;
          text-decoration: none;
          text-transform: uppercase;
          text-align: center;

          cursor: pointer;

          transition: opacity 0.3s ease-out;

          svg {
            display: inline-block;
            height: 0.7em;
            margin-left: 0.5ch;

            fill: black;
          }
        }

        &:hover .image-container img {
          scale: 0.9;
        }

        &:hover button {
          opacity: 0.6;
        }
      }

      .grid-double {
        grid-column: span 2;

        display: flex;
        width: 100%;
        padding: 8px;

        gap: 8px;

        background-color: var(--primary-color);
        border-radius: min(16px, 3cqw);

        overflow: clip;

        .image-container.logos {
          display: flex;
          width: 100%;

          align-items: center;
          justify-content: center;

          img {
            width: 100%;
            height: 100%;

            object-fit: contain;
          }
        }

        .set {
          width: calc(50% - 4px);
          padding: 8px;

          aspect-ratio: 1/1;

          .image-container {
            width: 100%;
            height: 100%;

            img {
              width: 100%;
              height: 100%;

              object-fit: contain;

              transition: scale 0.3s ease-out;
            }
          }

          &:hover {
            .image-container img {
              scale: 0.9;
            }
          }
        }

        .package {
          width: calc(50% - 4px);

          display: flex;
          height: 100%;

          flex-direction: column;
          align-items: center;
          justify-content: space-between;

          .image-container {
            max-height: 250px;
            width: 75%;
            margin-inline: auto;
            padding: 8px;

            aspect-ratio: 1/1;

            img {
              width: 100%;
              height: 100%;

              object-fit: contain;

              transition: scale 0.3s ease-out;
            }
          }

          button {
            display: flex;
            width: 100%;
            padding-block: 8px;

            align-items: center;
            justify-content: center;

            background-color: white;
            border-radius: min(10px, 1.4cqw);
            border: none;

            cursor: pointer;

            color: black;
            font-size: min(20px, 4cqw);
            font-weight: 900;
            text-align: center;
            text-decoration: none;
            text-transform: uppercase;
            line-height: 1;

            transition: opacity 0.3s ease-out;

            svg {
              display: inline-block;
              height: 0.7em;
              margin-left: 0.5ch;

              fill: black;
            }
          }

          &:hover .image-container img {
            scale: 0.9;
          }

          &:hover button {
            opacity: 0.6;
          }
        }
      }
    }

    &.creatievelingen {
      p {
        max-width: 50ch;
      }
    }

    &.filmfanaten {
      p {
        max-width: 48ch;
      }

      .bento-grid {
        li:first-of-type {
          background-color: transparent;

          img {
            max-width: 100%;
          }
        }

        li:nth-of-type(2) a,
        li:nth-of-type(3) a {
          background-color: var(--secondary-color);
        }
      }
    }

    &.dierenvrienden {
      p {
        max-width: 45ch;
      }

      .bento-grid li {
        background-color: var(--secondary-color);

        .package {
          justify-content: flex-end;
        }
      }
    }

    &.vertellers {
      p {
        max-width: 50ch;
      }
    }
  }

  .reviews {
    position: relative;

    z-index: 5;

    h2 {
      width: max-content;
      margin-inline: auto;
      margin-bottom: 40px;

      font-size: max(24px, 3.5cqw);
      text-transform: uppercase;
    }

    .review-container {
      display: flex;

      flex-direction: column;
      align-items: center;
      gap: 16px;

      .review {
        position: relative;

        width: 100%;
        max-width: 359px;
        height: 300px;
        padding-left: 20px;
        padding-top: 20px;
        padding-right: 12px;

        background-color: #1e181a;
        border-radius: min(16px, 3cqw);

        color: white;

        h3 {
          color: inherit;
          font-size: 24px;
          font-weight: 700;
          text-align: left;

          @media (max-width: 340px) {
            font-size: 18px;
          }
        }

        .rating {
          display: flex;

          gap: 4px;
          margin-block: 8px;

          list-style: none;

          li {
            width: 16px;
            height: 16px;

            &.filled {
              background: url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/images/filled-star.webp') no-repeat center center;
              background-size: contain;
            }

            &.empty {
              background: url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/images/empty-star.webp') no-repeat center center;
              background-size: contain;
            }
          }
        }

        strong {
          display: block;
          margin-bottom: 12px;

          color: inherit;
          font-size: 20px;
          text-align: left;
        }

        time {
          display: block;
          margin-bottom: max(12px, 0.9cqw);

          font-size: 12px;
          font-weight: 300;
          text-align: left;
        }

        p {
          color: inherit;
          font-size: 12px;
          text-align: left;
          text-wrap: balance;
          line-height: 1.5;
        }

        .recommended {
          position: absolute;
          bottom: 24px;
          left: 20px;

          display: flex;

          align-items: center;
          gap: 4px;

          .recommended-icon {
            display: grid;
            width: 16px;
            height: 16px;

            background-color: white;
            border-radius: 50%;

            place-items: center;

            svg {
              height: 40%;
            }
          }
        }
      }
    }
  }

  .footer {
    position: relative;

    height: min(500px, 115cqw);

    img {
      position: absolute;
      bottom: 0;
      left: 50%;

      height: min(648px, 120cqw);

      object-fit: cover;

      translate: -50% 0;
    }

    p {
      position: absolute;
      bottom: 40px;
      left: 50%;

      color: white;
      font-size: 12px;
      font-weight: 400;
      white-space: nowrap;

      translate: -50% 0;
    }
  }

  /* ********** UTILS ********** */

  .highlight {
    font-weight: bold;
  }

  .blob-background::after {
    content: '';

    position: absolute;

    background-image: url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/images/creatievelingen-background.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    inset: 0;

    z-index: -1;
  }

  .concave-square-background::after {
    content: '';

    position: absolute;

    background-image: url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/images/filmfanaten-background.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    inset: 0;

    z-index: -1;
  }

  .clover-background::after {
    content: '';

    position: absolute;

    background-image: url('https://legobelgium.s3.eu-west-1.amazonaws.com/crossgirls2025/images/dierenvrienden-background.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    inset: 0;

    z-index: -1;
  }

  .image-container {
    position: relative;

    z-index: 1;
  }

  .mobile {
    @media (min-width: 768px) {
      display: none;
    }
  }

  .desktop {
    display: none;

    @media (min-width: 768px) {
      display: block;
    }
  }

  @media (min-width: 768px) {
    .gift-section {
      padding-block: 0;

      flex-direction: row;

      .text-container {
        width: 45%;
      }

      .image-container {
        position: relative;

        width: 55%;

        border-radius: 0 min(16px, 2cqw) min(16px, 2cqw) 0;

        inset: auto;

        overflow: clip;
      }
    }

    .set-categories {
      .categories li {
        width: calc(25% - 8px);
      }

      h2 span {
        display: inline;
      }
    }

    .category-highlight {
      .heading-container h2 span {
        display: inline;
      }

      p {
        max-width: 50ch;

        font-size: 18px;
        line-height: 1.3;
      }
    }

    .reviews {
      .review-container {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;

        .review {
          max-width: 359px;
        }
      }
    }
  }

  @media (min-width: 1024px) {
    .set-categories {
      .categories {
        gap: 16px;

        li {
          width: calc(25% - 12px);
        }
      }
    }

    .category-highlight {
      .bento-grid {
        grid-auto-flow: column;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;

        .grid-banner {
          grid-column: span 2;
          grid-row: span 3;

          img {
            min-height: 100%;
          }

          .mobile-banner {
            display: none;
          }
        }

        .grid-single {
          grid-column: span 1;
          grid-row: span 1;
        }

        .grid-double {
          grid-column: span 2;
          grid-row: span 1;
        }
      }

      &.creatievelingen {
        .bento-grid {
          li:nth-of-type(2) {
            grid-column: 3/4;
          }

          li:nth-of-type(3) {
            grid-column: 4/5;
          }
        }
      }

      &.filmfanaten {
        .bento-grid {
          li:first-of-type {
            grid-column: 1/3;
          }

          li:nth-of-type(2) {
            grid-column: 1/2;
          }

          li:nth-of-type(3) {
            grid-column: 2/3;
          }

          li:nth-of-type(4) {
            grid-column: 1/3;
          }

          li:nth-of-type(5) {
            grid-column: 3/5;
          }
        }
      }
    }
  }
}