*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
font-family: serif;
}
body{
  display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(45deg, #fdba61, #ff5acd);

}
.card{
  position: relative;
  width: 350px;
  height: 198px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 35px 80px rgba(0,0,0,0.15);
  transition: 0.8s;

}
.card:hover{
  height: 450px;

}

.imgbx{
  left: 50%;
  bottom: 70%;
  transform: translateX(-50%);
  position: absolute;
  width: 150px;
  height: 150px;
  background: #fff;
border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.35);
  overflow: hidden;
  transition: 0.5s;
}
.card:hover .imgbx{
  width: 150px;
  height: 150px;
  border-radius: 200px;
  transition: 1.5s;
  
}

.imgbx img{
  position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.card .content{
position: absolute;
width: 100%;
height: 450px;
display: flex;
justify-content: center;
align-items: center;
transform: translateY();
margin-top: -60%;
bottom: -1%;
}
.card .content .details{
  padding: 40px;
  margin-top: 85%;
  text-align: center;
  width: 100%;
  transition: 0.5s;
}
.card .content .details h2{
  font-size: 1.25em;
  font-weight: 600;
  color: rgb(71, 70, 70);
  line-height: 1.2em;
  height: 30px;
}
.card .content .details h2 span{
  font-size: 0.75em;
  font-weight: 500;
  opacity: 0.5;

}
.card .content .details .data{
display: flex;
justify-content: space-between;
margin: 20px 0;
}
.card .content .details .data h3{
font-size: 1em;
color: rgb(40, 39, 39);
line-height: 0.5em;
font-weight: 600;
}
.card .content .details h3 span{
font-size: 0.85em;
font-weight: 400;
opacity: 0.5;
color: rgb(77, 76, 76);
}
.card .content .details .actionbtn{
  display: flex;
justify-content: space-between;
/*gap: 20px;*/
}
.card .content .details .actionbtn button{
padding: 10px 30px;
border-radius: 5px;
border: none;
outline: none;
font-size: 1em;
font-weight: 500;
background: #ff5f95;
cursor: pointer;
}
.card .content .details .actionbtn button:nth-child(2){
border: 1px solid #999;
color: rgb(71, 70, 70);
background: #fff;

}
.card .content .details .actionbtn button:nth-child(2) :hover{
background: #ff5acd;
cursor: pointer;
}