@tailwind base;
@tailwind components;
@tailwind utilities;


@keyframes marquee {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }
  
  /* Marquee track: holds two identical copies side by side */
  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    will-change: transform;
  }

  .marquee-track:hover {
    animation-play-state: paused;
  }

  /* Each content block */
  .marquee-content {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding: 0 3rem;
    flex-shrink: 0;
  }

  .marquee-content img {
    flex-shrink: 0;
    object-fit: contain;
  }


  .contenedor{
    justify-content: center;
    width: 100%;
    display: flex;
  }


  .card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra las cards en la fila */
    gap: 30px; /* Espacio entre cards */
    padding: 20px;
    width: 90%; /* Ocupa todo el ancho */
   
  }
  
 

  .card {
    --blur: 16px;
    --size: clamp(300px, 50vmin, 600px);
    width: 200px;
    height: 200px;
    aspect-ratio: 4 / 3;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    color: #000;
    transform: translateZ(0);
  }
  
  .card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(calc(1 + (var(--hover, 0) * 0.25))) rotate(calc(var(--hover, 0) * -5deg));
    transition: transform 0.2s;
  }
  
  .card__footer {
    text-align: center;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-row: auto auto;
    padding: 10px;
    background:#ffededac;
  
    backdrop-filter: blur(var(--blur));
    height: 30%;
    align-content: center;
  }
  
  .card__footer span:nth-of-type(1) {
    font-size: 12px;
    font-weight: bold;
  }
  
  .card:is(:hover, :focus-visible) {
    --hover: 1;
  }