Unscrew the top door hinge and add the other 2 cardboard cutouts.
Wooden door hinge adjustment.
Idhba 80320 10b professional grade quality solid brass half surface adjustable spring screen door hinges with ball finials oil rubbed bronze pack of 2 3 7 out of 5 stars 25 43 64 43.
For interior doors see the article adjusting interior doors.
Now that both door hinges are slightly raised by the pieces of cardboard the gap between your door and the frame should be smaller.
If you are working on an exterior door you want to see the article adjusting entry doors for instructions on how to do this.