.card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 24px 0;
}

.card {
  background: $white;
  border-radius: 4px;
  box-shadow: 0 2px 2px rgba($black, 0.24), 0 0 2px rgba($black, 0.12);
  box-sizing: border-box;
  height: 194px;
  margin: 24px 8px;
  max-width: 340px;
  min-width: 262px;
  padding-bottom: 48px;
  position: relative;
  transition: box-shadow .5s;
  width: 30%;

  &:hover {
    // border: 2px solid $blue;
    box-shadow: 0 8px 8px rgba($black, 0.24), 0 0 8px rgba($black, 0.12);
    text-decoration: none;

    h2 {
      color: $blue;
    }

    p {
      color: $darkgray;
      padding: 0 16px;
    }

    .card-footer {
      line-height: 32px;
      padding: 8px 16px;
      background-color: rgba($blue, 0.1);
      color: $blue;
    }
  }


  h2 {
    color: $darkgray;
    font-size: 20px;
    line-height: 24px;
    margin: 0;
    padding: 32px 0 24px;
    text-transform: none;
    text-align: center;
  }

  p {
    color: $darkgray;
    font-size: 13px;
    line-height: 24px;
    padding: 0 16px;
    margin: 0;
    text-align: center;
  }

  .card-footer {
    bottom: 0;
    border-top: 0.5px solid $lightgray;
    box-sizing: border-box;
    line-height: 48px;
    left: 0;
    position: absolute;
    right: 0;
    text-align: right;
    color: $mediumgray;

    a {
      color: $mediumgray;
      font-size: 13px;
    }
  }
}