
.card-container {
    display: flex;
    gap: 20px;
    overflow: hidden;
    width: 100%;
    padding-bottom: 10px;
  }
  
  .card {
    perspective: 1000px;
    display: flex;
    flex: 1;
    height: 100px;
  }
  
  .card-inner {
    position: relative;
    border-radius: 8px;
    flex: 1;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .card:hover .card-inner {
    transform: rotateX(180deg);
  }
  
  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
  }
  
  .card-back {
    transform: rotateX(180deg);
    background-color: #eee6ef; /* Different background color for the back side */
  }

  @media screen and (max-width: 768px) {

      .card-container {
        display: flex;
        gap: 20px;
        overflow: hidden;
        width: 100%;
        padding-bottom: 10px;
        flex-direction: column;
        height: 400px;
      }
      
      .card {
        perspective: 1000px;
        display: flex;
        flex: 1;
        height: 100px;
      }
      
      .card-inner {
        position: relative;
        border-radius: 8px;
        flex: 1;
        transition: transform 0.6s;
        transform-style: preserve-3d;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }
      
    }