wrong in CSS File and index.php

in php file you make id=head the right is id="head"
and css file you used align:center; and that's wrong, you can use
margin: 0 auto; to center.