moved CSS code related to animations