Hello Saurav, congrats on your solution!
As some feedback:
Your layout isn't responsible for small and higher default resolutions. Maybe you can study about media queries to improve the layout for smaller resolutions and set a max-width and margin: 0 auto for higher resolutions, so your content will always have a max size layout and fit better on screen.
1