Summer heat in 1st trimester

My friend invited me to go swimming at her house today, but it’s 100 degrees + humidity where we live, I’m 9 weeks, and was wondering if it’s safe to be in the heat while I’m in my first trimester still?