/* Mixins
================================================== */
/* Breakpoints
================================================== */
html {
  scroll-behavior: smooth;
}

/* 1. Set the keyframes 
============================================ */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-1em);
  }
  60% {
    transform: translateY(-5em);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes fadein {
  0%, 50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* 2. Add it to the class

	Arguments:::

    animation-name: 			the name of the animation;
    animation-duration: 		how long the keyframes will take to go from 0% to 100%;
    animation-timing-function:	the speed from start to end (linier, ease [slow start, then ends fast]  linear, easing OR USE http://cubic-bezier.com/#0,.67,.75,.9;
    animation-delay: 			the delay beofore it animates;
    animation-iteration-count:	the number of times it plays;
    animation-direction:		;
	animation-fill-mode
	animation-play-state




	Example ::

	animation-name: bounce;
	animation-duration: 4s;
	animation-timing-function: ease-out;
	animation-delay: 2s;
	animation-iteration-count: 10;
	animation-direction: alternate;
	animation-fill-mode: forwards;


	Example - play once only (one load, fade in)


	Example - web banner, just use keyframes.  Is the animation is 1 minute, set at 60s,  30s is keyframe: 50%


============================================ */
.bounce {
  animation: bounce 2s linear 4s infinite alternate;
}

.fadein {
  animation: fadein 0.5s;
}

/* Preloader
============================================ */
.preloader-animation {
  border: 5px solid rgba(150, 150, 150, 0.5);
  /* Light grey */
  border-top: 5px solid blue;
  /* Blue */
  border-radius: 100%;
  width: 1em;
  height: 1em;
  animation: rotate 1s linear infinite;
}

/* 1. Add class to animate 
============================================ */
.check-in-viewport.fadein {
  transition: opacity 0.5s;
  opacity: 0;
}
.check-in-viewport.fadeinandslideup {
  transition: opacity 0.5s, transform 0.5s;
  transform: translateY(3em);
  opacity: 0;
}
.check-in-viewport.fadeinandslideleft {
  transition: opacity 0.5s, transform 0.5s;
  transform: translateX(3em);
  opacity: 0;
}
.check-in-viewport.fadeinandslideright {
  transition: opacity 0.5s, transform 0.5s;
  transform: translateX(-3em);
  opacity: 0;
}
.check-in-viewport.in-viewport.fadein {
  opacity: 1;
}
.check-in-viewport.in-viewport.fadeinandslideup {
  transform: translateY(0);
  opacity: 1;
}
.check-in-viewport.in-viewport.fadeinandslideleft {
  transform: translateX(0);
  opacity: 1;
}
.check-in-viewport.in-viewport.fadeinandslideright {
  transform: translateX(0);
  opacity: 1;
}

.swiper-slide .fadeinandslideup {
  transition: opacity 0.5s;
  opacity: 0;
}
.swiper-slide.swiper-slide-active .fadeinandslideup {
  opacity: 1;
}

/* Marquee 
============================================ */
@keyframes horizontalslide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.marquee {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.marquee ul {
  -webkit-animation: horizontalslide 2s linear infinite;
}
.marquee li {
  display: inline-block;
}

/* Scroll snap
-------------------------------------------- */
html {
  scroll-snap-type: y proximity;
}

.snap-section {
  scroll-snap-align: start;
}