Implemented CSS @media queries