Bonfire safe ?

Susana
Hi ladies,
I was just wondering if any of you know if bonfires are safe to be around while pregnant. I was around one for only about 15-20 min then I left because I was worried it was bad for me and my baby? 
-thanks