How can I make the background image cover the entire browser window's screen without losing its aspect ratio? Currently, it only covers a portion of the screen. Please help!
html
<div class="container">
<h1> GAME</h1>
<div class="color-overlay"></div>
</div>
css
.container {
background-size: cover;
background: #000 url(images/group11.jpg);
color: #fff;
background-repeat:no-repeat;
background-position:center;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.color-overlay {
width: 100%;
height: 100%;
background: blue;
opacity: .6;
position: absolute;
}