* {
  box-sizing: border-box;
}




.wrapper {
  display: flex;
  width: 90%;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;

}

.carde {
  width: 360px;
  height: 280px;
  border-radius: 15px;
  padding: 1.5rem;
  background: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.4s ease-out;
  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
  margin-top: 40px;

}

.carde:hover {
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
}

.carde:hover:before {
  opacity: 1;
}

.carde:hover .inform {
  opacity: 1;
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}

.carde:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: 0.5s;
  opacity: 0;
}

.carde img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 15px;
}

.carde .inform {
  position: relative;
  z-index: 3;
  color: white;
  opacity: 0;
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  transition: 0.5s;
}

.carde .inform h1 {
  margin: 0px;
}

.carde .inform p {
  letter-spacing: 1px;
  font-size: 15px;
  margin-top: 8px;
}

.carde .inform button {
  padding: 0.6rem;
  outline: none;
  border: none;
  border-radius: 3px;
  background: white;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s ease;
}

.carde .inform button:hover {
  background: dodgerblue;
  color: white;
}