I need some help arranging images in my website?

This is my pen:

Everything is good on a large screen. But when I make the window small, everything except the navbar moves to the left and there’s extra horizontal space in the page. But this does not happen when I remove the images. So I’m guessing it’s a problem with image placement? Help would be appreciated.