After finalizing the layout of my webpage, I’ve noticed that when testing on actual devices, the layout adjusts automatically with changes in the screen size. For instance, the hero banner displays the image in full when viewed on a smaller window, but as the window expands, the image scales up as well, causing some parts to be obscured. I’ve observed that other websites maintain a consistent aspect ratio for their content, including text, which scales down proportionally when the window is reduced in size. How can I achieve a similar responsive design that ensures content proportions remain consistent regardless of the screen size?