Correcting spacing for figcaption

- Replacing ‘margin’ with ‘padding’ because of margin collapse problem
- Changing ‘em’ unit with ‘rem’