How should I cool my Mac? I was wondering if I should by a CoolerMaster X3 cooling pad for my mac. I got a Late 2011 mac which reaches temp 80 degrees C even at 720p video buffering in browser and goes bonkers if I switch it up to 1080p or above or any quality at 60FPS.

It also gets hot while running simple programming softwares. Should I buy the cooling pad? Is it worth it?

I'm not looking forward to performance boost, I have to use this mac for a few more years. I just don't want it to get damaged due to heat effects in that time!
You actually don't need a cooling pad. You can manually change the fan speed on Mac with this utility called smcFanControl. You can get it here. You may also want to try to reset SMC to make sure that your fan is working properly.