Div block half hidden and after clicking the link text the whole block animates in

Hi everyone

I am trying to figure out how to make a div block animate in like a pop up window. I tried to do animations but nothing worked.
So when the text link is clicked the div block should animate in from the right side and have a left margin of 10px when animated out. The div should have information about gold prices. Can someone help?

Another problem I have is that when I turned the link text 90 degrees it wasn’t fixed anymore on the right side of the window. How do you fix that?

Kind regards


Here is my public share link: Webflow - svenskaguld