updated media queries and animations