Rewriting media query to adapt to a mobile first approach