.card-container {
    position: relative;
    width: 75%;
    height: 300px;
    left: 10%;
  }
  .card-container-right {
    position: relative;
    width: 45%;
    height: 84%;
    left: 15%;
    display: inline-block;
  }
  .card-container-left {
    position: relative;
    width: 45%;
    height: 84%;
    display: inline-block;
    
  }
  .card-container-center {
    position: relative;
    width: 45%;
    height: 84%;
    display: inline-block;
    left: 30%;
        
  }

  
  .card {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.75s ease;
    transform-style: preserve-3d;
  }
  .card-left {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.75s ease;
    transform-style: preserve-3d;
    float: left;
  }
  .card-right {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.75s ease;
    transform-style: preserve-3d;
    float: right;
  }
  .card-center {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.75s ease;
    transform-style: preserve-3d;
  }
  
  .card:hover {
    transform: rotateX(180deg);
  }
  
  .front, .back {
    /* This part controls the flip */
    backface-visibility: hidden;
    
    /* Size and card position */
    position: absolute;
    width: 100%;
    height: 100%;
  
    /* Appearance */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.3);
  }
  
  .front {
    background-color: #333;
    color: #fff;
  }
  
  .back {
    transform: rotateX(180deg);
    background-color: #fff; 
    font-size: 2vw;
    font-weight: bold;
    text-align: center;
    color: #333;
  }
  @media screen and (max-width: 320px) {
    .card-container {
      width: 45%;
      font-size: 12px;
    }
  }