.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cards__col {
  width: calc(50% - 10px);
}

.card {
  align-items: center;
  box-shadow: 0 2px 20px 0 rgb(0 0 0 / 12%);
  display: flex;
  justify-content: center;
  min-height: 262px;
  transform: scale(1);
  transition: all 0.4s ease-in-out 0s;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.left {
  margin-right: 10px;
}
.left > .card:first-of-type {
  margin-bottom: 20px;
}
.right {
  margin-left: 10px;
}
.right .card {
  height: 100%;
}
.card__text {
  display: none;
  padding: 0 65px;
}

.card__text div {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.card:hover,
.card-hover {
  box-shadow: 0 2px 25px 0 rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
  transition: all 0.4s ease-in-out 0s;
}
.card-hover .card__title,
.card:hover .card__title {
  display: none;
}
.card-hover .card__text,
.card:hover .card__text {
  display: block;
}

@media screen and (max-width: 767px) {
  .card {
    margin: 1rem 0;
    width: auto;
  }
}

.card__title {
  text-align: center;
  font-size: min(48px,9vw) !important;
  font-weight: 700;
  line-height: 1;
  padding: 0 75px;
}

.card__image img {
  height: auto;
  max-width: 100%;
}

.card__button {
  font-size: 14px;
  margin-top: 1rem;
}

/* Fixes for internet explorer */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .card {
    align-items: stretch;
    text-align: center;
  }
}
@media (max-width: 992px) {
  .cards__col {
    width: 100%;
  }

  .cards.conatiner {
    display: flex;
    flex-direction: column;
  }
  
  .right .card {
    height: unset;
  }
  .left {
    margin-right: 0;
  }
  .left > .card {
    margin-bottom: 20px;
  }
  .right {
    margin-left: 0;
  }
  .card__title {
    padding: 0 225px;
  }
}