/* ANIMATION AU SCROLL */
[data-scroll-animation] {
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.5s linear, opacity 0.5s linear;

  &.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(200px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes appear {
  0% {
    opacity: 0;
    transform: translateY(-300px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes left-up {
  0% {
    left: 100%;
    height: 0;
  }
  50% {
    left: 0;
    height: 0;
  }
  100% {
    height: 100%;
    left: 0;
  }
}

@keyframes right-dn {
  0% {
    left: -100%;
    height: 0;
  }
  50% {
    left: 0;
    height: 0;
  }
  100% {
    height: 100%;
    left: 0;
  }
}

.circle-animate {
  .foreground {
    fill: transparent;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    stroke: var(--color-primary-dark);
    transform-origin: 50% 50%;
    transition: all 800ms linear;
  }
}


.circle-animation-group:hover, .circle-animated  {
  .circle-animate {
    .foreground {
      stroke-dashoffset: 0 !important;
    }
  }
}

svg.animate-illustration path:not([fill="none"]) {
  fill: transparent;
  stroke-width: 7;
  stroke: #035D72;
  stroke-dasharray: 5000;
  stroke-dashoffset: 5000;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

svg.animate-illustration.animated path:not([fill="none"]) {
  animation: draw 15s forwards;
}


@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
