moved media queries out of common and into relative