What I'm going to ask you is completely dumb, but keep in mind I don't know much of physics.
If my understanding is correct, when mass gets dense enough inside, a star you have a black hole, that would be like a hole in the fabric of space time. Ok, we have black holes in the contemporary universe. So how was the primordial universe a ball of dense, extremely hot, opaque plasma without becoming a huge black hole?