.card {
  max-width: 300px;
  max-height: 400px;
  position: relative;
}
.card:hover:before {
  opacity: 1;
}

.card:hover {
  box-shadow: 5px 7px 5px #999;
  border-radius: 5px !important;
  background: greey;
}
.card:hover .info {
  opacity: 1;
  transform: translateY(0px);
}
.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: 0.5s;
  opacity: 0;
}

.info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
  color: white;
  opacity: 0;
  transition: 0.5s;
}

.info Button {
  width: 100%;
  outline: none;
  border: none;
  border-radius: 3px;
  background: white;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s ease;
  margin: 10px;
}

.info .button1:hover {
  background: #44ff1e96;
  color: white;
}

.info .button2:hover {
  background: rgb(255, 64, 30);
  color: white;
}
