Google Search Results (difficult) layout of Videos section

I am in dire need of help. This videos section of my results page is turning into a train wreck. I had no idea how to get the layout so I used another person’s finished page and tried to use their html and css. I’m further along than I would’ve been, but I need help fixing it. I have no idea what to do.

Github: https://github.com/astrickland311/google-search-results

results page: https://astrickland311.github.io/google-search-results/

the other student page I tried to use: https://sizwemalobola.github.io/google-homepage_difficult/

bump

Hi,
You didn’t set a width for the element with the videos, that means it will fit the screen. The person you copied from has a wrapper with a set width for the main content. I hope that makes sense to you.

Thanks. I was able to get through this with the help of this flexbox tutorial video. I ended up commenting out all of the borrowed html and css.