.hero__video {
  position: absolute;
  inset: 0;
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .hero--home {
    min-height: 100svh;
    background-image: url('/images/3.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero__video {
    display: none;
  }
}

.perspective {
  perspective: 1000px;
}

.transform-style-preserve-3d {
  transform-style: preserve-3d;
}


.backface-hidden {
  backface-visibility: hidden;
}

.transaction-carousel {
  --transaction-slide-width: min(19rem, calc(100vw - 6rem));
  display: flex;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  justify-content: flex-start;
  padding-inline: calc((100% - var(--transaction-slide-width)) / 2);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.transaction-carousel::-webkit-scrollbar {
  display: none;
}

.transaction-slide {
  width: var(--transaction-slide-width);
  scroll-snap-align: center;
}

.transaction-card__panel {
  min-height: 28rem;
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in oklab, oklch(37.5% 0.0793 238.45) 14%, white);
  border-radius: 0.5rem;
  background: white;
  box-shadow: 0 10px 30px color-mix(in oklab, oklch(37.5% 0.0793 238.45) 8%, white);
  overflow: hidden;
}

.transaction-card__content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 2.75rem 2.25rem;
}

.transaction-card__content--stacked {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 1.75rem;
}

.transaction-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7rem;
  min-width: 0;
}

.transaction-card__logo {
  max-width: 18rem;
  max-height: 5.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.transaction-card__middle {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.transaction-card__label {
  color: oklch(37.5% 0.0793 238.45);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .transaction-carousel {
    --transaction-slide-width: min(19rem, calc(100vw - 6rem));
  }

  .transaction-card__panel {
    min-height: 20rem;
  }

  .transaction-card__content {
    padding: 1.8rem 1.5rem;
  }

  .transaction-card__content--stacked {
    gap: 1.25rem;
  }

  .transaction-card__logo {
    max-width: 13rem;
    max-height: 4rem;
  }
}

@media (min-width: 640px) {
  .transaction-carousel {
    --transaction-slide-width: 17rem;
    gap: 1.5rem;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 0;
  }
}

@media (min-width: 1024px) {
  .transaction-carousel {
    --transaction-slide-width: 17rem;
    justify-content: center;
    padding-inline: 0;
    gap: 1.5rem;
  }

  .transaction-card__panel {
    min-height: 20rem;
  }

  .transaction-card__content {
    padding: 1.35rem 0.6rem;
    gap: 0.9rem;
  }

  .transaction-card__logo-wrap {
    min-height: 4.5rem;
  }

  .transaction-card__logo {
    max-width: 16rem;
    max-height: 4.75rem;
  }
}

#front2::after,
#front3::after,
#front4::after,
#front8::after,
#front9::after,
#front9::after {
    content: "";
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid oklch(37.5% 0.0793 238.45);
    border-bottom: 6px solid oklch(37.5% 0.0793 238.45);
}

#front5::after,
#front7::after {
    content: "";
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid oklch(37.5% 0.0793 238.45);
    border-bottom: 6px solid oklch(37.5% 0.0793 238.45);
}

#overlay5::after,
#overlay7::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 0;
    height: 0;
    border-right: 6px solid transparent;
    border-top: 6px solid transparent;
    border-left: 6px solid oklch(37.5% 0.0793 238.45);
    border-bottom: 6px solid oklch(37.5% 0.0793 238.45);
}

#overlay2::after,
#overlay8::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 0;
    height: 0;
    border-right: 6px solid transparent;
    border-top: 6px solid transparent;
    border-left: 6px solid oklch(37.5% 0.0793 238.45);
    border-bottom: 6px solid oklch(37.5% 0.0793 238.45);
}

#overlay3::after,
#overlay4::after,
#overlay9::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 0;
    height: 0;
    border-right: 6px solid transparent;
    border-top: 6px solid transparent;
    border-left: 6px solid oklch(37.5% 0.0793 238.45);
    border-bottom: 6px solid oklch(37.5% 0.0793 238.45);
}
