But seeing you are an atheist, upon what basis does atheism consistently determine which things are sin?
Whatever you see or not, marriage as an institution evolved in societies independently, worldwide for a reason - societal stability. It goes in parallel with evolution itself, is a subset thereof (cultural evolution) and needs no appeal to superstition / deity to see its validity and justification.