changed overlay to div instead of :before pseudo-class