Hi,
I'm Rodrigo and I'll help you.
With a third-party application, you will be able to shrink D: and expand C: easily.
There are many free options but I recommend you to use AOMEI Partition Assistant. Download it here:
https://www2.aomeisoftware.com/download/pa/PAss...
Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
After downloading and installing it, open the application, you will see your disk structure just like in Disk Management, right-click D: > Resize/Move Partition
Drag from the left edge to shrink D: and leave space to expand C:.
Right-click C: > Resize/Move Partition Drag from the right edge to expand C:.
After completing the operations, select "Apply" on the top left corner to apply the changes.