Hi @dlogneb,
I hope you are well today and thank you for your question.
You can achieve this by developing custom CSS code as shared in the following topics.
https://colorlibsupport.com/t/shapely-porffolio-item/
https://colorlibsupport.com/t/project-gallery/
https://colorlibsupport.com/t/portfolio-grid/
Best Regards,
Movin