.page-center{ display:flex; flex-direction: column; width:100vw; height:100vh; .xsschool{ margin-top:0vh; margin-left:65px; .img{ width:80px; height:60px; } } .section2{ display: flex; flex-direction: row; .part1{ .icon{ margin-left:35px; margin-top:5vh; .img{ width:150px; height:160px; } } } .part2{ .icon{ margin-top: 4vh; margin-left:45px; .img{ width:135px; height:145px; } } } } .section3{ display:flex; flex-direction: row; margin-top:0px; .part1{ .icon{ margin-left:0px; margin-top:12px; .img{ width:200px; height:250px; } } } .part2{ .icon{ margin-left:5px; margin-top:-30px; .img{ width:200px; height:200px; } } } } }