.slider-container {
  position: relative;
  overflow: hidden;
  width: 90%;
  max-width: 1000px;
  height: 40vw;
  max-height: 400px;
  margin: 25px auto;
}
.slider-container .slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slider-container .slide {
  width: 100%;
  height: auto;
}
.slider-container .btn-prev,
.slider-container .btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  font-size: 4vw;
  color: #333;
  border: none;
  padding: 1vw;
  cursor: pointer;
}
.slider-container .btn-prev {
  left: 1vw;
}
.slider-container .btn-next {
  right: 1vw;
}