I believe I'm doing everything right but I can't get past the second level. Nice aesthetics!
I've created a comment above to make the mechanics clearer, in case you'd like to try again, I hope it will help. Also, thanks !