

  .flip-card {
    background-color: transparent;
    width: 260px;
    height: 280px;
    border: 1px solid #f1f1f1;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); 
  }
  
  /* This container is needed to position the front and back side */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  /* Do an horizontal flip when you move the mouse over the flip box container */
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Position the front and back side */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: #fff;
    color: black;
  }
  
  /* Style the back side */
  .flip-card-back {
    background-color: #f9f7f7;
    color: #848181;
    padding: 20px 20px 20px 20px;
    transform: rotateY(180deg);
  }
  .flip-card h3{
      font-weight:700;
      color: #888282;
  }
  .flip-card h4{
   text-align:center;
    
}
  .flip-card img{
      padding: 20px 20px 20px 20px;
  }
  /* .flip-card-back p{
    font-size:1rem;

  } */
  .flip-card .flip-card-back a{
    text-align: center;
  }
  /* .flip-card-back .btn{
    width: 240px;
    height: 50px;
    padding-bottom: 10px;
  } */
  @media( min-width:280px) and (max-width:540px){
    .flip-card{
      width: 240px;
      height: 250px;
    }
    /* .flip-card-back p{
      font-size:1rem;
    } */
    /* .flip-card-back a{
      font-size:1.5rem;
    } */
  }
  @media( min-width:760px) and (max-width:991px){
    .flip-card{
      width: 240px;
      height: 250px;
    }
    .flip-card-back p{
      font-size:0.9rem;
    }
    .flip-card-back a{
      font-size:1rem;
    }
  }
  @media( min-width:700px) and (max-width:1100px) {
    .flip-card{
      width: 170px;
      height: 200px
    }
    /* .flip-card p{
      font-size:0.7rem;
    }
    .flip-card a{
      font-size:0.4rem;
    } */
  }
  @media( min-width:1024px)and (max-width:1200px)  {
    .flip-card{
      width: 220px;
      height: 240px;
    }
    /* .flip-card{
      font-size:0.6rem;
    }
    .flip-card p{
      font-size:0.7rem;
    }
    .flip-card a{
      font-size:0.7rem;
    } */
  }
