Don't put 1200 pixels for the width. You can put 100%vh instead. It takes up 100% of the width of the viewport.