Julia spends a total of 1.5 hours texting her friends and 1 hour on a social media site. She practices piano for 1 hour. She uses the Internet to work on homework for 2.5 hours, and then reads a book she checked out from the library for half an hour. How much time did Julia spend with digital media?