.container {
  background-color: #f5f5f5;
  margin-top: 150px;
  margin-bottom: 50px;
}

.images {
  display: flex;
  gap: 2vw;
  flex-wrap: wrap;
}

.slider {
  display: flex;
  align-items: center;
  position: relative;
  width: 18.4vw;
  height: 25rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  z-index: 10;
}
.arrow.left {
  left: 5px;
}
.arrow.right {
  right: 5px;
}
.dots {
  text-align: center;
  position: absolute;
  bottom: 5px;
  width: 100%;
}
.dot {
  display: inline-block;
  margin: 0 3px;
  cursor: pointer;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: #bbb;
}
.dot.active {
  background-color: #333;
}

@media (max-width: 768px) {
  .container {
    margin-top: 75px;
  }
  .slider {
    width: 100%;
    margin: 20px 20px 0 20px;
  }
}
