The majority of Americans did not vote for anyone; neither candidate got over 50%.
If we are going to elect presidents on majority, then look at the county level where Trump won 86% of 3,000+ counties.  That says to me the majority wanted Trump.
But American use the electoral college.  Like it or not that is the system.  All candidates know this is the system.  If you are going to be president you have to win the electoral college.  HRC did not do the campaigning necessary (never went to Iowa, Michigan, Wisconsin during the general election.

The democrats would have won with Bernie.  He spoke the language of the people.  He knew it was about economics.  His policies may be very left, but he would have won because he could speak to everyone across the board, just like Trump did.  HRC was a flawed candidate.