Height size in groups of the same page

Hi, I made a landing page with a size of 7474px that sends me to other pages (groups) because I did everything on the same page. The detail is that my other groups have different heights, I have tried with CSS code, collapsing groups and others but it does not fit me. I bought a plugin that (dynamic-height) but I don’t know if it can help me, thanks.

hii @dr-live

what i have understand is that you have two group of different size on one page and while clicking on one group it leads to another group and it have some space in bottom.so if i get it right what you can do.
you need to create the group one below each other and use collapse element height when hidden.then i think it will solve your purpose.