@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html,body{
  height: 980px;
  display: grid;
  place-items: center;
  background: #f2f2f2;
  text-align: center;
  background-image: url('Back-08.png');
  background-size: cover; /* Esto ajustará la imagen al tamaño del contenedor */

}
.container{
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  
}
.titulo{
  height: 100px; /* Establecer una altura fija para el título */

}
.titulo h1{
  color: white;
  font-size: 50px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

}
.card{
  height: 280px;
  max-width: 350px;
  margin: 0 20px;

  background: white;
  transition: 0.4s;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  
}
.card:hover{
  height: 470px;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
}
.card .img{
  height: 200px;
  width: 100%;
}
.card .img img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.card .top-text{
  padding: 5px;
}
.card .top-text .name{
  font-size: 25px;
  font-weight: 600;
  color: #202020;
}
.card .top-text p{
  font-size: 20px;
  font-weight: 600;
  color:  #4070f4;
  line-height: 20px;
}
.card .bottom-text{
  padding: 0 20px 10px 20px;
  margin-top: 5px;
  background: white;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.card:hover .bottom-text{
  opacity: 1;
  visibility: visible;
}
.card .bottom-text .text{
  text-align: justify;
}
.card .bottom-text .btn{
  margin: 10px 0;
  text-align: left;
}
.card .bottom-text .btn a{
  text-decoration: none;
  background:  #4070f4;
  color: #f2f2f2;
  padding: 5px 8px;
  border-radius: 3px;
  display: inline-flex;
  transition: 0.4s;
}
.card .bottom-text .btn a:hover{
  transform: scale(0.9);
}
@media screen and (max-width: 978px) {
  .container{
    flex-wrap: wrap;
    flex-direction: column;
  }
  .card{
    max-width: 700px;
    margin: 60px 0;
  }
}

@media screen and (max-width: 480px) {
  .card{
    max-width: 700px;
    margin: 60px 0;
  }
}
