There is not really a main reason for the Nazi defeat in 1945. When the Americans joined the war (they got there late, as they did in the First World War), they provided the extra manpower which pushed the scales on the side of the Allies. Britain and France were pretty much exhausted by this time, and it seemed that Germany was going to win. But Germany concentrated on armaments too much, and were distracted by the Holocaust. This enabled the Allies to get closer. This is why, as the Allies descended upon his Berlin bunker on the 30 April 1945), Hitler and his mistress Eva Braun (whom he had married the day before) gave up and killed themselves, along with some leading players such as Josef Goebbels. When Hitler was gone, there was no choice but for the Nazis to surrender.