@media (orientation: landscape) { html { background-image: url('../images/horizontal_background.png'); } body { width: 90%; height: 1000px; margin: 40px 5%; .top { margin: 0; } .center { position: relative; float: left; height: 20%; margin-top: 40px; .item { flex-basis: 30%; .button { .label { font-size: 4em; margin-top: -45%; } } } .item.ac { .label { font-size: 4em; margin-top: -45%; } } } .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%; } } } } }