So I was previously logged in to my account on my mac (OSX High Sierra 10.13.6), but then it started saying I was offline all of a sudden, even when I tried reconnecting and made sure I was not actually offline. This has been going on for about two weeks, but I didn't really make much of it since I don't really play that often.
However, I tried solving the problem by logging out and logging in again, but then all it says is "Sorry! Make sure you are online and try again!", and again, I am sure that I'm online. For the record, yes my login credentials were written correctly, I'm still able to login to Minecraft.net.