/* style.css – Estilos personalizados adicionais */

html {
  scroll-behavior: smooth; /* Scroll suave entre seções */
}

/* Links com sublinhado animado (caso use fora do Tailwind) */
.link-underline::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background-color: #facc15; /* amarelo-400 */
  transition: width 0.3s ease-in-out;
}

.link-underline:hover::after {
  width: 100%;
}


.img-perfil:hover {
  transform: scale(1.05);
}

.bg-gif-animated {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}

.dev-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin-left: 0.25rem;
  border-radius: 0.375rem;
  background-color: #facc15; /* Tailwind yellow-400 */
  color: #111827; /* Tailwind gray-900 */
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.dev-badge:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}


.flag-icon {
  width: 1.5rem;       
  height: 1rem;        
  object-fit: cover;    
  border-radius: 0.375rem; 
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); 
  transition: transform 0.2s ease-in-out;   
}

.flag-icon:hover {
  transform: scale(1.05); 
}


footer.sticky-footer {
  position: sticky;
  bottom: 0;
  background-color: #111827; /* gray-900 */
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Ajustes de breakpoint (se quiser usar sem Tailwind classes) */
@media (min-width: 768px) {
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* style.css */
.icon-tooltip {
  @apply relative group;
}

.icon-tooltip img {
  @apply w-8 h-8;
}

.icon-tooltip .tooltip {
  @apply absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-2 py-1 text-xs 
         rounded-lg text-yellow-300 bg-yellow-600 bg-opacity-30 backdrop-blur-sm 
         opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none shadow-lg;
}

