use flex instead of box
modify to set display:flex to parent of PAGES
remove section and article from css
add 'display: flex' and comment
set align-items center
modify sample html and css