Borrowed from Spanish ufano, possibly from Gothic 𐌿𐍆𐌾𐍉 (ufjō). Compare Catalan ufana.
Practice speaking and memorizing "ufano" and many other words and sentences in Portuguese.