Convert pixel values to rem