Reposition HTML elements based on CSS media queries.