To get a perfect overlap, the apparent sizes of the sun and the moon have to be roughly the same, so that the moon almost totally covers the sun.
Saules un Mēness redzamajam lielumam jābūt aptuveni vienādam, lai Mēness gandrīz pilnīgi aizsegtu Sauli.