.cardCP {
    border-radius: 5px;
    background: white;
    position: relative;

    transition: 0.4s ease-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.cardCP:hover {
  transform: translateY(-3px);
}
.cardCP:hover:before {
  opacity: 1;
}
.cardCP:hover .info {
  opacity: 1;
  transform: translateY(0px);
}
.cardCP:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2;
  transition: 0.5s;
  opacity: 0;
}
.cardCP img {
    width: 100%;
    height: auto;

  border-radius: 5px;
}
.cardCP .info {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
  z-index: 3;
  color: white;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s;
    padding: 1rem;
}
.cardCP .info h3 {
  margin: 0px;
    font-size: 2em;
    text-overflow: ellipsis;
    overflow: hidden;
}
.cardCP .info p {
  letter-spacing: 1px;
  font-size: 15px;
  margin-top: 8px;
}
.cardCP  a {
    display: block; 
}


.cardCP .info-footer{
    position: absolute;
    bottom: 15px;
}