  /**************** GENERAL ***************/
  a.w-webflow-badge {
    display: none !important;
  }
  
  .project-case-content{
    margin-bottom: 2em;
  }

  .btn-primary {
    background-color: #000000;
    width: fit-content;
    padding: 0 2rem;
    border-radius: 10px;
}

.section.project-first-case .project-case-content.w-richtext {
    display: flex;
    width: fit-content;
    gap: 2rem;
}

.section.project-first-case .project-case-content.w-richtext img {
    width: 50%;
    height: fit-content;
    border-radius: 20px;
}
  
    /* Carrusel */
    .carousel-container {
      position: relative;
      width: 80%;
      margin: 20px auto;
      overflow: hidden;
    }
    .carousel {
      display: flex;
      transition: transform 0.8s ease-in-out;
      will-change: transform;
    }
  
    /* Elementos individuales */
    .carousel-item {
      flex: 0 0 calc(100% - 20px); /* Dos elementos visibles por slide */
      margin: 0 10px;
      box-sizing: border-box;
      position: relative;
      display: flex;
      justify-content: center;
    }
  
    .carousel-item video {
      height: 30rem;
  }
  
    /* Ajuste de imágenes */
    .carousel-item img {
  
      object-fit: contain;
      border-radius: 15px;
      width: fit-content;
    }
  
    /* Botones de navegación */
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.6);
      color: #fff;
      border: 1px solid #d1d1d1;
      padding: 5px 15px;
      cursor: pointer;
      font-size: 18px;
      z-index: 10;
      border-radius: 50%;
    }
  
    .prev-btn {
      left: 15px;
    }
  
    .next-btn {
      right: 20px;
    }
  
    .carousel-btn:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }
  
  
    @media screen and (max-width: 768px) {
        .project-case-content.w-richtext{
            flex-direction: column;
        }

        .project-case-content.w-richtext img {
            width: auto;
        }
      .carousel-container{
        width: 100%;
      }
      .carousel-item {
        flex: 0 0 100%; 
        margin: 0
      }
  
      .carousel-item img{
        width: 95%;
      }
      
    }