Trouble with absolute positioning

im following this tutorial word for word,

but i cant get my x(close button) to be absolute positioning at the corner of the form? what is wrong?

https://preview.webflow.com/preview/hogarths-stupendous-site?utm_medium=preview_link&utm_source=designer&utm_content=hogarths-stupendous-site&preview=dd742ee0ddebbd017a45fdc51177307b&pageId=6529c667cd21e8466008ddc3&workflow=preview

edit: i think i figured out what is wrong, the div holding the form is expanding to the edge of the page, how would i have it constrain to the limits of the form?


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

i solved the problem with this short video if anyone has experienced similar problems