Perpetual calendar

1) Find the principle of the calendar. 2) Explain the red month for leap years.