Using .main.content (with no space) will target any elements that have a class of both main and content. This is none in your case.
Using .main .content (with a space) will target any elements with a class of .content that are descendants of an element with a class of .main. This will be all of them in your case.
If you are trying to target the final element with a class of content use the :last-child pseudo-class.