.heading {
  text-align: center;
}
/* CARDS */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.card {
  margin: 20px;
  padding: 1px;
  width: 500px;
  height: 380px;
  min-height: 200px;
  display: grid;
  grid-template-rows: 20px 50px 1fr 50px;
  border-radius: 10px;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}

.card:hover {
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
  transform: scale(1.01);
}

.card__link {

  position: relative;
  float: right;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.8);
}

.card__link::after {
  position: absolute;
  left: 0;
  content: "";
  width: 0%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: all 0.5s;
}

.card__link:hover::after {
  width: 100%;
}


.card__title {

  color: #ffffff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  /*border-style: solid;
  border-color: rgba(255, 255, 255, 0.6);*/
}
.card__titlebk {

}

.card__apply {
  grid-row: 4/5;
  align-self: center;
}

/* CARD BACKGROUNDS */

.card-1 {
  background-size: cover;
  background-image:  url(../../content/product/antiestatica.jpg);

}

.card-2 {
  background-size: cover;
  background-image:  url(../../content/product/cine.jpg);
}

.card-3 {
  background-size: cover;
  background-image:  url(../../content/product/terciopelo.jpg);
}

.card-4 {
  background-size: cover;
  background-image:  url(../../content/product/tapiceria.jpg);
}

.card-5 {
  background-size: cover;
  background-image:  url(../../content/product/autobu.jpg);
}

.card-6 {
  background-size: cover;
  background-image:  url(../../content/product/pique.jpg);
}

/* RESPONSIVE */

@media (max-width: 1600px) {
  .cards {
    justify-content: center;
  }
}
