Why doesn't this parallax work?

I am making a parallax from scratch because I had a problem being able to change the img source with keyframes. Now that the pictures change on a set interval function, I had to change it back to a normal img tag in the jsx. It scrolls behinds the fixed nabber, but the bottom margin doesn’t eat up the picture like it is supposed to. Why doesn’t this parallax work?