If that were true, then the Earth would be frozen solid. of course, the atmosphere helps keep the planet warm.
You have a fundamental misunderstanding of the "greenhouse" effect and its application to the atmosphere. It is your scientific illiteracy that allows you to accept the terribly flawed AGW theory. Let me see if I can explain this in terms that a person who has no science can understand.
First, and foremost, the atmosphere does not behave like a greenhouse. I have already stated that basic fact and apparently you can' not wrap your mind around the fact because you don't understand the basic fact. A glass house is warm inside because the glass prevents the exchange of air between the inside and the outside. It has nothing to do with changing wavelengths as you so eroneously suggested. Wavelengths may be absorbed but they are not changed.
The glass keeps the warmed air inside the greenhouse so that it can't be carried away. Clearly that is not how the atmosphere is warmed. The fact is that the atmosphere encourages, not discourages convection (the exchange of air between warmer and cooler layers).
The atmosphere does not trap heat as does a greenhouse. If the atmosphere were capable of trapping heat, then the temperature would steadily rise as happens in a greenhouse. Clearly that does not happen as the atmospheric temperatures remain relatively constant because energy is not trapped. Energy escapes the atmosphere as quicily as it comes in.
Why did you think it's colder in higher elevations?
It is cooler in higher elevations because the air is thinner and less longwave radiation leaving the earth is absorbed. Check the temperature on the floor of a greehouse and at the ceiling. You will find that the temperature is the same no matter how tall the greenouse is. That fact alone should clue you in to, at least, the idea that a greehouse is operating under an entirely different principle than the atmosphere if you are thinking critically.
OK, no need to quibble over definitions. The point is, a theory has been pretty thoroughly tested by a variety of people before it becomes a theory. It takes some new facts and observations to cast doubt on an established theory. An hypothesis is still up for testing and debate.
New facts and observations. How about the fact that the outgoing longwave radiation in the CO2 spectrum has not changed since the 1970's in spite of more CO2 being in the atmosphere? If AGW theory is correct, then more CO2 would result in less outgoing longwave radiation in the CO2 spectrum due to the absorption of more OLR by the CO2. That clearly isn't happening.
Well, it has been proposed as an explanation of observed data, and tested by independent scientists worldwide.
No. It has been proposed as an explanation of simulated data. Warming is only happening in the simulations. The satellite data record does not show any warming and the ground based data collection system has been corrupted to the point that it is useless. Thousands of ground based stations have been taken offline and the vast majority of those were in rural areas. What we are left with is stations in metropolitan areas that are subject to the heat island effect and naturally show higher temperatures. NOAA and GISS have acknowledged that their temperature record is not as accurate as the CRU record which has now been proven to be flawed beyond repair. The fact is that the only data record that can be trusted (the satellite record) does not show any warming trend and yet, the believers keep on believing.
Believing simply because a theory aligns with your political motivations is not scientific literacy.