.cards {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  flex-grow: 1;
  margin-bottom: 1rem;
}
.cards .card {
  height: 180px;
  width: 100%;
  background: #FE5253;
  display: flex;
  align-items: center;
  transition: transform 150ms;
  background-size: cover;
  text-decoration: none;
  position: relative;
}
.cards .card .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.cards .card .title {
  color: white;
  padding-inline: 1rem;
  word-wrap: anywhere;
  font-size: 1rem;
  margin: 0;
  font-weight: bold;
  position: relative;
  z-index: 3;
}
.cards .card:hover {
  transform: scale(1.025);
}
@media (max-width: 993px) {
  .cards .card {
    width: 100%;
  }
}
@media (max-width: 993px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards .card:nth-child(3n) {
    grid-column: 1/3;
  }
}
@media (max-width: 767px) {
  .cards {
    grid-template-columns: repeat(1, 1fr);
  }
  .cards .card:nth-child(3n) {
    grid-column: 1/1;
  }
}

/*# sourceMappingURL=homepageCard.css.map */
