.section-animate-wrapper {
  position: relative;
  min-height: 80vh;
  width: 100%;
  overflow: hidden;
}

.item-animate {
  position: absolute;
  opacity: 0;
  transform: translateY(20px) rotate(var(--rotate, 0deg));
  transition: opacity 0.6s ease, transform 0.6s ease;
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  white-space: nowrap;
}

.item-animate.is-visible {
  opacity: 1;
  transform: translateY(0px) rotate(var(--rotate, 0deg));
  font-family: "Comic Sans MS";
  font-weight: 700;
  font-size: 50px;
  line-height: 100%;

}

.underline-effect::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.underline-effect.is-visible::after {
  transform: scaleX(1);
}

.curve-effect {
  position: relative;
  padding-bottom: 60px;
}

.curve-effect .svg-underline {
  position: absolute;
  left: -4%;
  bottom: 14px;
  transform: rotate(362deg);
}

.curve-effect-1 .svg-underline {
  position: absolute;
  left: 31% !important;
  bottom: -309px !important;
  transform: rotate(298deg);
}

.curve-effect .svg-path {
  stroke-dasharray: 320;
  stroke-dashoffset: -320;
  stroke: #000;
  fill: none;
}

.curve-effect.is-visible .svg-path {
  animation: draw-curve 1s forwards;
}

.curve-effect.fade-away .svg-path {
  animation: erase-curve 1s forwards;
}

@keyframes draw-curve {
  from {
    stroke-dashoffset: -320;
    opacity: 0;
  }

  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes erase-curve {
  from {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  to {
    stroke-dashoffset: -320;
    opacity: 0;
  }
}

/* Custom positions + rotations */
.item1 {
  top: 15%;
  left: 9%;
  --rotate: -24deg;
}

.item2 {
  top: 9%;
  left: 59%;
  --rotate: -13deg;

}

.item3 {
  top: 61%;
  left: 19%;
  --rotate: -30deg;
}

.item4 {
  top: -50px !important;
  left: 23%;
  --rotate: -22deg;
}

.item5 {
  top: 62%;
  left: 64%;
  --rotate: 9deg;

}

.item6 {
  top: 50%;
  left: 30%;
  --rotate: -28deg;
}

.item7 {
  top: 19%;
  left: 74%;
  --rotate: 45deg;
}

.svg-height {
  height: 132px;
  width: 328px;
}


@media (max-width: 768px) {
  .item-animate {
    font-size: 1.2rem;
  }

  .item-animate.is-visible {

    font-size: 22px !important;


  }

  .svg-height {
    height: 114px !important;
    width: 149px !important;
  }
}

@media (max-width: 480px) {
  .item-animate {
    font-size: 1rem;
  }
}

@media (max-width: 991px) {
  .item4 {
    top: 54px !important;
    left: 26%;
    --rotate: -22deg;
  }
}

@media (max-width: 576px) {
  .section-animate-wrapper {
    position: relative;
    min-height: 50vh;

  }

  .item4 {
    top: 68px !important;
    left: 21%;
    --rotate: -22deg;
  }
}

.item1 {
  top: 17%;
  left: 4%;
  --rotate: -24deg;
}

.item2 {
  top: 4%;
  left: 49%;
  --rotate: -13deg;
}

.item3 {
  top: 57%;
  left: 2%;
  --rotate: -30deg;
}

.item5 {
  top: 69%;
  left: 62%;
  --rotate: 9deg;
}


@media (max-width: 1200px) {
  .item-animate.is-visible {

    font-size: 30px;


  }

  .svg-height {
    height: 121px;
    width: 226px;
  }
}