Hitler influenced both the military and the youth by manipulating his beliefs upon them. He gained political power by killing many of the people who had a high standpoint in Germany who said he did not belong in power which gained him control over the country. The youth were impressionable and outraged that they had lost world war 1 and Hitler manipulated them to believe that he could gain back Germany's pride by making Germany superior to every other country.
I hope this helped ^^