body.stc-global-motion-enabled [data-stc-motion] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

body.stc-global-motion-enabled [data-stc-motion].is-motion-pending {
  opacity: 0;
  transform: translate3d(0, clamp(18px, 2vw, 28px), 0);
  filter: blur(3px);
  transition:
    opacity 620ms cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--stc-motion-delay, 0ms);
  will-change: opacity, transform, filter;
}

body.stc-global-motion-enabled [data-stc-motion].is-motion-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

body.stc-global-motion-enabled :is(
  .elementor-button,
  .button,
  button,
  input[type="submit"]
) {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

body.stc-global-motion-enabled :is(
  .elementor-button,
  .button,
  button,
  input[type="submit"]
):focus-visible,
body.stc-global-motion-enabled a:focus-visible,
body.stc-global-motion-enabled summary:focus-visible {
  outline: 3px solid rgba(138, 44, 115, 0.55);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  body.stc-global-motion-enabled :is(
    .elementor-button,
    .button,
    button,
    input[type="submit"]
  ):hover {
    transform: translateY(-2px);
  }

  body.stc-global-motion-enabled [data-stc-motion-kind="card"].is-motion-visible:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 22px 50px rgba(23, 34, 53, 0.12);
  }

  body.stc-global-motion-enabled main a img,
  body.stc-global-motion-enabled #main a img {
    transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
  }

  body.stc-global-motion-enabled main a:hover img,
  body.stc-global-motion-enabled #main a:hover img {
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.stc-global-motion-enabled *,
  body.stc-global-motion-enabled *::before,
  body.stc-global-motion-enabled *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body.stc-global-motion-enabled [data-stc-motion],
  body.stc-global-motion-enabled [data-stc-motion].is-motion-pending,
  body.stc-global-motion-enabled [data-stc-motion].is-motion-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
