I think watching this video from Kevin Geary about relative and absolute positioning would help:
Regarding your divs, you make their container relative (could be absolute too for that matter but then the container must be also “absolute” to another parent or if it is without a parent and set absolute it will be in relation to the main body or page). The divs inside the container are absolute related to it (the container). The content of the absolute divs will be contained inside them and move along with them.
So very simplistically,
Main container (relative) >
DIV Wrapper 1,2,3 (absolute and give coordinates/top/bottom, etc) > Content positioned however you like inside the “absolute” div (can use flex, grid, block whatever suits the occasion).