.splide {
  background-size: cover;
  background-position: center center;
  position: relative;
}

.splide__slide {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center center;
}
.splide__slide img{
object-fit: cover;
opacity:1;
}
.splide__slide .text-container {
  width:40vw;
  position: absolute;
  bottom: 20%;
  left: 10%;
  {#transform: translate(-50%, 0);#}
  z-index: 1;
  text-align: left;
  opacity: 1;

  padding:1rem;
 
}

.splide__slide .text-container h2 {
  /*font-size: 4em;*/
  line-height: 1em;
  margin-bottom: 2rem;
}

{#.splide__slide .text-container a {
  background-color: #36F0E0;
  border: 1px solid #36F0E0;
  border-radius: 20px;
  color: #FFF;
  cursor: pointer;
  display: inline-block;
  font-size: 0.92rem;
  font-weight: normal;
  height: auto;
  line-height: 1.1;
  margin: 0;
  padding: 15px 53px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s linear;
  white-space: normal;
  width: auto;
  word-break: break-word;
  
}

.splide__slide .text-container a:hover {
  background-color: #331b50;
  border: 1px solid #331b50;
  color: #fff;
}#}

 .splide__pagination {
    display: flex !important;
    justify-content: space-around !important;
}

.splide__pagination__page {
  content:"Hola";
    border: 1px solid black !important;
    border-radius: 0 !important;
    margin:50px !important;
    height:2rem !important;
    width:2rem !important;
}
.splide__pagination__page.is-active {
   background:red !important;
} 
.my-carousel-progress {
  background: #ccc;
  width: 90vw;
  margin: 0 auto;
}


.my-carousel-progress-bar {
  background: #ff1628;
  height: 6px;
/*   transition: width 1s linear; */

/*   animation: fill 12s linear infinite; */
  bottom: 7rem;
/*   left: 50%; */
  position: relative;
/*   transform: translateX(-50%); */
}
@keyframes fill {
  0% {
    width: 0;
}
100% {
    width: 100%;
}
}

@media only screen and (max-width: 600px) {
  .splide__slide .text-container h2 {
  font-size: 1.4em;
  line-height: 1em;
  margin-bottom: 1rem !important;
}
  .splide__slide{
    height:auto !important;
  }
  .splide__pagination__page{
    height:1em !important;
    width:1em !important;
  }
  .btn .btn-red{
   font-size:1.4em !important; 
  }
  .splide__slide .text-container{
   width:90vw !important; 
    height:65%;
  }
  .my-carousel-progress-bar{
   bottom:2em !important; 
  }
}
  
