.card {
    
    width: 300px; /* ajuste o tamanho conforme necessário */
    height: 200px; /* ajuste o tamanho conforme necessário */
    perspective: 1000px; /* profundidade da perspectiva */
    margin-right: 47px;

  }
  
  .card-inner {
    
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
  }
  
  .card:hover .card-inner {
    transform: rotateY(180deg); /* girar o card quando o mouse passar por cima */
  }
 
  
  .card-front,
  .card-back {
    position: absolute;
    top: 0;
    left: -40px;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }
  
  .card-front {
    /* z-index: 2; */
  }
  
  .card-back {
    background-color: #014785; /* cor de fundo azul */
    transform: rotateY(180deg); /* começar com o card virado para trás */
    height: 400px;
    width: 380px;
  }
  
  .card-front img{
    height: 400px;
    width: 380px;
  }
  
  .text-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    
  }
  
  .card-back p {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
  }
  
  .card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 100vh;
    justify-content: center;
    padding: 0 155px;
    margin-bottom: 100px;
    gap: 100px;
    margin-left: 100px;
  }
  .card-front img {
    height: 400px;
    width: 380px;
  }
  .card-front h6 {
    margin-left: 100px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  @media (max-width: 1800px) {
    .card-container{
        margin-left: 43px; 
        padding: 0 0;
        gap: 250px;
        margin-bottom: 300px;
        height: fit-content;
        
    }
   
}
  