/* home cards ---------------------------------------- */
.main-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  box-shadow: rgba(99, 99, 99, 0.4) 0px 0px 20px 0px;
  background-color: var(--blue);
  transition: all 200ms ease;
}
.main-card:hover {
  cursor: pointer;
  background-color: var(--orange);
  transform: scale(1.05);
}
.main-card img {
  width: 100%;
  height: 15rem;
  display: block;
  object-fit: cover;
  margin: 0 !important;
}
.main-card .text {
  flex: 1;
  font-size: 17px;
  width: 100%;
  color: white;
  font-weight: 600;
  padding: 1rem 1rem;
  text-align: center;
}

@media screen and (max-width: 769px) {
  .main-card {
    flex-direction: row !important;
  }
  .home .main-card img {
    width: 8rem;
    height: 8rem;
  }
  .main-card .text {
    text-align: left;
    justify-content: flex-start;
    padding-left: 1.5rem;
  }
}
