The flex-wrap Property

The "flex-wrap: nowrap;" specifies that the flex items will not wrap (this is default):

Nature
Nature
Nature
Nature
5
6
7
8
9
10
11
12

Try resizing the browser window.