What about simply:
.main-link { display: flex; align-items: center; }
It should be okay in your case.