CSS media query and animation time