#particles-js {
  position: relative;
  width: 100%;
  height: 850px;
  background-image: linear-gradient(#e6e6e6 20%, #fff);
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

#particles-js .animate-img {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}

#particles-js .text-intro {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

#particles-js .text-intro h3 {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}
#particles-js .text-intro h4 {
  color: var(--primary-color1);
  text-transform: uppercase;
  font-size: 35px;
  font-weight: bold;
}

.title_intro {
  text-align: center;
  font-size: 25px;
  text-transform: uppercase;
  font-weight: bold;
}
.title_intro span {
  color: var(--primary-color);
  opacity: 0;
  transform: translate(-150px, 0) scale(0.3);
  animation: leftRight 0.5s forwards;
}

.title_intro1 {
  text-align: center;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: bold;
}
.title_intro1 span {
  color: var(--primary-color1);
  opacity: 0;
  transform: translate(-150px, 0) scale(0.3);
  animation: leftRight 0.5s forwards;
}

.animate span {
  display: inline-block;
}

.animate span:nth-of-type(2) {
  animation-delay: 0.05s;
}
.animate span:nth-of-type(3) {
  animation-delay: 0.1s;
}
.animate span:nth-of-type(4) {
  animation-delay: 0.15s;
}
.animate span:nth-of-type(5) {
  animation-delay: 0.2s;
}
.animate span:nth-of-type(6) {
  animation-delay: 0.25s;
}
.animate span:nth-of-type(7) {
  animation-delay: 0.3s;
}
.animate span:nth-of-type(8) {
  animation-delay: 0.35s;
}
.animate span:nth-of-type(9) {
  animation-delay: 0.4s;
}
.animate span:nth-of-type(10) {
  animation-delay: 0.45s;
}
.animate span:nth-of-type(11) {
  animation-delay: 0.5s;
}
.animate span:nth-of-type(12) {
  animation-delay: 0.55s;
}
.animate span:nth-of-type(13) {
  animation-delay: 0.6s;
}
.animate span:nth-of-type(14) {
  animation-delay: 0.65s;
}
.animate span:nth-of-type(15) {
  animation-delay: 0.7s;
}
.animate span:nth-of-type(16) {
  animation-delay: 0.75s;
}
.animate span:nth-of-type(17) {
  animation-delay: 0.8s;
}
.animate span:nth-of-type(18) {
  animation-delay: 0.85s;
}
.animate span:nth-of-type(19) {
  animation-delay: 0.9s;
}
.animate span:nth-of-type(20) {
  animation-delay: 0.95s;
}

@keyframes leftRight {
  40% {
    transform: translate(50px, 0) scale(0.7);
    opacity: 1;
    color: var(--primary-color1);
  }

  60% {
    color: var(--primary-color);
  }

  80% {
    transform: translate(0) scale(2);
    opacity: 0;
  }

  100% {
    transform: translate(0) scale(1);
    opacity: 1;
  }
}
/* iPad Pro */
@media (max-width: 1024px) {
  #particles-js {
    height: 700px;
  }
}
/* iPad*/
@media (max-width: 768px) {
  #particles-js {
    height: 600px;
  }
  #particles-js .animate-img {
    width: 65%;
  }
}
/* Phone */
@media (max-width: 425px) {
  #particles-js .animate-img {
    width: 80%;
  }
  #particles-js {
    height: 500px;
  }
}
@media (max-width: 375px) {
  #particles-js {
    height: 400px;
  }
  .title_intro span {
    font-size: 18px;
  }
  .title_intro1 span {
    font-size: 18px;
  }
}
