.cards {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.card {
  width: 100%;
  max-width: 1200px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.card__content {
  display: flex;
  flex-direction: row;
}

.card__text-block {
  flex: 2;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card__description {
  font-size: 1rem;
  color: #555;
  flex-grow: 1;
}

.card__footer {
  margin-top: 1rem;
}

.card__btn {
  padding: 0.5rem 1rem;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.card__img {
  flex: 1;
  object-fit: cover;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .card__content {
    flex-direction: column;
  }

  .card__img {
    height: 200px;
  }
}