Well, this particular friend lives on the opposite coast from me but we wish we lived closer and could hang out more. Still, just having that positive energy, to be able to relax with people who aren't going to judge, even if you wind up talking about the silliest things, it can help you relax.
But you also need to try to not get a jolt of 'omgomgomgomg' once you're done spending time or chatting with friends.
We owe it to ourselves to take care of ourselves, and it can be tempting if you're already tending toward feeling anxious over something, to put yourself into a box. Basically to snap from relaxing friend time to omgomgomgomg overwhelmed.
I will say that increased confidence helped. But also adjusting the way you talk to yourself. The anxiety of perfectionism is rooted in the consequences you imagine but in your case, you also have a deadline, which can feel like a big looming monster when amplified by those feelings. We always criticize our own work the hardest, AND we're such experts at coming up with every single possible negative consequence on the planet. When you can bring yourself down a bit, break it into small pieces, and even do things like write out some of the consequences you fear, especially when you're feeling more patient with yourself, and then come up with things to tell yourself why they're not as bad as that. You kind of arm yourself with ways to talk yourself down in particularly bad moments.
Do you engage in negative self-talk? I've spent time working on that to the point where I can catch it and turn it around.
Not sure if any of this helps or what you have or haven't tried. But you can do this. You haven't painted yourself into a corner.