To place flex items in the center of the main axis of the container, we set justify-content to center.
justify-content
center
Make sure to pick center.