add opacity to flash-card class