What is a media query?
Conditions that the browser evaluates to decide whether a block of CSS should apply.
A media query wraps a block of CSS together with a condition. If the condition is true, such as “the viewport is at least 768px wide”, the browser applies that block. If it is false, the block is ignored.
The syntax is `@media type (condition) { ... }`. In modern browsers it is often clearer to use the Media Queries Level 4 range syntax, such as `(width >= 600px)`, instead of the older `(min-width: 600px)`. It reads more like a mathematical comparison. Common conditions include `min-width`, `max-width`, `orientation`, `prefers-color-scheme` and `prefers-reduced-motion`.