Problem with code.

@jonatandor35
My lightbox is a full-size video, which worked well when putting it in the overlay, and was completely responsive to all screen sizes:

But the problem is, since I can’t animate the overlay, I had to put the video in the lightbox, which doesn’t work that well:

How can I resolve this? And again, thank you for answering.