@keyframes loading {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.bar {
  width: 0;
  height: 3px;
  background-color: var(--ink);
  animation-name: loading;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

/*---------------------------------------------------------------------------------------------------------------*/

.animated {
  visibility: visible;
  animation-fill-mode: both;
  animation-duration: 1s;
  animation-play-state: running;
  animation-iteration-count: 1;
}
.animatedSlower {
  visibility: visible;
  animation-fill-mode: both;
  animation-duration: 2;
  animation-play-state: running;
}

.animatable {
  visibility: hidden;
  animation-play-state: paused;
}
/* fade down */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateY(-60px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
/* fade down */
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateY(-60px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.75);
  }
  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}



@keyframes fadeBgColor {
  0%{
    background:none;
  }
  70%{
    background:none;
  }
  100%{
    background:#464646;
  }
}

.animated.animationDelay{
  animation-delay:.2s;
}
.animated.animationDelayMed{
  animation-delay:1.2s;
}
.animated.animationDelayLong{
  animation-delay:1.6s;
}
.animated.fadeBgColor {
  animation-name: fadeBgColor;
}
.animated.fadeIn {
  animation-name: fadeIn;
}
.animated.fadeInScale {
  animation-name: fadeInScale;
}
.animated.fadeInLeft {
  animation-name: fadeInLeft;
}
.animated.fadeInRight {
  animation-name: fadeInRight;
}

/*---------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 768px) {

  @keyframes fadeInLeft {
  0% {
    opacity: 0;
    filter: blur(3px);
    transform: translateX(-200px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    filter: blur(3px);
    transform: translateX(300px);
  }
  100% {
    filter: blur(0);
    transform: translateX(0);
  }
}

}

/*---------------------------------------------------------------------------------------------------------------*/
/* Logo animation */
.logo-svg path {
  stroke: currentColor;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 5137;
  animation: logoDraw 1.25s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes logoDraw {
  0% {
    stroke-dashoffset: 5137;
    fill-opacity: 0;
    stroke-opacity: 1;
  }
  55% {
    fill-opacity: 0;
    stroke-opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
    stroke-opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-svg path {
    animation: none;
  }
}