From midnight to 2:00 am, the temperature rose 1.15°C each hour. If the temperature at 2:00 am was -2.7°C, what was the temperature at midnight?