.carousel-item {
  position: relative;
}

.carousel-center-image {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 20%;
  max-height: 220px;
  z-index: 2;
}

.carousel-caption {
  z-index: 3;
  color: inherit !important;
}

.carousel-background {
  height: 400px;
  background: var(--bs-body-bg);
}

.carousel-arrow {
  font-size: 3rem;
  color: var(--bs-body-color);
  transition: color 0.2s;
}

.carousel-control-prev:hover .carousel-arrow,
.carousel-control-next:hover .carousel-arrow {
  color: var(--bs-primary);
}

.carousel-indicators [data-bs-target] {
  background-color: var(--bs-primary);
  opacity: 0.4;
}

.carousel-indicators .active {
  background-color: var(--bs-primary) !important;
  opacity: 1;
}

.carousel-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}