/*

* {
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}
*/

.card_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  justify-content: space-around;
}

.card {
  width: 220px;
  height: 280px;
  border-radius: 15px;
  padding: 2.5rem;
  background: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.4s ease-out;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.5);
}
.card:hover {
  transform: translate(10px , 10px);
}
.card:hover:before {
  opacity: 1;
}
.card:hover .info {
  opacity: 1;
  transform: translateY(0px);
}
.card: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: 1.5s;
  opacity: 0;
}
.card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 15px;
}
.card .info {
  position: relative;
  z-index: 3;
  color: white;
  opacity: 0;
  transform: translateY(30px);
  transition: 1s;
}
.card .info h1 {
  font-size: 22px;
  margin: 0px;
}
.card .info p {
  letter-spacing: 1px;
  font-size: 15px;
  margin-top: 8px;
}
.card .info button {
  padding: 0.6rem;
  outline: none;
  border: none;
  border-radius: 15px;
  background: grey;
  color: white;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s ease;
}
.card .info button:hover {
  background: white;
  font-size: 13px;
  border-radius: 13px;
  color: grey;
}