First of all, thank you for the improvement. That solved most of my problem. However, I would like the magnetic effect to really happen like the site www.deveb.co. So very smooth. In my code, when you leave the button, the magnetic effect is now moved backwards elastically. However, on the Deveb page it is very smooth and the button returns to its original shape without any elastic effect when you exit. It also seems to me that the button moves too much to the left and right when hovering. How can I achieve this?
And my second question would be, how do I get the button to completely fill on hover. my second button is only half filled.