The "flex-wrap: wrap;" specifies that the flex items will wrap if necessary:
Try resizing the browser window.