A shim is a generic term for a wedge-shaped piece of material used to level things. You could make your shims from wood slithers or even folded plastic.
While you can use wood, it is susceptible to water damage and rot. Also, don’t use paper because it will rot down, causing the toilet to move.