added sass variables to animation for reusability