@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card{
  position: relative;
  width: 350px;
  height: 77px;
  background: #398cc0;
  border-radius: 20px;
  filter: drop-shadow(-20px 20px 40px #398cc0);
  transition: 0.5s ease-in-out;
}

.card.active{
  height: 420px;
}

.toggle{
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translate(-50%);
  width: 70px;
  height: 60px;
  background: #398cc0;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  cursor: pointer;
}

.toggle::before{
  content: '';
  left: -34px;
  position: absolute;
  width: 35px;
  height: 35px;
  background: transparent;
  border-top-right-radius: 35px;
  box-shadow: 11px -10px 0 10px #398cc0;
}

.toggle::after{
  content: '';
  right: -34px;
  position: absolute;
  width: 35px;
  height: 35px;
  background: transparent;
  border-top-left-radius: 35px;
  box-shadow: -11px -10px 0 10px #398cc0;
}

.toggle span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-70%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: 0.5s ease-in-out;
}

.card.active .toggle span{
  transform: translate(-50%,-70%) rotate(225deg);
}

.contentBx{
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.contentBx .content{
  position: relative;
  padding: 20px;
  text-align: center;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contentBx .content h2{
  color: #fff;
  font-weight: 500;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  line-height: 1.1rem;
}
.contentBx .content h2 span{
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: initial;
}

.imgBx{
  position: relative;
  width: 250px;
  height: 250px;
  background: #fff;
  margin-top: 20px;
  box-shadow: -10px 10px 10px rgba(0,0,0,0.15);
  border: 5px solid #fff;

}
.imgBx img{
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content button{
position: relative;
margin-top: 20px;
padding: 10px 35px;
border-radius: 25px;
border: none;
outline: none;
cursor: pointer;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 0.1rem;
font-weight: 500;
color: #333;
box-shadow: -10px 10px 10px rgba(0,0,0,0.15);
}