How is the entire noun clause used in the sentence?

These young people turn their minds to whatever seems most mysterious.

A.
predicate nominative

B.
direct object

C.
subject

D.
object of a preposition