In the text,
“thinking” (l.45) is in the -ing form because it comes after a preposition.
Olá, para continuar, precisamos criar uma conta! É rápido e grátis.