I can't say for sure about your food. I'd think it's OK especially if your freezer is still frozen. The fridge would keep running and cooling.
For the future. If the door doesn't naturally close then check to make sure the fridge is level - both front t back and side to side. There are adjusters on the legs if it is not.
Also, you can get pretty inexpensive digital fridge thermometers that can save the minimum and maximum temperatures since the last time you reset them. Here is a link to on on Amazon that's under $10.
If you want to check and make sure your freezer hasn't thawed and refrozen then take a small cup or jar, fill half way or so with water and freeze it. After it is frozen solid put a penny on the top. If it ever thaws and refreezes the penny will be in the middle, or under, the ice instead of on top. As long as the penny is on top it shows the ice remained frozen. Or get an extra one of the thermometers I mentioned for the freezer.