A Flexbox container has two directions, or axes. The main axis runs along its flex items; the cross axis runs across them, at a right angle. Think of a row of items: the row runs horizontally, so its cross axis runs vertically. Change the row to a column, and the cross axis runs horizontally instead. section 12.2
Set `display: flex` on a container to make its children flex items. Then `flex-direction` determines which way the main axis runs. For alignment, ask two separate questions: Where should items sit *along* the main axis? Use `justify-content`. Where should they sit *across* it? Use `align-items`. section 12.2
Center a header across its row
A header can put a logo and title side by side with `display: flex`. Add `align-items: center` to center them on the cross axis—which is vertical for this horizontal row. The names sound abstract, but the visible result is simply a tidier header. section 12.6
If items wrap onto multiple lines, there is one more cross-axis question: how should those lines be arranged? That is the job of `align-content`. First decide the item direction, then tackle alignment; the axes will be much less mysterious. section 12.2


