/*! http://responsiveslides.com v1.55 by @arielsalminen */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  height: 750px;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: start;
}

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
}

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}

.rslides img {
  display: block;
  height: auto;
  float: left;
  object-fit: cover;
  width: 100%;
  border: 0;
}

.callbacks_container {
  position: relative;
  margin: auto;
  /* border: 1px red solid; */
}

.callbacks_container img {
  height: 100%;
  object-fit: cover;

}

.callbacks_container ul {
  margin: 0px;
}

.caption {
  position: absolute;
  z-index: 2;
  text-align: center;
  font-size: 30px;
  text-shadow: 0px 0px 10px #333;
  color: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px blue solid;
}

.callbacks_nav {
  position: absolute;
  top: 50%;
  left: 0;
  opacity: 0.9;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 50px;
  width: 30px;
  background: transparent url("../images/flechas.png") no-repeat left top;
  margin-top: -45px;
}

.callbacks_nav.prev {
  left: 20px;
}

.callbacks_nav.next {
  left: auto;
  background-position: right top;
  right: 20px;
}

.sliderText {
  width: 330px;
  position: absolute;
  right: 10%;
  top: 30%;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: end;
  flex-direction: column;
}

.sliderText .header {
  width: 300px;
  text-align: end;
  color: var(--red);
}

.sliderText .header h1 {
  font-size: 60px;
  line-height: 70px;
  margin: 0;
}

.sliderText .body {
  text-align: end;
}

.btn {
  text-decoration: none;
  color: white;
  transition: all 0.3s ease-out;
  border-radius: 5px;
  background-color: var(--red);
  display: inline-block;
  padding: 0px 50px;
  font-weight: 600;
}

@media screen and (max-width: 480px) {

  /* Responsive Slides */
  .rslides {
    height: 300px;
  }

  .rslides img {
    width: 100%;
    height: 300px;
  }


  .sliderText {
    justify-content: center;
    align-items: center;
    padding: 10px;
    left: 0;
    right: 0;
    top: 20px;
  }

  .sliderText .body {
    text-align: center;
    display: none;
  }

  .sliderText .header {
    text-align: center;
    margin-bottom: 20px;
  }

  .sliderText .header h1 {
    color: var(--white);
    /* font-size: 10px; */
  }

  .callbacks_nav.prev {
    left: 5px;
  }

  .callbacks_nav.next {
    right: 5px;

  }

}