.carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  /* height: 50vh; */
  margin: auto;
  position: relative;
}

.carousel img {
  min-width: 100%;
  min-height: 50vh;
  object-fit: cover;
  transition: transform 1.0s ease;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carousel-controls button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}