how to align a flex box to the middle of the page code example
Example 1: centering with flexbox
/* HORIZONTAL */
justify-content: center;
/* VERTICAL */
align-items: center;
Example 2: flex align top css
align-items: flex-start | flex-end | center | baseline | stretch
.container {
display: flex;
align-items: flex-start;
}