$aos-distance: 50px; // @import 'aos/src/sass/aos.scss'; @keyframes float { 0%, to { transform: translateY(0) } 50% { transform: translateY(-3%) } } .animate-float { animation: float 3s ease-in-out infinite; }