body { margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 100vh; } .wrapper { flex:1; display: flex; } header { width: 100%; overflow: hidden; } img { width: 100%; height: auto; display: block; } .vertical-banner { width: 200px; background-color:#9F0A0A; padding: 20px; box-sizing: content-box; } main { flex: 1; padding: 20px; box-sizing:border-box; } h3 { color: red; font-size: large; text-align: center; } h4 { color: black; font-size: large; text-align: center; } p { color: black; font-size: large; text-align: center; } ul { color: black; font-size: large; text-align: center; float: right; }