Change class in viewport: create animations with pure CSS