To summarize what is below, basically $(x+42)^{x+42}\equiv x^x\pmod{7}$
and since $300=42\times7+6$ there are $7$ periods of same remainders plus 6 extra things so the remainder has to equal to the 6 extra things.
For writing convinience we denote $0^0=0$ in this anwer.
Now apply fermat little theorem $x^6\equiv1\pmod{7}$ we get your sum is congruent to
$$0^0+1^1+2^2+...+6^0+7^1+8^2+...+12^0+13^1+...299^5+300^0$$
which is congruent to
$$0^0+1^1+2^2+...+6^0+0^1+1^2+...+5^0+6^1+...5^5+6^0$$
We group each seven together:
$$(0^0+1^1+2^2+...+6^0)+(0^1+1^2+...+5^0+6^1)+...+(0^5+...+6^5)+...+(0^0+...+5^5+6^0)$$
Now every period consists of $6$ groups.
Now each "6-groups" have 42 elements and $300=42\cdot7+6$ so there are $7$ "6-group"s and your sum is congrent to $(0^0+1^1+2^2+3^3+4^4+5^5+6^0)\equiv 5\pmod{7}$