     
 }
 
-class ImageViewCardCell:UICollectionViewCell{
- 
+class ImageViewCardCell:UICollectionViewCell,UIGestureRecognizerDelegate{
+    private var tap: UITapGestureRecognizer!
     let cardView:UIView = {
        let cardView = UIView()
         cardView.backgroundColor = UIColor.white
         cardView.layer.cornerRadius = 10
         cardView.layer.masksToBounds = true
+        cardView.isUserInteractionEnabled = true
         return cardView
     }()
     

    
    func setupSubViews() ->Void{
        self.contentView.addSubview(cardView)
        cardView.snp.makeConstraints { (make) in
            make.leading.trailing.equalTo(self.contentView)
            make.top.equalTo(self.contentView).offset(20)

        
    }
    
     @objc  func cardTapped(){
        print("Tap Click")
    }
    
    override open func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        UIView.animate(withDuration: 0.2) {
            self.cardView.transform = CGAffineTransform(scaleX: 0.95, y: 0.95)
        }
    }
    
    override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
        UIView.animate(withDuration: 0.2) {
            self.cardView.transform = CGAffineTransform.identity
        }
    }
    
    func configure(index:Int){
        if(index>0){
            imageView.image = UIImage(named: "CardImage4")
