Update main.css

Adding transition
correct bugs
adding media queries for desktop devices.