.slider {
  margin-inline: auto;
  max-width:;
  width: 100%;
  position:relative;
}
.slider-img {
  margin: 0 10px;
}
.slider-img img {
  height: auto;
  width: 100%;
}