costa rica climate in june

Is June a good time of year to visit costa rica?
My friends and I are looking to visit Costa Rica this year. The second half of June is what works best for all of us. I’m wondering how the climate generally is that time of year. According to google, it’s hot and always raining- is this the case?
The rains tend to come in downbursts and are then gone. Think of a torrential downpour for 10 minutes, then nothing, but this might happen 6 times a day.
Plenary Wednesday 24 June, 2009 Part 4/22