@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
.tirar-setinha-dupla select {
  @apply bg-none
}

.scrollbar-none {
  scrollbar-width: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-20rem * 4 - 1.7rem * 3));
  }
}

.scroll-up {
  animation: scroll-up 12s linear infinite;
}

/* ===== Copa do Mundo ===== */

@keyframes copa-sway {
  0%, 100% { transform: rotate(-10deg); }
  50%       { transform: rotate(10deg);  }
}
.copa-bandeirola {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.22));
}

@keyframes copa-gol-shake {
  0%  { transform: translate(0,0) rotate(0deg);      }
  5%  { transform: translate(-8px,-4px) rotate(-3deg);}
  10% { transform: translate(8px,4px) rotate(3deg);  }
  15% { transform: translate(-7px,3px) rotate(-2.5deg);}
  20% { transform: translate(7px,-3px) rotate(2.5deg);}
  25% { transform: translate(-10px,4px) rotate(-4deg);}
  30% { transform: translate(10px,-4px) rotate(4deg); }
  35% { transform: translate(-7px,5px) rotate(-3deg); }
  40% { transform: translate(7px,-5px) rotate(3deg);  }
  45% { transform: translate(-5px,2px) rotate(-2deg); }
  50% { transform: translate(5px,-2px) rotate(2deg);  }
  55% { transform: translate(-8px,3px) rotate(-3deg); }
  60% { transform: translate(8px,-3px) rotate(3deg);  }
  65% { transform: translate(-5px,3px) rotate(-2deg); }
  70% { transform: translate(5px,-3px) rotate(2deg);  }
  75% { transform: translate(-3px,2px) rotate(-1.5deg);}
  80% { transform: translate(3px,-2px) rotate(1.5deg);}
  85% { transform: translate(-2px,1px) rotate(-1deg); }
  90% { transform: translate(2px,-1px) rotate(1deg);  }
  95% { transform: translate(-1px,1px) rotate(-0.5deg);}
  100%{ transform: translate(0,0) rotate(0deg);       }
}

@keyframes copa-confetti-fall {
  0%   { transform: translateY(-30px) rotate(0deg);   opacity: 1;   }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0.3; }
}

@keyframes copa-overlay-exit {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes copa-fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes copa-gol-slide-in {
  0%   { transform: translateX(110vw); }
  100% { transform: translateX(0); }
}

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
