.subscription-grid.front-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.subscription-grid {
  .front-card {
    padding: 20px;
    color: #fff;
    border-radius: 12px;
    /* background: linear-gradient(135deg, #45484d 0%, #000000 100%); */
    box-shadow: 0px 0px 15px 0px #0000001f;
    transition: transform .3s ease, box-shadow .2s ease-in;
    position: relative;
    background-size: cover !important;
    object-fit: cover;
    height: 270px;
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    &:hover {
      cursor: pointer;
      transform: scale(1.015);
      box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.45);
    }

    .active-text {
      font-size: 12px;
      font-weight: 500;
      position: absolute;
      top: 20px;
      right: 20px;
      padding: 4px 10px;
      background: #00843b;
      border-radius: 6px;
    }

    .delete-text {
      font-size: 12px;
      font-weight: 500;
      position: absolute;
      top: 20px;
      right: 20px;
      padding: 4px 10px;
      background: #b80018;
      border-radius: 6px;
    }

    span {
      font-weight: normal;
      color: #F8F8F8;
    }

    #chip {
      width: 50px;
      height: 50px;
      margin-top: 2.3em;
      margin-left: .4em;
      /* background: url(https://www.thebeneficial.com/portals/beneficialbankwebsite/images/chip.png); */
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
    }

    .card-info {
      #no {
        font-size: 1.25em;
        font-family: 'Cutive Mono';
        font-weight: bold;
        letter-spacing: 2px;
        text-shadow: 2px 2px 1px rgba(black, .3);
      }

      #name {
        font-family: 'Cutive Mono';
        font-weight: bold;
        font-size: 1.3em;
        margin-top: -.5em;
      }

      .date {
        font-size: 14px;
        color: #fff;
        margin-bottom: 0;
      }
    }
  }

  .front-card.active {

    box-shadow: 0px 0px 15px 0px #005127;
  }
}

.backend-grid {
  /* display: grid; */
  /* grid-template-columns: repeat(2, 380px); */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.backend-grid .front-card {
  display: flex;
  height: 260px;
  width: 470px;
  flex-direction: column;
  justify-content: space-evenly;
}

@media only screen and (max-width:600px) {
  .subscription-grid.front-grid .front-card {
    height: 220px;
  }
}