W3 Schools page on media query
This is a more advance CSS rule that you can use to have CSS apply under certain conditions, like at certain screen size, or if something is being printed.
Resize your screen screen to watch the "Hello" change
The thing to keep in mind is the cascading part of CSS. If you have styling set up like the example above, and the media query after, it will override the previous CSS.