Three of the main reasons Germany lost:
1) Hitler was in complete control.
1a) Hitler was an indiot.
2) They attacked the USSR and failed to capture Moscow before winter started.
3) They went to war with the US which had a lot of manufacturing capacity.