     }
     
      @objc  func cardTapped(){
-        print("Tap Click")
+        self.onCardTap?()
     }
     
     override open func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {

    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
        let  cell = collectionView.dequeueReusableCell(withReuseIdentifier: "imageViewCard", for: indexPath) as! ImageViewCardCell
        cell.configure(index: indexPath.row)
        return cell;
    }
    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {


class ImageViewCardCell:UICollectionViewCell,UIGestureRecognizerDelegate{
    private var tap: UITapGestureRecognizer!
    var onCardTap:(()->Void)?
    let cardView:UIView = {
       let cardView = UIView()
        cardView.backgroundColor = UIColor.white
