/*body {
  font-size: 30px;
  text-align: center;
}*/
.container-slider {
  width: 100%;
  height: 200px;
  position: relativa;
  /*overflow-x: hidden;*/
  overflow: hidden;
  margin-bottom: 2px;
}

.wrapper {
  
  display: flex;
  flex-direction: row;
  width: max-content;
  position: relative;     /*importante*/
  left: var(--ancho-dinamico2);
}
#wrapper.smooth-transition {
  transition: left 0.4s ease-out;
 
}
.slide {
  height: 200px;
  width: var(--ancho-dinamico);   /*este es el div  de la imagen */
  background-repeat: repeat-x;
}
.slide:nth-child(1),
.slide:nth-child(5) {
  background-image: url('../images/banners/img1.jpg');
  object-fit: cover;
}
.slide:nth-child(2),
.slide:nth-child(6) {
  background-image: url("../images/banners/img2.jpg");
  object-fit: cover;
}
.slide:nth-child(3) {
  background-image: url("../images/banners/img3.jpg");
  object-fit: cover;
}
.slide:nth-child(4) {
  background-image: url("../images/banners/img4.jpg");
  object-fit: cover;
.btn {
  position: absolute;
  top: 10%;
  text-align: center;
  font-size: 30px;
  margin-top: -15px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: bolder;
  cursor: pointer;
}
.btn:hover {
  transform: scale(1.2);
  color: white;
}
#prev {
  left: 15px;
}
#next {
  right: 15px;
}
.indicators {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;
  height: 40%;
  /*background-position: left;*/
}
.indicator {
  cursor: pointer;
  height: 5px;
  width: 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  margin: 0px 3px;
  transition: background-color 0.6s ease;
}
.indicator:hover,
.indicator.active {
  background-color: white;
  transform: scale(1.5);
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
