For interior doors see the article adjusting interior doors.
Wooden door hinge adjustment.
Unscrew the top door hinge and add the other 2 cardboard cutouts.
Then screw the top door hinge back in place over the cardboard like you did with the bottom hinge.
Now that both door hinges are slightly raised by the pieces of cardboard the gap between your door and the frame should be smaller.
The key to adjusting door hinges is the top hinge.