Thanks for pointing out the mistakes - maybe that's why the main stylesheet is mixing with the custom stylesheet for the index site.
I am trying to implement a Masonry image grid on the index site in a already made wordpress template which meant I had to override the main stylesheet and make a stylesheet just for the index site. Very confusing for me but progressing slowly hehe.
Definitely will use the validator tools. Thank you!