Well done I had the same problem with my text in my first game. Solution was to make the Canvas which the text is in Scale with the screen size so they go go outside of the screen. Game is too hard for me as I cannot managed to retrace my steps back but that's to be expected for a first game.
Well done on managing to complete it.