I've been working on a site and so far for PC it looks fine, the content takes up 50% of the screen and is centered, but of course it maintains this when viewing the page on a mobile device too, not allowing enough space for the content to site properly. How can I make it so that the blank space around the content is removed when shrinking the window.
Example of the current layout:
<div class=content></div>
CSS:
.content{
margin:auto;
width:50%;
height:100vh;
background-color:black;
}