A person who has attained the full age of 18 years is capable in law of contracting into a civil marriage, if otherwise competent.