/* .hk-backdrop {
  top: 0;
  left: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  object-fit: cover;
  object-position: center;
} */

.aurora {
  position: absolute;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.5;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 255, 0.1) 5%,
    rgba(255, 0, 255, 0.1) 95%,
    rgba(0, 0, 0, 0) 100%
  );

  filter: blur(3rem);
  /* z-index: -1; */
}

.aurora .aurora__circle {
  position: absolute;
  top: 0;
  left: 0;
  height: 12rem;
  width: 12rem;
  border-radius: 50%;
  transform: translate(35%, 35%);
  animation-name: aurora-move;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  opacity: 0.5;
}

.aurora .violet {
  transform: translate(35%, 35%);
  background-color: #6d28d9;
  animation-duration: 10s;
  animation-delay: 0ms;
}

.aurora .fuchsia {
  transform: translate(35%, 35%);
  background-color: #a21caf;
  animation-duration: 15s;
  animation-delay: 300ms;
}

.aurora .blue {
  transform: translate(35%, 35%);
  background-color: #1d4ed8;
  animation-duration: 25s;
  animation-delay: 700ms;
}

@keyframes aurora-move {
  0% {
    transform: translate(35%, 35%);
  }
  25% {
    transform: translate(125%, 25%);
  }
  50% {
    transform: translate(25%, 125%);
  }
  75% {
    transform: translate(125%, 125%);
  }
  100% {
    transform: translate(35%, 35%);
  }
}

#trustDriver .trust-driver__icon {
  margin-right: 1rem;
  height: 3rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
  border-radius: 99rem;
}

#trustDriver .trust-driver__icon-rate {
  height: 2rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 99rem;
}

.f-carousel {
  outline: 1px solid rgba(0, 0, 0, 0.125);
  background-color: #6d28d910;
  padding: 2rem 1rem 2rem 1rem;
  display: flex;
  overflow: scroll;
  scroll-snap-type: x mandatory;

  border-radius: 1.5rem;
  transition: outline 300ms ease-in-out, box-shadow 100ms ease-in-out;

  scrollbar-color: rebeccapurple green;
  scrollbar-width: thin;
}

.f-carousel:hover,
.f-carousel:focus,
.f-carousel:active {
  outline: 1px solid rgba(0, 0, 0, 0);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.f-carousel .f-carousel-item {
  margin: 0;
  padding: 0;
  margin-left: 1rem;
  margin-right: 1rem;
  scroll-snap-align: center;
  position: relative;
}

.f-carousel .f-carousel-item > img {
  border-radius: 1rem;
  display: block;
  width: 30rem;
  width: min(30rem, 75vw);
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: filter 300ms ease-in-out;
}

.f-carousel .f-carousel-item:hover > img,
.f-carousel .f-carousel-item:active > img,
.f-carousel .f-carousel-item:focus > img {
  filter: brightness(0.5);
}

.f-carousel .f-carousel-item > figcaption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease-in-out;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.f-carousel .f-carousel-item:hover > figcaption,
.f-carousel .f-carousel-item:active > figcaption,
.f-carousel .f-carousel-item:focus > figcaption {
  opacity: 1;
  pointer-events: all;
}

/* Custom Scroll Fade in */
main section,
main header,
main footer {
  opacity: 0;
}

main section.f-scroll-fade-in,
main header.f-scroll-fade-in,
main footer.f-scroll-fade-in {
  transition: opacity 0.5s ease-in-out;
}

#iconSlider {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#iconSlider > li {
  border-radius: 1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.5rem;
  min-width: 12rem;
  padding: 1rem 2rem;
  flex: 1;
  transition: transform 100ms ease-in-out;
}

#iconSlider > li:hover {
  transform: scale(1.05);
}

#iconSlider > li:nth-child(1) {
  background-color: #ef4444aa;
}
#iconSlider > li:nth-child(2) {
  background-color: #f59e0baa;
}
#iconSlider > li:nth-child(3) {
  background-color: #eab308aa;
}
#iconSlider > li:nth-child(4) {
  background-color: #22c55eaa;
}
#iconSlider > li:nth-child(5) {
  background-color: #84cc16aa;
}
#iconSlider > li:nth-child(6) {
  background-color: #0ea5e9aa;
}
#iconSlider > li:nth-child(7) {
  background-color: #6366f1aa;
}
#iconSlider > li:nth-child(8) {
  background-color: #a855f7aa;
}
