Hey, Killian.
I had experiences with brain fog. When I read up on possible reasons- dehydration and gluten allergy came up. Both fit for me at the time. These might not be your main reasons for brain fog, but it might help to take measures to eliminate them as possible suspects$
I hope everything's sorted soon.
Good luck