Introduction
CSS calc lets you do math inside your styles to mix different units and create flexible layouts.
When you want to set a width that is 100% of the container minus some fixed pixels.
When you need to combine percentages and pixels for padding or margin.
When you want to adjust font size based on viewport width minus a fixed size.
When you want to create responsive spacing that adapts but keeps some fixed gap.