.mainpage-wrapper { display: flex; flex-direction: column; } .mainpage-header { display: flex; } .mainpage-header { display: flex; flex-direction: column; }