Add the right flex-direction to make the main axis be horizontal and the cross axis be vertical.
flex-direction
Make sure to pick row-reverse.
row-reverse