Add click and hover effect for the vocabulary card