.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-item {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
}

.image-overlay {
  position: absolute;
  z-index: 1;
}

.carousel-center-image {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.carousel-item.logo-slide .image-overlay {
  width: 50vw;
  height: 50%;
  background-image: url('/img/logo_icv.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.carousel-item:not(.logo-slide) .image-overlay {
  width: 100%;
  height: 100%;
  background-size: cover;
}

.image-darken {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.carousel-text {
  position: relative;
  font-size: 1.3rem;
  color: white;
  z-index: 3;
  text-align: center;
}

.arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 4;
  background: #202020b7;
  padding: .5em;
  border-radius: 5px;
  transition-duration: .4s;
}

.arrow:hover {
  transition-duration: .4s;
  background: #414040b7;
}

@media (max-width: 800px) {
  .carousel-text {
    font-size: .8rem;
  }

  .arrow {
    font-size: 1.5rem;
  }
}