added overflow to resultcard to prevent images from flowing outside the box