In a school, a group of students decided to take part in a fundraising event. Each student was tasked with selling chocolate bars. For every chocolate bar sold, a student earned $2. Furthermore, to encourage team effort, for every 10 bars sold by the entire group, a bonus of $5 would be distributed evenly among all participating students. If 15 students participated and together they sold a total of 80 chocolate bars, what was the total amount of money earned by the group in dollars?