The justify-content property aligns the flex items along the main-axis (horizontally for rows, vertically for columns).
This property can have one of the following values:
center
flex-start (default)
flex-end
space-around
space-between
space-evenly
Try changing the justify-content and flex-direction properties and combine them