As noted inline in places, this entire HTML doc needs its indention, line breaks, and hierarchy revised so that its clear what is nested in what.