@media (orientation: landscape) { html { background-image: url('../images/horizontal_background.png'); } body { width: 90%; height: 1000px; margin: 40px 5%; .top { margin: 0; } .center { width: 75%; position: relative; float: left; height: 20%; margin-left: 150px; margin-top: 40px; .item { flex-basis: 30%; .button { .label { font-size: 2.5em; } } } .item.ac { .label { font-size: 2.5em; } } } .bottom { flex-direction: column; width: 15%; position: relative; float: right; margin: 0; height: fit-content; align-items: center; justify-content: space-between; flex-wrap: nowrap; .button { margin: 10px 0; img { width: 100%; height: 80%; } } } } }