.text-animation h2 {
  color: #fff;
  font-size: 6em;
  position: absolute;
  /* transform: translate(100%, -250%); */
  left: 25%;
  right: 25%;
  top: 90%;
}

.text-animation h2:nth-child(1) {
  color: transparent;
  -webkit-text-stroke: 2px #DECC9C;
}

.text-animation h2:nth-child(2) {
  color: #DECC9C;
  animation: animate 4s ease-in-out infinite;
}

@keyframes animate {
  0%,
  100% {
    clip-path: polygon(
      0% 45%,
      16% 44%,
      33% 50%,
      54% 60%,
      70% 61%,
      84% 59%,
      100% 52%,
      100% 100%,
      0% 100%
    );
  }

  50% {
    clip-path: polygon(
      0% 60%,
      15% 65%,
      34% 66%,
      51% 62%,
      67% 50%,
      84% 45%,
      100% 46%,
      100% 100%,
      0% 100%
    );
  }
}