.cards {
  background-color: #f6f6f7;
  padding: 3rem 0 4rem;
  text-align: center;
}

.cards .lgreen-btn {
  display: none;
}

.cards__main-text {
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  line-height: 1.56;
  color: #000000;
  -webkit-transform: translateY(-2rem);
  -ms-transform: translateY(-2rem);
  transform: translateY(-2rem);
  margin-bottom: 1rem;
}

.cards__list {
  list-style: none;
}

.cards__item {
  margin-bottom: 3rem;
  padding: 3rem;
  text-align: center;
  background-color: #ffffff;
}

.cards__item:last-child {
  margin-bottom: 0;
}

.cards__img {
  margin-bottom: 15px;
}

.cards__title {
  text-align: left;
  margin-bottom: .5rem;
  font-size: 1.6rem;
  line-height: 1.38;
  font-weight: 700;
  color: #000;
  font-family: 'Roboto', sans-serif;
}

.cards__text p {
  text-align: left;
  font-size: 1.4rem;
  line-height: 1.79;
  font-family: 'Roboto', sans-serif;
  color: #757575;
}

.cards__text em {
  text-align: left;
  font-size: 1.4rem;
  line-height: 1.79;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  color: #a4c600;
}

.cards--theme .cards__title {
  margin-bottom: 2.5rem;
}

.cards--theme .cards__item {
  border-radius: 11px;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.cards--theme .cards__title-item {
  position: relative;
}

.cards--theme .cards__title-item::before {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -1rem;
  background-color: #a4cb00;
  height: 0.4rem;
}

@media only screen and (min-width: 480px) {
  .cards .lgreen-btn {
    display: inline-block;
    margin-top: 3rem;
  }

  .cards__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .cards__item {
    width: 49%;
  }

  .cards--bg {
    background-color: transparent;
    position: relative;
  }

  .cards--bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
    height: 20%;
    background-color: #f5f5f7;
  }

  .cards--white {
    background-color: transparent;
    position: relative;
  }

  .cards--white::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    height: 40%;
    background-color: #f5f5f7;
  }
}

@media only screen and (min-width: 968px) {
  .cards__item {
    width: 32%;
    padding: 2.5rem;
    margin-bottom: 2rem;
  }

  .cards__item:nth-last-child(-n+3) {
    margin-bottom: 0;
  }

  .cards__title-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 2.5rem;
  }

  .cards__title {
    text-align: left;
  }

  .cards__img {
    margin-bottom: 0;
    margin-right: 3rem;
  }

  .cards--theme .cards__title-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .cards--theme .cards__img {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .cards--theme .cards__title {
    margin-bottom: .5rem;
  }

  .cards--bg::after {
    height: 30%;
  }

  .cards--white::after {
    height: 50%;
  }
}

@media only screen and (min-width: 1280px) {
  .cards {
    padding: 4rem 0 7.5rem;
  }

  .cards .lgreen-btn {
    margin-top: 5rem;
  }

  .cards .section-title {
    margin-bottom: 4rem;
  }
}