Key factors that affect electron pair availability in a base, B?
Electronegativity. When comparing atoms within the same row of the periodic table, the more electronegative the atom donating the electrons is, the less willing it is to share those electrons with a proton, so the weaker the base
Size. The larger the atom the weaker the H-X bond and the lower the electron density making it a weaker base.
Resonance. Delocalization across 2 electronegative atoms makes it the electrons less available than when they localized on a specific atom