1an adverb meaning 'how' or 'how much', used to ask about or emphasize degree — often in the exclamatory pattern 'どんなに...か'
あの時どんなに嬉しかったか、今でも覚えている。
I still remember how happy I was at that time.
どんなに大変だったか、想像もつかないだろう。
You probably can't even imagine how tough it was.
母がどんなに心配したことか。
You can't imagine how worried my mother was.
2used in the concessive pattern 'どんなに...ても/でも' to mean 'no matter how (much)...' — the outcome stays the same regardless of degree
どんなに練習しても、簡単には上達しない。
No matter how much you practice, you won't improve easily.
どんなに忙しくても、毎日運動するようにしている。
No matter how busy I am, I try to exercise every day.
どんなに反対されても、彼女の決意は変わらなかった。
No matter how much people objected, her resolve didn't change.