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

@layer components {
  /* This won't be included in your compiled CSS unless you actually use it */
  h3 {
    @apply font-bold text-lg;
  }

  #findings-section {
    @apply mt-4 max-h-96 overflow-scroll;
    >div {
      @apply mb-3 border rounded-lg cursor-pointer h-32;
     
    }
    >div:last-child {
      @apply mb-0
    }
  }
}

.tran {
  -webkit-transition: height 1.60s ease;
  -moz-transition: height 1.25s ease;
       transition: height 1.25s ease;
}

#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.speaking {
  background: linear-gradient(-45deg, #ee7752, #4caf50, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 2s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
