@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  background: #000;
  max-height: 99vh;
  max-width: 97vw;
  /* max-height: 100vh;
  max-width: 100vw; */
  align-items: center;
  justify-content: center;
}

.content {
  position: relative;
}

.content h2 {
  color: #fff;
  font-size: 5em;
  position: absolute;
  transform: translate(-50%, -50%);
}

.content h2:nth-child(1) {
  color: transparent;
  -webkit-text-stroke: 2px #8338ec;
}

.content h2:nth-child(2) {
  color: #c19bf5;
  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%
    );
  }
}
.mainclass{
    display: block;
    position: relative;
    width: 100%;
}
.child1{
    position: absolute;
    top: 90px;
    left: 20%;
   
}
.child3{
    position: absolute;
    bottom: 90px;
    right: 20%;
}





/* Media Queries */

/* For devices with a width of up to 1200px */
@media (max-width: 1200px) {
    .content h2 {
      font-size: 4em;
    }
    
    .child1 {
      left: 15%;
    }
    
    .child3 {
      right: 15%;
    }
  }
  
  /* For devices with a width of up to 768px (tablets) */
  @media (max-width: 768px) {
    .content h2 {
      font-size: 3em;
    }
    
    .child1 {
      top: 30px;
      left: 10%;
    }
    
    .child3 {
      bottom: 60px;
      right: 10%;
    }
  }
  
  /* For devices with a width of up to 480px (mobile) */
  @media (max-width: 480px) {
    .content h2 {
      font-size: 2.5em;
    }
    
    .child1 {
      top: 20px;
      left: 5%;
    }
    
    .child3 {
      bottom: 40px;
      right: 5%;
    }
  }