reduced redundancies in @media section of css