@media only screen and (max-width: 700px) { #section p { font-size: 150px;} } @media only screen and (max-width: 400px) { #section p { font-size: 100px;} } @media screen and (max-height: 670px) and (orientation: landscape) { #page-content { display: flex; align-items: flex-end; align-content: flex-end; justify-content: center; flex-direction: row; flex-wrap: nowrap; } #nevral { margin: 0 auto;} #section { margin: 0 auto 25px auto;} }