Marriage is a civil contract between a male and a female person to which the consent of the parties capable of contracting is essential.