@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap");

.pricing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  .plan,
  .apart {
    background-color: #fff;
    padding: 1.3rem;
    margin: 12px;
    border-radius: 5px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
    border: 2px solid #225790;
    width:27%;
    background: url(/siteimages/p6.webp);

    h2 {
      font-size: 22px;
      margin-bottom: 12px;
      margin-top:0px;
    }

    ul{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .price {
      margin-bottom: 1rem;
      font-size: 30px;
    }

    ul.features {
      list-style-type: none;
      text-align: left;
      font-size:18px;
      li {
        margin: 8px;
        .fas {
          margin-right: 4px;
        }
        
      }
    }

    button {
      border: none;
      width: 100%;
      padding: 12px 35px;
      margin-top: 1rem;
      background-color: #6ab04c;
      color: #fff;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
    }

    &.popular {
      border: 2px solid #6ab04c;
      position: relative;
      transform: scale(1.08);

      span {
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #6ab04c;
        color: #fff;
        padding: 4px 20px;
        font-size: 18px;
        border-radius: 5px;
      }
    }

    &:hover {
      box-shadow: 5px 7px 67px -28px rgba(0, 0, 0, 0.37);
    }
  }
  .apart{
    width:21%;
    padding: 10px 1.1rem;
  }
  .plan table,
  .apart table{
    text-align:left;
    font-size:18px;

  }
  .plan table td,
  .apart table td{
    vertical-align: top;
    line-height:1.1em;
  }
  .fa-check-circle,
  .fa-check {
    color: #6ab04c;
  }
  .fa-times-circle {
    color: #eb4d4b;
  }
}

@media only screen and (max-width: 900px) {
    .pricing {
        .plan,.apart {
            width:40%;
        }
    }
}
@media only screen and (max-width: 600px) {
    .pricing {
        .plan,.apart {
            width:100%;
        }
    }
}
