I can solve all this for you.
There is no evidence she married anyone.
If you believe she got pregnant before she "married", she has already got off side with God yet she goes off to be the mother of a son of God whilst a virgin at the same time. That makes no sense. The ten commandments talks about adultery etc.
She wasn't a virgin as research says she was the mother of 6 children of which Jesus was the third. So much for the virgin births. She enjoyed a bit of slap and tickle behind the camel shed far too often it appears.
The whole story is a myth and should never have been fabricated then expected people believe it.
It's all rubbish. Stay away from that.
^^^^^ SILLY TO SAY "ALL RUBBISH" of course the hollywood aspects are silly----but
one should not describe scriptural writtings as "all rubbish"------they have points of value
for the broad mind