Video and slideshow lightbox w/ captions on side

i want to make a lightbox effect with a video and a slideshow and to add caption in a way that it appears on the side only when the media is enlarged
i was trying to avoid creating other pages just to see the project with some explanation.

here’s a picture of what i was thinking-

i’m really a beginner at this stuff
have no idea how to do it