.projects-and-campaigns-section {
  padding-block: 8.75rem;
  background-color: $background-accent;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-flow: row;
  place-items: center;
  scroll-margin-top: 3rem;
  h2 {
    color: $primary;
    font-weight: 900;
    letter-spacing: 0.08875rem;
    font-size: 4rem;
    text-align: center;
  }

  h3 {
    font-weight: 700;
    font-size: 3.75rem;
    letter-spacing: 0.075rem;
    margin-bottom: 1rem;
  }

  .get-licensed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    gap: 3rem;
    width: calc(100% - 2 * 12.81rem);
    margin-top: 3.56rem;
    .get-licensed-text {
      place-self: center start;
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;

      p {
        line-height: 1.6;
      }

      .learn-more {
        border-radius: 1.5625rem;
        background-color: $primary;
        color: $text-light;
        text-decoration: none;
        width: fit-content;
        padding-inline: 2.25rem;
        padding-block: 0.81rem;
      }
    }
    .get-licensed-picture {
      place-self: center end;
      width: calc(10 / 12 * 100%);
      height: auto;
      aspect-ratio: 25 / 16;
      position: relative;
      img {
        width: 100%;
        height: 100%;
        border-radius: 2.5rem;
        box-shadow: 7px 7px 50px 4px rgba(88, 24, 30, 0.4);
        object-fit: cover;
      }
    }
  }
  .iecep-day {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    width: calc(100% - 2 * 12.81rem);
    margin-top: 3.56rem;
    gap: 3rem;
    .iecep-day-picture {
      place-self: center start;
      width: calc(10 / 12 * 100%);
      height: auto;
      aspect-ratio: auto;
      object-fit: contain;
      position: relative;
      img {
        width: 100%;
        height: 100%;
        border-radius: 2.5rem;
        box-shadow: 7px 7px 50px 4px rgba(88, 24, 30, 0.4);
      }
    }
    .iecep-day-text {
      place-self: center end;
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;

      p {
        line-height: 1.6;
      }

      .learn-more {
        border-radius: 1.5625rem;
        background-color: $primary;
        color: $text-light;
        text-decoration: none;
        width: fit-content;
        padding-inline: 2.25rem;
        padding-block: 0.81rem;
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .projects-and-campaigns-section {
    padding-block: 3rem;
    .get-licensed {
      width: calc(100% - 6rem);
      gap: 2rem;
      .get-licensed-text {
        h3 {
          font-size: 2.5rem;
        }
      }
      .get-licensed-picture {
        width: 100%;
      }
    }
    .iecep-day {
      width: calc(100% - 6rem);
      gap: 2rem;
      .iecep-day-text {
        h3 {
          font-size: 2.5rem;
        }
      }
      .iecep-day-picture {
        width: 100%;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .projects-and-campaigns-section {
    h2 {
      font-size: 3rem;
    }

    .get-licensed {
      margin-top: 2rem;
      grid-template-columns: repeat(1, 1fr);
      row-gap: 1rem;
      place-self: start center;

      .get-licensed-text {
        order: 2;
        h3 {
          margin-bottom: 0;
        }
      }

      .get-licensed-picture {
        place-self: center;
        order: 1;
      }
    }
    .iecep-day {
      grid-template-columns: repeat(1, 1fr);
      gap: 1rem;

      .iecep-day-text {
        order: 2;
        h3 {
          margin-bottom: 0;
        }
      }

      .iecep-day-picture {
        place-self: center;
        order: 1;
      }
    }
  }
}

@media screen and (max-width: 480px) {
  .projects-and-campaigns-section {
    .get-licensed {
      .get-licensed-text {
        h3 {
          text-align: center;
        }
      }
    }
    .iecep-day {
      .iecep-day-text {
        h3 {
          text-align: center;
        }
      }
    }
  }
}
