Fixed Position but relative to A container

Hey, I am trying to add a button on the top which works exactly like the “Fixed” positioning in Webflow but its position is relative to a certain container and not the body.

Here’s an example:
The pitch button on this website

I’d love it if someone could help me with a tutorial to fix this. Thanks a lot!

Here is my site Read-Only: LINK
(how to share your site Read-Only link)