How does the movement of the Moon around the Earth affect the Earth’s distance from the Sun?

The center of mass of the Earth-Moon system moves in an elliptical orbit around the Sun. The center of the Earth will be either closer or further from the Sun than the center of mass.
On a full moon, the earth is closer to the sun, and on a new moon, farther from the sun than when the moon is in the first and last quarters.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.