.container-cards{
  perspective: 1000px;
}

.card-padre{
  margin: 20px;
  perspective: 1000px;
}

.card-padre:hover .card-paso{
  transform: rotateY(180deg);
}

.card-paso{
  width: 200px;
  height: 250px;
  min-height: 250px;
  transform-style: preserve-3d;
  transition: all 600ms;
}

.card-front{
  background-size: 70%;
  background-position: top center;
  background-repeat: no-repeat;

  -webkit-animation: pulsate-fwd 1s ease-in-out infinite both;
          animation: pulsate-fwd 1s ease-in-out infinite both;
}


.card-front,
.card-back{
  height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  border-radius: 20px;
}

.card-back{
  transform: rotateY(180deg);
  background: #f9c160;
}

.body-card-front{
  height: 100%;
  padding: 40px;
  color: #fff;
  background-size: cover;
  background-position: center;
  transform: translateZ(60px);
}

.body-card-back{
  align-items: center;
  padding: 40px;
  transform: translateZ(60px);
}

.card-front h3{
  max-width: 150px;
  top: 55%; 
  font-size: 1.5em; 
  color: #0b1539;  
}

.body-card-back h3{
  color: #0b1539;
  font-size: 1em;
}

.body-card-back p{
  margin-top: 20px;
  font-size: 12px;
  color: var(--principal);
} 

.kenburns-top-left {
-webkit-animation: kenburns-top-left 5s ease-out both;
        animation: kenburns-top-left 5s ease-out both;
}

@-webkit-keyframes kenburns-top-left {
  0% {
    -webkit-transform: scale(1) translate(0, 0);
            transform: scale(1) translate(0, 0);
    -webkit-transform-origin: 16% 16%;
            transform-origin: 16% 16%;
  }
  100% {
    -webkit-transform: scale(1.25) translate(-20px, -15px);
            transform: scale(1.25) translate(-20px, -15px);
    -webkit-transform-origin: top left;
            transform-origin: top left;
  }
}
@keyframes kenburns-top-left {
  0% {
    -webkit-transform: scale(1) translate(0, 0);
            transform: scale(1) translate(0, 0);
    -webkit-transform-origin: 16% 16%;
            transform-origin: 16% 16%;
  }
  100% {
    -webkit-transform: scale(1.25) translate(-20px, -15px);
            transform: scale(1.25) translate(-20px, -15px);
    -webkit-transform-origin: top left;
            transform-origin: top left;
  }
}


@keyframes card-front {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}