.container { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 10vh 0 6vh; overflow: scroll; scrollbar-width: none; -ms-overflow-style: none; transform: translateY(-2rem); @media screen and (orientation: portrait) { padding: 5vh 0; } } .container::-webkit-scrollbar { display: none; }