section.card {
  position: relative;
  width: 250px;
  height: 250px;
  background-color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card img {
  /* fill: #000; */
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 3px;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px #000000;
  background-color: #f2f2f2;
  color: #ffffff;
}

.card__content {
  color: #000000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f2f2f2;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card__content {
  transform: rotateX(0deg);
}

.card__title {
  margin: 0;
  padding-left: 5px;
  font-size: 18px;
  color: #000000;
  font-weight: 700;
}

.card__container{
  height: 70vh;
  margin-top: 60px;
}

.card__main__title{
  color: #723c80;
  font-size: 30px;
  font-weight: bold;
  margin-right: 37%;
}

.card__btn{
  border: none;
  border-radius: 10px;
  height: 40px;
  text-decoration: none;
  color: white;
  margin-top: 7px;
}

.card__btn a{
  text-decoration: none;
  color: white !important;
}

.card:hover img {
  scale: 0;
}

.card__description {
  margin: 10px 0 0;
  font-size: 14px;
  color: #000000;
  line-height: 1.4;
}

.cards{
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.Pcard {
  width: 170px;
  height: 254px;
  border-radius: 30px;
  background: #e0e0e0;
  box-shadow: 15px 15px 30px #bebebe,
             -15px -15px 30px #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Pcard img{
  width: 170px;
  height: 220px;
}

.card_phone{
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}

.Pcards{
  display: flex;
  gap: 20px;
}

@media screen and (max-width: 600px){
  .card__main__title{
    margin-right: 0px;
  }
  .cards{
    display: none;
  }
  .card__container{
    height: 100vh;
  }
}

@media screen and (min-width: 600px){
  .card_phone{
    display: none;
  }
}
