.main-screen { min-height: 80vh; } .bg-img { background-image: url('bg.jpg'); background-size: cover; opacity: 0.2; filter: alpha(opacity=20); width: 100vw; height: 100vh; position: fixed; overflow: hidden; }