main { text-align: center; width: 100vw; } section { display: inline-block; background-color: rgba(255,255,255,0.3); aspect-ratio: 425/600; width: 43vw; margin: 1vw; margin-top: 60px; } img { width: 100%; background-color: transparent; } form { margin: 20px; } input { width: 50%; } @media (max-width: 1500px) { section { width: 90vw; } }