Image Lightbox Images are not behaving the way I imagine

Hey there,

still working on creating our company page and am getting further down the road with the development.

I’m currently developing the CMS template page for our clients projects.
I have a main image, title, category and year + the text about the project.

Beneath that I want a lightbox image gallery and it already functions. But I cannot style the image properties how I want them to.

They are positioned on a white card style with little box shadow added and should be spread across this card with 30px margin to all sides. But whenever I’m trying to do that or add some spacing in between them, the card is further off to the right.

Is there anyone here who can help me out?

Regards,
Hendrik


Here is my site Read-Only: [LINK]https://preview.webflow.com/preview/elumico-neu?utm_medium=preview_link&utm_source=designer&utm_content=elumico-neu&preview=1264e599f07ca6708a692f1d89ba8671&pageId=607e97aa0c79b128243f8cc9&itemId=607e97aa0c79b1bb6b3f8d34&mode=preview[1]
(how to share your site Read-Only link)