.parent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
}

.flip-card {
  background-color: transparent;
  min-width: 300px;
  min-height: 300px;
  margin: 20px;
  margin-bottom: 45px;
}

/* This division hold the front and back elements */
.inside {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.flip-card:hover .inside {
  transform: rotateY(180deg);
}

/* Place the front and back  */
.front, .back {
  position: absolute;
  padding: 20px;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 25px;
  background-color: white;
  -webkit-box-shadow: 0px 0px 26px 6px rgba(var(--light-green-rgb),0.33); 
  box-shadow: 0px 0px 26px 6px rgba(var(--light-green-rgb),0.33);
}

.front h2, .back h2{
    margin-top: 35px;
    margin-bottom: 12px;
}

.front p, .back p{
    margin-top: 36px;
    line-height:175%
}


/* Back Differences */
.back {
  background-color: var(--light-green);
  color: white;
  border-radius: 20px;
  transform: rotateY(180deg);
}

.card-icon {
    position: relative;
    text-align: center;
    padding: 10px;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    bottom: -45px;
    background: linear-gradient(45deg, var(--light-green) 0%, var(--light-blue) 100%);
    -webkit-box-shadow: 0px 0px 26px 6px rgba(var(--light-green-rgb),0.26); 
    box-shadow: 0px 0px 26px 6px rgba(var(--light-green-rgb),0.26);
    display: inline-block;
    border-radius: 12px;
}

.card-icon span {
    font-size: 64px;
    color: white;
}