Prefer max-width to avoid bad resize with mediaqueries