.plans {
  background: #fef5f1;
  padding: 30px;
  display: flex;
  justify-content: center;
}

.plans .plan {
  width: 430px;

  background: #ebebeb;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  border-radius: 22px;
  padding: 20px 0;
  margin: 0 20px;
  display: flex;
  flex-direction: column;
  color: #333;
}

.plans .plan h2,
.plans .plan h3 {
  margin: 0;
  padding: 0;
  text-align: center;
  font-style: normal;
  font-weight: 500;
}

.plans .plan h3 {
  font-size: 30px;
}

.plans .plan h2 {
  margin: 20px 0 0 0;
  font-size: 40px;
}

.plans .plan ul,
.plans .plan li {
  margin: 0;
  padding: 0;
}

.plans .plan ul li {
  list-style: none;
  margin: 0;
  padding: 0 30px 0 65px;
  background: url(../images/check.svg) no-repeat 20px center;
  min-height: 66px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.plans .plan ul li::marker {
  opacity: 0.3;
}

.plans .plan ul li.excluded {
  opacity: 0.5;
  text-decoration: line-through;
  background-image: url(../images/x.svg);
}

.plan small {
  font-size: 20px;
}

.plan .btn {
  align-self: center;
  justify-self: center;
  margin: 30px 0;
  padding: 0 30px;
  background: #707070;
}

.plans .plan-primary {
  background: #5235ff;
  color: #fff;
}

.plans .plan-primary ul li {
  background-image: url(../images/check-white.svg);
}
.plans .plan-primary .btn {
  background: #fff;
  color: #000;
}

.plans .plan .cancel {
  text-align: center;
  font-size: 14px;
  margin-bottom: 20px;
  font-style: italic;
}

@media screen and (max-width: 767px) {
  .plans {
    flex-direction: column;
    align-items: center;
  }

  .plans .plan {
    max-width: 90%;
  }

  .plans .plan-primary {
    margin-top: 30px;
  }
}
