Full screen lottie-animation on macbook pro 16 inch

Hi everyone, I’m having trouble with fullscreen Lottie animation I implemented on my website. I followed the steps in this tutorial: Responsive full screen Lottie animation (keep Aspect Ratio)

While the animation works perfectly on my 27-inch monitor (16:9 aspect ratio), a strange black bar appears at the bottom of the screen on my 16-inch MacBook Pro. This is quite distracting. Do you guys have any solutions?

Thank you so much!

For reference, here’s how the animation appears on my 27-inch monitor:


And here’s how it appears on the 16-inch Macbook Pro: