Base your studies on Teach Yourself CS. If you finish one item from each of their courses you will be more knowledgeable than even many CS graduates. If you could finish every book and video series they recommend for each course you would be reasonably well prepared for amateur research.
https://teachyourselfcs.com/