#features {
  text-align: center;
  font-size: clamp(0.9em, 2vw, 1.5em);
  color: #707070;
  /* padding: 1em; */
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 50px clamp(10px, 5vw, 30px);
  /* margin: 3em 15%; */
  max-width: 1440px;
  margin: auto;
}

#feaures::after {
  content: "";
  flex: auto;
}

#features .postcard {
  background-color: #fff;
  background-image: repeating-linear-gradient(
      -45deg,
      transparent 0 20px,
      #ffafc9 20px 30px,
      transparent 30px 50px,
      #a2ceff 50px 60px
    );
  position: relative;
  border-radius: 15px;
  padding: 1em;
}

#features .postcard::before {
  content: '';
  background-color: #f4f4e7;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  position:absolute;
  top: 5px;
  left: 5px;
  z-index: 0;
}

#features .features-section {
  position: relative;
  z-index: 1;
}

#features h1 {
  color: #FFCC00;
  position: relative;
  font-size: 2em;
  /* letter-spacing: 8px; */
  margin-bottom: 0.5em;
}

#features h1:after {
  content: attr(data-text);
  -webkit-text-stroke: 7px #fff;
  color: #fff;
  text-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

#features .features-card {
  /* margin: auto; */
  position: relative;
  /* flex-basis: 24%; */
  /* flex-shrink: 1; */
  max-width: clamp(150px, 20vw, 300px);
}

#features .features-card .features-card-header {
  background: url(../media/img/features/feature-header-bg.png) center center / contain no-repeat;
  color: #fff;
  font-size: 0.5em;
  text-shadow: 3px 3px 0px rgba(0,0,0,0.5);
  text-transform: uppercase;
  margin-bottom: -2em;
  z-index: 2;
  position: relative;
  line-height: 2.5em;
  /* padding: 2em 0; */
  /* margin-top: -60px; */
}

@media screen and (min-width: 1024px) {
  #features {
    /* font-size: 1em; */
  }

  #features h1{
    font-size: 4em;
  }

  #features h1:after {
    -webkit-text-stroke: 14px #fff;
    text-shadow: 0 10px 8px rgba(0, 0, 0, 0.5);
  }

  #features .postcard {
    background-image: repeating-linear-gradient(
      -45deg,
      transparent 0 35px,
      #ffafc9 35px 55px,
      transparent 55px 90px,
      #a2ceff 90px 110px
    );
  }

  #features .postcard::before {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    top: 10px;
    left: 10px;
  }

  #features .features-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
  }
}
