I'm doing a project in pygame. I create a menu of food. In each box, when I move the mouse on it, its border turns to blue and the text "Click more" appears

When I click to the "Click more", I want a new layer appear on top of the boxes and I want all the boxes at the back cannot be access unless I close the layer.

However, what I'm doing right now is just draw a simple rectangle and thus, all the boxes at the back can be clicked as normal, like this

I've read a bit about adding layers in pygame but I can't get it. I'm only working on pygame for 2 weeks.