The selector nth-childcounts siblings (i.e. elements that have the same parent element).
In your structure, HTML is div.social-logoalways the first, last, and only child element a. Thus, it nth-childhas only one element for counting.
, ( #social-links), nth-child .
.
.
.