Melting and boiling points decreases as you do down the group due to shielding increasing which causes the metallic bond to be weaker and less energy is required to break the electrostatic forces. For magnesium, it has a lower melting point then expected due to variation in how it's atoms pack in the metallic crystal