The more that you go higher in the stratosphere, the more that it gets warmer. This is because you are going to get closer to the earth’s ozone layers that are protecting you from the very hot rays of the sun. Expect that the temperature is surely going to change as you go higher.
Of course, if you go lower, then the temperature is also going to get colder. Temperature is not going to remain constant as you travel from one atmosphere to another. Remember that the air molecules also tend to decrease as you go higher near the earth’s surface which means that air temperature will also get affected.