/* Keep Animate.css entrances restrained, with no large screen-wide slides. */
.sc-motion-target.animate__animated{
  --animate-duration:var(--sc-motion-duration,620ms);
  animation-delay:var(--sc-motion-delay,0ms);
  animation-fill-mode:both;
  animation-timing-function:cubic-bezier(.2,.7,.25,1);
}
.sc-motion-target.animate__fadeInUp{animation-name:scMotionRise}
.sc-motion-target.animate__fadeInDown{animation-name:scMotionDown}
.sc-motion-target.animate__fadeInLeft{animation-name:scMotionLeft}
.sc-motion-target.animate__fadeInRight{animation-name:scMotionRight}
.sc-motion-target.animate__zoomIn{animation-name:scMotionZoom}
@keyframes scMotionRise{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:none}}
@keyframes scMotionDown{from{opacity:0;transform:translate3d(0,-10px,0)}to{opacity:1;transform:none}}
@keyframes scMotionLeft{from{opacity:0;transform:translate3d(-20px,0,0)}to{opacity:1;transform:none}}
@keyframes scMotionRight{from{opacity:0;transform:translate3d(20px,0,0)}to{opacity:1;transform:none}}
@keyframes scMotionZoom{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
/* WOW normally hides visibility; opacity keeps offscreen controls keyboard
 * reachable. Focus instantly cancels the reveal so the control is visible. */
html.sc-motion-active .sc-motion-target{visibility:visible!important}
html.sc-motion-active .sc-motion-pending:not(:focus-within){opacity:0}
@media(max-width:700px){
  .sc-motion-target.animate__fadeInLeft,.sc-motion-target.animate__fadeInRight{animation-name:scMotionRise}
  @keyframes scMotionRise{from{opacity:0;transform:translate3d(0,14px,0)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce),print{
  html.sc-motion-active .sc-motion-target,
  html.sc-motion-active .sc-motion-pending{
    opacity:1!important;visibility:visible!important;animation:none!important;transform:none!important;
  }
}
