

.bricks-is-frontend :is(.animation-trigger, .animation-trigger--replay) {
  opacity: 0;
}


@media (prefers-reduced-motion: no-preference) {

  
  .animate {
    
    --duration: 800ms;  
    --delay: 1;   
    
    animation-name: microAnimation;
    animation-delay: calc(var(--delay) * 200ms);
    animation-duration: var(--duration);
    animation-timing-function: var(--timing-function, ease-in);
    animation-fill-mode: forwards;
    
    will-change: transform opacity scale;

    
    --translate-x: var(--translate-x, 0px);
    --translate-y: var(--translate-y, 0px);
    --translate-z: 0px;
    --scale: var(--scale-start, 1);
  }
  
  @supports (animation-timing-function: linear(0, 1)) {
    .animate {
      --duration: 1400ms;
      animation-timing-function: var(--timing-function, linear(0, 0.01 0.9%, 0.044 2.1%, 0.375 10.1%, 0.477 13.1%, 0.567 16.3%, 0.649 19.8%, 0.72 23.6%, 0.781 27.7%, 0.833 32.2%, 0.876 37.2%, 0.911 42.7%, 0.959 55.9%, 0.986 73.4%, 1));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate {
    animation: none !important;
    transition: none !important;
  }
  .bricks-is-frontend :is(.animation-trigger, .animation-trigger--replay) {
    opacity: 1 !important;
  }
}


:root {
  --translate-amount: var(--at-gutter, 10px); 

  
  --move-none: 0;
  --move-left: calc(-1 * var(--translate-amount));  
  --move-right: calc(1 * var(--translate-amount));  
  --move-up: calc(1 * var(--translate-amount));    
  --move-down: calc(-1 * var(--translate-amount));   

  
  --opacity-start: 0;
  
  
  --scale-start: 1;

  
  --scroll-direction: var(--move-up); 
}


body.scrolling-down {
  --scroll-direction: var(--move-up);
}

body.scrolling-up {
  --scroll-direction: var(--move-down);
}


[class^="animation-trigger"] {
  --translate-x: var(--move-none);
  --translate-y: var(--move-none);
  --translate-z: var(--move-none);
  --scale: var(--scale-start);
  --opacity: var(--opacity-start);
}

.animation--fade {
  --duration: 2s;
}


.animation--zoom {
  --scale-start: 0.8;  
  --opacity-start: 1; 
}


.animation--from-left {
  --translate-x: var(--move-left);
}

.animation--from-right {
  --translate-x: var(--move-right);
}


.animation--up {
  --translate-y: var(--move-up);
}

.animation--down {
  --translate-y: var(--move-down);
}


.animation--scroll {
  --translate-y: var(--scroll-direction);
}


@keyframes microAnimation {
  from {
    opacity: var(--opacity, 0);
    transform: translate3d(var(--translate-x, 0px), var(--translate-y, 0px), var(--translate-z, 0px)) scale(var(--scale, 1));
  }

  to {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px) scale(1);
  }
}



.animation--drawsvg {
  animation: drawsvg;
  animation-delay: calc(var(--delay, 1) * 300ms);
  animation-duration: var(--duration, 400ms);
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  stroke-dasharray: 3500;
  stroke-dashoffset: 3500;
}

@keyframes drawsvg {
  from { stroke-dashoffset: 3500; }
  to { stroke-dashoffset: 0; }
}
