but if you eat too many calories, it doesn't matter what time of day you ate them or if they were protein, carbs, or fat.
never forget the 'big picture' when you start to dissect your eating habits.
What I recommend is determine your protein intake, and total caloric needs. Make sure 25-30% of your calories come from fats.
Then fill in the remainder with complex carbs, and the occassional extra protein serving, particularly if you find yourself gaining fat when you don't want to. Excess calories = fat gain, but carbs are most easily converted to stored fat.