@meistens
Posted
To add to what was suggested, your media query is somewhat unnecessary, seeing as you followed a desktop-first approach to build the page.
Here's an example of how it should be (not actual px, so you should modify as it seems you know what you're doing).
@media screen and (min-width: 320px) and (max-width: 420px) {
.container {
margin: 100px auto 0 auto;
max-width: 500px;
display: flex;
flex-direction: column;
max-height: 60vh;
}
Marked as helpful