@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');

/*Cards*/
.container-card{
  width: 100%;
  display: flex;
  max-width: 1100px;
  margin: auto;
}

.card{
  width: 100%;
  margin: 20px;
  border-radius: 6px;
  overflow: hidden;
  background:#ffffff;
  box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
  transition: all 400ms ease-out;
  cursor: default;
  border-bottom: 3px solid var(--second-color);
}
.card:hover{
  box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
  transform: translateY(-3%);
}
.card img{
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.card .contenido-card{
  padding: 15px;
  text-align: center;
}
.card .contenido-card h3{
  margin-bottom: 15px;
  color: #7a7a7a;
}
.card .contenido-card p{
  line-height: 1.8;
  color: #6a6a6a;
  font-size: 14px;
  margin-bottom: 5px;
}
.card .contenido-card a{
  display: inline-block;
  padding: 10px;
  margin-top: 10px;
  text-decoration: none;
  background: #6a59d1;
  color: #fff;
  border-radius: 8px;
  transition: all 400ms ease;
  margin-bottom: 5px;
}

@media only screen and (min-width:320px) and (max-width:768px){
  .container-card{
    flex-wrap: wrap;
  }
  .card{
    margin: 15px;
  }
}
/*Fin-Cards*/