
/* ==========================================
   JAKSKY SPIDER NETWORK
   ========================================== */

/* garis lingkar jaring */
.jn-web-ring{
  fill:none;

  stroke:
    rgba(174,82,255,.34);

  stroke-width:1.15;

  stroke-linecap:round;

  stroke-dasharray:7 13;

  filter:
    drop-shadow(
      0 0 3px
      rgba(181,74,255,.16)
    );

  animation:
    spiderFlow 3.2s linear infinite,
    spiderGlow 4s ease-in-out infinite;
}


/* tiap lingkar sedikit beda kecepatan */
.jn-web-ring.ring1{
  animation-duration:
    2.4s, 3.5s;
}

.jn-web-ring.ring2{
  animation-duration:
    3.3s, 4.2s;
}

.jn-web-ring.ring3{
  opacity:.72;

  animation-duration:
    4.2s, 5s;
}


/* pulse yang bergerak */
.jn-web-pulse{
  opacity:1;
}

.jn-web-pulse.green{
  fill:#79ff9c;

  filter:
    drop-shadow(
      0 0 7px
      rgba(121,255,156,.95)
    )
    drop-shadow(
      0 0 16px
      rgba(121,255,156,.42)
    );
}


.jn-web-pulse.pink{
  fill:#ff4fb8;

  filter:
    drop-shadow(
      0 0 7px
      rgba(255,79,184,.9)
    );
}


.jn-web-pulse.cyan{
  fill:#67dcff;

  filter:
    drop-shadow(
      0 0 7px
      rgba(103,220,255,.9)
    );
}


/* radial line tetap bergerak */
.jn-intro-network .jn-path{
  stroke-dasharray:
    9 14 !important;

  animation:
    spiderRadialFlow
    1.7s linear infinite !important;
}


/* pusat hidup */
.jn-intro-network
circle[cx="500"][cy="780"]{
  transform-box:fill-box;
  transform-origin:center;

  animation:
    spiderCorePulse
    1.45s ease-in-out infinite;
}


/* ANIMATIONS */

@keyframes spiderFlow{
  from{
    stroke-dashoffset:0;
  }

  to{
    stroke-dashoffset:-80;
  }
}


@keyframes spiderRadialFlow{
  from{
    stroke-dashoffset:0;
  }

  to{
    stroke-dashoffset:-55;
  }
}


@keyframes spiderGlow{

  0%,100%{
    stroke:
      rgba(153,87,255,.24);
  }

  50%{
    stroke:
      rgba(121,255,156,.48);

    filter:
      drop-shadow(
        0 0 6px
        rgba(121,255,156,.18)
      );
  }
}


@keyframes spiderCorePulse{

  0%,100%{
    opacity:.82;
  }

  50%{
    opacity:1;

    filter:
      drop-shadow(
        0 0 15px
        rgba(255,67,190,.48)
      );
  }
}


/* MOBILE */
@media(max-width:760px){

  .jn-web-ring{
    stroke-width:
      1.25;
  }

}
