.hero {
  position: relative;
  background: url("/assets/images/mfc_hero.webp") center/cover no-repeat;
  height: calc(100vh - 60px);
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 2;
}

.hero-title {
  font-size: calc(2vw + 2rem);
  color: var(--color-primary);
  -webkit-text-stroke: 3px var(--color-success);
  text-shadow: none;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-in-out;
}
.bn .hero-title {
  -webkit-text-stroke: 1px var(--color-success);
}
.hero-title strong {
  font-size: calc(4vw + 2rem);
}
.hero-subtitle {
  display: inline-flex;
  color: var(--accent-yellow);
  text-decoration: underline dotted 5px var(--text-primary);
  width: fit-content;
  font-size: calc(1rem + 2vw);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-in-out 0.5s;
}

.hero-button {
  display: inline-block;
  padding: 10px;
  font-size: 1.5em;
  font-weight: bolder;
  text-decoration: none;
  color: var(--background);
  background-color: var(--color-primary);
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
  margin: 2vw;
}

.hero-button:hover {
  background-color: var(--color-success);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wrapper {
  width: 100%;
  position: relative;
}

.wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}

.wrapper i:active {
  transform: translateY(-50%) scale(0.85);
}

.wrapper i:first-child {
  left: -22px;
}

.wrapper i:last-child {
  right: -22px;
}

.wrapper .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

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

.carousel.no-transition {
  scroll-behavior: auto;
}

.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel .card {
  height: 150px;
  scroll-snap-align: start;
  list-style: none;
  cursor: pointer;
  flex-direction: column;
}

.carousel .card .img {
  overflow: hidden;
}

.card .img img {
  width: fit-content;
  object-fit: cover;
  border-radius: 5px;
}

.carousel .card span {
  color: #6a6d78;
  font-size: 1.31rem;
}

@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}
