@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Aplicação global de fonte */
* {
  font-family: Poppins;
}

/* Outros estilos */
.animate-slideIn {
  animation: slideIn 0.3s ease-out;
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#chart {
  max-width: 100%;
  margin: 0 auto;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
.underline-animation {
    position: relative;
    padding-bottom: 10px;
  }
  
  .underline-animation::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
  }
  
  .underline-animation:hover::after {
    width: 100%;
  }
  
  /* Borda da opção ativa */
  a.active-link {
    border-bottom-width: 2px;
    border-color: black;
  }
  
  .dark a.active-link {
    border-color: white;
  }
  /* Personalização para a página Para Empresa */
  .underline-initial {
    border-bottom: 2px solid currentColor;
    color: inherit;
  }

   /* Esconde o checkbox */
   #menuToggle {
    display: none;
  }

  @keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-150px * 8));
    }
}

.animate-scroll {
    animation: scroll 20s linear infinite;
}

.sponsor-container:hover .animate-scroll {
    animation-play-state: paused;
}

  /* Exibe o menu ao marcar o checkbox */
  #menuToggle:checked ~ #mobileMenu {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }

  /* Botão de menu hamburguer (animação) */
  #menuToggle:checked ~ label span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  #menuToggle:checked ~ label span:nth-child(2) {
    opacity: 0;
  }
  #menuToggle:checked ~ label span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  @keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-150px * 8 - 2rem * 8));
    }
}

.animate-scroll {
    animation: scroll 20s linear infinite;
    will-change: transform;
}

.sponsor-container {
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem 0;
    -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

#carousel {
    display: flex;
    gap: 2rem;
    width: fit-content;
}

#carousel img {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

@keyframes blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob {
  animation: blob 7s infinite;
}
.animation-delay-2000 {
  animation-delay: 2s;
}
.animation-delay-4000 {
  animation-delay: 4s;
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #008000 #f0f0f0;
}

.custom-scrollbar::-webkit-scrollbar {
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #008000;
  border-radius: 10px;
}