H1 tag is taking default margin, you need to set it up. Just add the below css code in your style and it will work fine.
header h1{margin:0;padding:0;}