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

/*

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

*/

.pagy {
  @apply flex space-x-1 font-medium text-sm text-gray-900;
}

.pagy a {
  @apply block rounded-lg px-3 py-1 hover:bg-gray-100;
}

.pagy a:not([href]) {
  @apply text-gray-900 cursor-default;
}

.pagy a.current {
  @apply border border-gray-200 bg-white hover:bg-gray-100;
}

.pagy label {
  @apply inline-block whitespace-nowrap bg-gray-200 rounded-lg px-3 py-0.5;
}

.pagy label input {
  @apply bg-gray-100 border-none rounded-md;
}

@keyframes move-out {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.text-animation span {
  display: inline-block;
  animation: move-out 1s ease infinite;
}

.text-animation span {
  animation: move-out 1s ease infinite;
}

.text-animation span:nth-child(1) {
  animation-delay: 0s;
}
.text-animation span:nth-child(2) {
  animation-delay: 0.1s;
}
.text-animation span:nth-child(3) {
  animation-delay: 0.2s;
}
.text-animation span:nth-child(4) {
  animation-delay: 0.3s;
}
.text-animation span:nth-child(5) {
  animation-delay: 0.4s;
}
.text-animation span:nth-child(6) {
  animation-delay: 0.5s;
}
.text-animation span:nth-child(7) {
  animation-delay: 0.6s;
}
.text-animation span:nth-child(8) {
  animation-delay: 0.7s;
}
.text-animation span:nth-child(9) {
  animation-delay: 0.8s;
}
.text-animation span:nth-child(10) {
  animation-delay: 0.9s;
}
.text-animation span:nth-child(11) {
  animation-delay: 1s;
}
