/* The entrance of the pages, as on teamatlantis.eu: the page comes out of the dark, then the words of the menu
   appear letter by letter, each one from a blur. Nothing moves for visitors who ask their system for less motion. */
@media (prefers-reduced-motion: no-preference) {
  body { animation: ts-page-in .7s cubic-bezier(.2,.6,.3,1) backwards; }
  @keyframes ts-page-in { from { opacity: 0; } }

  /* until the script has cut the words into letters (a second at most) */
  html.ts-appear .sf-menu > li > a:not(.ts-split) { opacity: 0; animation: ts-show 0s 1.2s forwards; }
  @keyframes ts-show { to { opacity: 1; } }

  .ts-split .ts-ch { display: inline-block; }
  .ts-play .ts-ch { animation: ts-ch-in .5s cubic-bezier(.2,.65,.3,1) backwards; animation-delay: calc(var(--i) * 28ms + var(--d, 0ms)); }
  @keyframes ts-ch-in { from { opacity: 0; filter: blur(10px); transform: translateY(10px); } }
}
.ts-split .ts-w { white-space: nowrap; }
