/* ============================================================
   Jacob Locks - lightweight reveal animations
   ------------------------------------------------------------
   Replaces animate.css 3.5.2 (17 KB) + WOW.js (8 KB, jQuery
   dependent). Only the four effects this site actually uses are
   kept: fadeIn, fadeInUp, fadeInLeft, fadeInRight.

   The `.wow` elements are only hidden when JavaScript is
   available (html.js), so if the script fails to load the
   content is still fully visible.
   ============================================================ */

.js .wow {
  visibility: hidden;
}

.js .wow.wow-animate {
  visibility: visible;
}

.wow.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}

.fadeIn {
  animation-name: fadeIn;
}

.fadeInUp {
  animation-name: fadeInUp;
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

.fadeInRight {
  animation-name: fadeInRight;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Respect the operating system "reduce motion" setting. */
@media (prefers-reduced-motion: reduce) {
  .js .wow,
  .js .wow.wow-animate {
    visibility: visible !important;
  }

  .wow.animated {
    animation: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }
}
