Based on your description, I understand that after you have migrated a whole site collection from SharePoint 2013 to SharePoint Online, the original global navigation and custom master page in the SharePoint 2013 is not available in the SharePoint online.
You should create new global navigation in the SharePoint Online manually. And custom master page cannot be applied to SharePoint modern page.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.