Please use one topic for only one question.
Hi.
Check this video https://data.true-emotions.studio/themes/YellowPencil.mp4
To find the problem rule, try to delete a half of css code and check if footer place changed or not. Than half of this half and so until you find the problem.