@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900');

.section{
  position: relative;
  max-width: 100%;
  display: block;
}
.full-height{
  min-height: 100vh;
}
.over-hide{
  overflow: hidden;
}
.padding-tb{
  padding: 100px 0;
}
[type="radio"]:checked,
[type="radio"]:not(:checked){
  position: absolute;
  left: -9999px;
}
.checkbox:checked + label,
.checkbox:not(:checked) + label{
  position: relative;
  cursor: pointer;
  margin: 0 auto;
  text-align: center;
  margin-right: 6px;
  margin-left: 6px;
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgb(186, 169, 219) ;
  background-size: cover; /*cambia el tamaño de la imagen para ocupar todo el contenedor*/
  background-position: center;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  background-image: url('../img/fotosInicio/foto5.jpeg');
  animation: border-transform 6s linear infinite alternate forwards;
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    animation-play-state: paused;
}
.checkbox.scnd + label{
  background-image: url('../img/fotosInicio/foto2.jpg');
}
.checkbox.thrd + label{
  background-image: url('../img/fotosInicio/foto3.jpeg');
}
.checkbox.foth + label{
  background-image: url('../img/fotosInicio/foto4.jpeg');
}

.checkbox:checked + label{
  box-shadow: 0 8px 25px 0 rgba(16,39,112,.3);
  transform: scale(1.3);
    -webkit-animation-play-state: running;
    -moz-animation-play-state: running;
    animation-play-state: running;
}
/*regla que se crea para ir animando grdualmente*/
@keyframes border-transform{
  0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; } 
  14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; } 
  28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; } 
  42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; } 
  56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; } 
  70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; } 
  84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; } 
}

.slider-height-padding {
  padding-top: 500px;
}

.listcar {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  min-width: 100%;
  z-index: 100; /*indica el orden de un elemento posicionadoy sus descendientes*/
  padding: 0;
  margin: 0;
  list-style: none; /*Estilo de las listas*/
}
.listcar .listcarobj {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  z-index: 100;
  padding: 0;
  margin: 0;
  list-style: none;
  height: 450px;
  border: 5px solid rgb(186, 169, 219) ;
  background-size: cover;
  background-position: center;
  background-image: url('../img/fotosInicio/foto5.jpeg');
  border-radius: 50%;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 2px;
  line-height: 2.7;
  color: black;
  writing-mode: vertical-rl;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 25px 0 rgba(16,39,112,.1);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.listcar .listcarobj span {
  mix-blend-mode: normal;/*DEfine como el contenido de un elemento debe mezclarse con el elemento que esta detras y con el fondo*/
}
.s1{
    color: white;
}
.listcar .listcarobj:nth-child(2) {
  background-image: url('../img/fotosInicio/foto2.jpg');
}
.listcar .listcarobj:nth-child(3) {
  background-image: url('../img/fotosInicio/foto3.jpeg');
}
.listcar .listcarobj:nth-child(4) {
  background-image: url('../img/fotosInicio/foto4.jpeg');
}


.checkbox.frst:checked ~ .listcar .listcarobj:nth-child(1) {
  opacity: 1;
  pointer-events: auto;/*circustancias en las que un elemento grafico puede convertirse en el objetivode los eventos*/
  border-radius: 16px;
}
.checkbox.scnd:checked ~ .listcar .listcarobj:nth-child(2) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 16px;
}
.checkbox.thrd:checked ~ .listcar .listcarobj:nth-child(3) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 16px;
}
.checkbox.foth:checked ~ .listcar .listcarobj:nth-child(4) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 16px;
}



@media (max-width: 767px) {
  .slider-height-padding {
    padding-top: 340px;
  }
  .listcar .listcarobj {
    height: 300px;
    font-size: 13px;
    letter-spacing: 1px;
  }
  .full-height{
    min-height: 60vh;
  }
}

@media (max-width: 575px) {
  .slider-height-padding {
    padding-top: 240px;
  }
  .listcar .listcarobj {
    height: 200px;
  }

  .full-height{
    min-height: 60vh;
  }
}



