Try main:after {clear: both}