How can I order something such as Javascript in front of a Button?

So I have a bunch of buttons and a popup menu that goes under the buttons, how can I use something to change that? if I change the z-index of the button to less than 0 then I can’t click it.

Yes, I know when you click the buttons they move, I just wanted to let someone answer this question while I fix that

Also, this is a minimal version of my website, sorry if some things are missing. I can only fit 10 files :stuck_out_tongue: