change opacity in card