Hundreds of thousands of fans across Brazil joined in the party atmosphere as the hosts got their FIFA World Cup campaign off to winning start against Croatia.