Breakdown of A razão do atraso foi o trânsito.
ser
to be
de
of / from / by (means of transport) / wearing (attire)
o trânsito
the traffic
o atraso
the delay
a razão
the reason
Elon.io is an online learning platform
We have an entire course teaching Portuguese (Portugal) grammar and vocabulary.