Functioning, but CSS breaks site