look at this snippet
</div><!-- #EndLibraryItem -->
the last closing </div>, below endlibrayitem, has no opening equivalent. So start by deleting that.
At line 86 you have a stylesheet <link href="style1.css" rel="stylesheet" type="text/css"> this is a duplicate of the original style sheet already present in the head.
So delete that bit at line 86