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

@layer utilities {
  /* good looking scrollbar */
  .overflow-container::-webkit-scrollbar {
    width: 8px;
  }

  .overflow-container::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .overflow-container::-webkit-scrollbar-thumb {
    background: #888;
  }

  .overflow-container::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

#root {
  margin: 0 auto;
  text-align: center;
}

code {
  text-shadow: none !important;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@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;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

ul,
ul li,
p {
  text-align: left;
}
/* custom grid-cols */
.grid-cols-\[1rem_1fr\] {
  grid-template-columns: 1rem 1fr;
}
.grid-cols-\[200px_1fr\] {
  grid-template-columns: 200px 1fr;
}
