The line breaks between the divs are causing the spacing. HTML interprets all whitespace (newlines, tabs, real spaces) and runs of whitespace as if it were a single normal space.
To fix, just make sure that the div's end tag is flush with the next div's open tag. Like so:
</div><div class="group"> <!-- no line break, no whitespace, nothing at all -->