.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-color: var(--color-primary);
  clip-path: polygon(0 0, 100% 0%, 100% 75%, 0% 100%);

  z-index: -1;
}

.hero > .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  padding: 8rem 0 14rem;
}

.hero__left {
  display: flex;
  flex-direction: column;
  gap: 4rem;

  flex: 0.75;
}

.hero__left > img {
  width: 100%;
}

.hero__sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__sponsor > p {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 1.2rem;
}

.hero__sponsor > img {
  width: 20rem;
}

.hero__other__sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__other__sponsor > p {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 0.8rem;
}

.hero__other__sponsor > img {
  max-width: 10rem;
  height: 5rem;

  object-fit: contain;
}

.hero__center {
  position: relative;
  width: 100%;
  align-self: stretch;

  flex: 1;
}

.hero__center > img {
  width: 100%;

  position: absolute;
  top: -9rem;
}

.hero__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  margin-left: 4rem;

  flex: 0.75;
}

.hero__right > img {
  width: 72%;
}

.hero__right > h1 {
  color: #ececec;

  font-family: "Black Lives", sans-serif;
  font-size: 20rem;
  line-height: 13rem;

  text-transform: uppercase;
}

.hero__right > h2 {
  color: #080808;

  font-family: "Black Lives", sans-serif;
  font-size: 8.5rem;

  text-transform: uppercase;

  display: flex;
  gap: 0.5rem;
}

.hero__right > h2 > span {
  color: transparent;
  -webkit-text-stroke: 0.1rem #ececec;
}

.hero__right > h3 {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 4.6rem;
  line-height: 1rem;

  font-weight: bold;
  font-style: italic;
}

.infinity-scroll {
  overflow: hidden;
  padding: 6rem 0;
  white-space: nowrap;

  position: relative;
}

.infinity-scroll__track {
  display: inline-block;
  animation: 10s slides infinite linear;
}

.infinity-scroll__track > img {
  max-width: 10rem;
  height: 5rem;

  object-fit: contain;

  margin-right: 6rem;
}

.infinity-scroll:hover .infinity-scroll__track {
  animation-play-state: paused;
}

@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.kit_c {
  display: flex;
  justify-content: flex-start;

  position: relative;
}

.kit__left {
  position: relative;
  flex: 2;

  padding-left: 2rem;
}

.kit__left > img {
  /* width: calc(100% + 8rem); */
  width: 100%;
}

.kit__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;

  flex: 0.8;

  /* transform: translate(-4rem, -2rem); */
}

.kit__right > h1 {
  color: var(--color-primary);

  font-family: "Amsi Pro", sans-serif;
  font-size: 3.5rem;
  font-weight: bold;
  font-style: italic;

  text-transform: uppercase;

  width: 100%;

  text-align: left;
}

.kit__right > p {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 2rem;
  font-style: italic;
  text-transform: uppercase;
}

.kit__right > .kit__price {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.kit__right > .kit__price > h3 {
  color: var(--color-primary);

  font-family: "Amsi Pro", sans-serif;
  font-size: 3rem;
  font-weight: bold;
  font-style: italic;

  text-transform: uppercase;

  width: 100%;

  text-align: center;
}

.kit__right > .kit__price > div {
  display: flex;
  justify-content: center;

  color: #fff;

  font-family: "Amsi Pro", sans-serif;
  font-size: 12rem;
  font-weight: bold;
  font-style: italic;

  line-height: 10rem;

  text-transform: uppercase;

  width: 100%;

  text-align: center;
}

.kit__right > .kit__price > div > p {
  font-size: 4rem;
  line-height: 4rem;
}

.kit__right > .kit__price > div > p:last-child {
  margin-top: auto;
  font-size: 7rem;
  line-height: 7rem;
}

.kit__right > .kit__price > div > p:first-child {
  margin-bottom: auto;
}

.kit__size {
  cursor: pointer;
  background: transparent;

  width: fit-content;

  margin: 0 auto;

  margin-top: 2rem;
  padding: 1rem 2rem;

  text-align: center;
  text-transform: uppercase;
  text-decoration: none;

  border: 2px solid var(--color-primary);
  border-radius: 0.5rem;
  font-size: 1.2rem;

  color: var(--color-primary);
}

.size-image {
  width: 100%;

  border-radius: 2rem;

  border: 1px solid #ececec80;
}

#code-button {
  background-color: transparent;

  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.slots {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;

  padding: 4rem 0;
}

.slots__title {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 2.8rem;
  font-weight: bold;
  font-style: italic;

  text-align: center;

  letter-spacing: 0.5rem;

  text-transform: uppercase;
}

.slots__title > span {
  color: var(--color-primary);
}

.slots__circuits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7rem;
}

.slots__circuit {
  text-decoration: none;

  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 16rem;
  max-height: 25rem;
  width: 100%;
  height: 100%;
  aspect-ratio: 0.64;

  padding-top: 4rem;

  position: relative;

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

.slots__circuit::before,
.slots__circuit::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;

  border: 2px solid #ececec;

  transform: skew(-7deg);

  pointer-events: none;
}

.slots__circuit::before {
  top: 1rem;
  right: 1rem;
  border-color: var(--color-primary);
}

.slots__circuit > h2 {
  color: #ececec;

  font-family: "Black Lives", sans-serif;
  font-size: 7rem;
  font-weight: bold;
  font-style: italic;

  text-transform: uppercase;

  line-height: 6rem;
}

.slots__circuit > button {
  appearance: none;
  background-color: transparent;
  border: none;

  cursor: pointer;

  color: var(--color-primary);

  font-family: "Black Lives", sans-serif;
  font-size: 2rem;

  text-transform: uppercase;
  text-decoration: none;
}

.slots__circuit > img {
  width: 16rem;
  filter: grayscale(100%);

  position: absolute;
  bottom: 0;
  right: 0;

  transform: translate(20%, 20%);

  z-index: 1;

  transition: filter 0.3s ease-in-out;
}

.slots__circuit:hover {
  transform: scale(1.05);
}

.slots__circuit:hover > img {
  filter: grayscale(0%);
}

.route {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;

  padding: 8rem 0;
}

.route__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.route__header > h2 {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 2.8rem;
  font-weight: bold;
  font-style: italic;

  letter-spacing: 0.5rem;

  text-transform: uppercase;
}

.route__kms {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.route__km {
  display: flex;

  cursor: pointer;

  color: #636262;
  background-color: transparent;
  border: none;

  font-family: "Black Lives", sans-serif;
  font-size: 10rem;
  font-style: italic;

  text-transform: uppercase;

  line-height: 7rem;

  filter: drop-shadow(0 0 0.5rem rgba(99, 98, 98, 0.4));

  transition: color 0.3s ease-in-out;
}

.route__km--selected {
  color: var(--color-primary);
  filter: drop-shadow(0 0 0.5rem var(--color-primary));
}

.route__content {
  display: flex;
  align-items: center;

  margin: 8rem 12rem 0;
}

.route__content > img {
  width: 100%;
}

/* .route__content > img:first-child {
  width: 37%;

  transform: translateY(-4rem);
}

.route__content > img:last-child {
  width: 63%;
} */

.brands {
  display: flex;
  flex-wrap: wrap;
}

.brand__realization,
.brand__sponsor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;

  padding: 4rem 0;

  flex: 1;
}

.brand__realization > p,
.brand__sponsor > p {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 1.2rem;

  text-transform: uppercase;
}

.brand__realization > img,
.brand__sponsor > img {
  width: 65%;
  min-width: 20rem;
}

.sponsors {
  background-color: rgb(8, 8, 8, 0.25);
}

.sponsors--secondary {
  background-color: rgb(8, 8, 8, 0.5);
}

.sponsors > .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;

  padding: 4rem 0;
}

.sponsors__title {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 1.2rem;

  text-transform: uppercase;
}

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

.sponsors__logos > img {
  max-width: 18rem;
  height: 8rem;

  object-fit: contain;
}

.sponsors--secondary .sponsors__logos > img {
  max-width: 12rem;
  height: 5rem;
}

.supporters {
  background-color: rgb(8, 8, 8, 0.8);
}

.supporters > .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;

  padding: 4rem 0 4rem 0;
}

.supporters__title {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 1.2rem;

  text-transform: uppercase;
}

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

.supporters__logos > img {
  max-width: 18rem;
  height: 8rem;

  object-fit: contain;
}

@media screen and (max-width: 1200px) {
  .hero > .wrapper {
    padding: 8rem 0 12rem;
  }
}

@media screen and (max-width: 1024px) {
  .kit_c {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .kit__right {
    max-width: 60rem;
  }

  .kit__right > h1 {
    text-align: center;
  }

  .route__content {
    margin: 0;
  }

  .sponsors__logos > img,
  .supporters__logos > img {
    max-width: 12rem;
    height: 5rem;
  }

  .sponsors--secondary .sponsors__logos > img {
    max-width: 8rem;
    height: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .hero__center {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  .hero > .wrapper {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .hero__right {
    max-width: 20rem;
    margin-left: 0;
  }

  .hero::before {
    clip-path: polygon(0 0, 100% 0%, 100% 90%, 0% 100%);
  }

  .kit__right > img {
    display: none;
  }

  .route__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .route__kms {
    width: 100%;
    align-items: center;
  }

  .route__km {
    font-size: 8rem;
  }

  .route__content {
    justify-content: center;
  }

  .infinity-scroll__track {
    animation-duration: 6s;
  }

  .infinity-scroll:hover .infinity-scroll__track {
    animation-play-state: running;
  }

  /* .route__content > img:first-child {
    display: none;
  } */
}
