.carrusel-container {
  position: relative;
  width: 60%;
  max-width: 400px;
  margin: auto;
  overflow: hidden;
}

.carrusel {
  display: flex;
  transition: transform 0.5s ease;
}

.carrusel img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  z-index: 1;
  transform: translateY(-50%);
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}

.carrusel-item {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carrusel-caption {
  position: static;
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
  padding: 10px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: -5px;
  line-height: 1.2;
}

.carrusel-caption h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.carrusel-caption p {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}