What makes a cell membrane waterproof?

What makes a cell membrane waterproof?