Can you solve the z-index paradox?

screenshot