change max-device-width to max-width