Hi,
Please don't get depressed over your grades! Especially not when you are so early in your journey... no matter what any of your classmates/friends/ whoever tells you, everyone has a bad semester (or year, or years, for that matter) because guess what? We are all human and entitled to get tired or not understand or whatever the case may be. As long as you know that you are doing the best that you can do, be proud of your work. If something is lacking and you can't figure out why, tell someone so that you can find a solution instead of complaining/getting depressed about it. And please, please try not to let your grades equate to your worth as a person or let them define who you are or anything like that, I think that it is easy to do when you get into such a competitive field. You are doing fine, take it easy and have yourself a good summer so you can get excited about classes when it is time to start up again.
😉