*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.cont{
    width: 100%;
    height: 100vh;
    background: #2b2b2b;
    display: flex;
    align-items: center;
    justify-content: center;
}img{
    height: 335px;
    width: 227px;
}
.card{
    width: 380px;
    perspective: 1000px;
    cursor: pointer;
}
.cardinner{
    position: relative;
    width: 227px;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 1s;
}
.front{
    backface-visibility: hidden;
    height: 335px;
    width: 227px;
}
.front img{
    border-radius: 10px;
}
.back{
    backface-visibility: hidden;
    background-color: #c62600;
    color: #fff;
    position: absolute;
    height: 335px;
    width: 227px;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transform: rotateY(180deg);
}
 
.back p{
    font-size: 22px;
    margin-top: 10px;
    font-weight: 400;
    }
  .som i{
      color: #fff;
      width: 35px;
      height: 35px;
      line-height: 35px;
      font-size: 18px;
      background: #e43a00;
      border-radius: 50%;
      margin:20px 6px ;
  }
  .btn{
      color: #333;
      font-size: 20px;
      text-decoration: none;
      background: wheat;
      border-radius: 25px;
      padding: 8px 32px;
      margin: 22px auto 0;
  }

  .btn:hover{
    font-weight: 600;
    background-color: transparent;
    border: 1.5px solid white;
    color: white;
  }
  .card:hover .cardinner {
transform:rotateY(-180deg) ;
  }