.card {  
  width: 24%;
  height: 250px;
  margin: 6px;
  padding: 2px;
  float: left;
  border-radius: 15px;
  transition: transform 1s ease;
    box-shadow:inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255), 0.3em 0.3em 1em rgba(10,93,102.3);
  perspective: 1000px; /* Para dar efecto 3D */
}

.card img{
  width: 100%;
  height: 150px;
  border: solid 1px;
  border-color: rgb(10,93,102);
  border-radius: 15px;
}

.inner-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(0);
  transition: transform 0.6s;
}

.card:hover .inner-card {
  transform: rotateY(180deg);
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}



.back {
  background-color: #f4f4f4;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: justify;
  font-size: 12px;
}

@media (max-width: 700px){
  .card {  
  width: 44%;
  height: 200px;
}
.card img{
  width: 100%;
  height: 100px;
}
}
