I've taken inspiration from @pixelass to create my own morphing search icon. I also added a little JavaScript to remove the header and make sure the search bar fills the entire navbar.