If you want the styling of the box shadow to match more closely to the design, change the "5px" in the code to "10px 12px 0px var(--Black)". That third value creates the blur radius.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!