created the rounded rect of the card