@tailwind base; @tailwind components; @tailwind utilities; @layer base { @font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; } h1 { @apply text-2xl; @apply font-sans; @apply text-black; @apply py-4; } ::selection { @apply bg-yellow-400; @apply text-black; @apply bg-opacity-30; } a { @apply underline text-black hover:text-gray-800 visited:text-gray-600; } @layer base { label { @apply block text-sm text-black; } input { @apply bg-white border border-black rounded-sm focus:ring-black p-2; } textarea { @apply bg-white border border-black rounded-sm focus:ring-black p-2; } } @layer components { .btn { @apply relative z-10 inline-flex min-h-[30px] cursor-pointer items-center justify-center bg-transparent px-2 pb-[0.2rem] text-base text-gray-900 before:absolute before:inset-0 before:-z-10 before:block before:rounded-sm before:border before:border-blue-200 before:bg-white before:shadow-[0_2px_2px_0_rgba(20,20,96,0.1),inset_0_-2px_0_0_#e5edff] before:content-[''] hover:before:border-blue-300 hover:before:bg-blue-50 hover:before:shadow-[0_2px_2px_0_rgba(20,20,96,0.1),inset_0_-2px_0_0_#e5edff] focus:outline-none focus-visible:before:outline focus-visible:before:outline-4 focus-visible:before:outline-blue-500 active:before:shadow-[inset_0_2px_2px_0_rgba(20,20,96,0.1)]; } } @layer utilities { .error { @apply py-1 border-black text-black; } .success { @apply py-1 border-black text-black; } } }