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

@layer base {
  html {
    height: auto;
    overflow-y: auto;
  }

  ::selection {
    background: #000;
    color: #fff;
  }

  ::-moz-selection {
    background: #000;
    color: #fff;
  }

  body {
    background-color: #0a0a0a;
    color: white;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
  }
}

@layer utilities {
  .selection-inverse::selection {
    background: #000;
    color: #fff;
  }

  .selection-inverse::-moz-selection {
    background: #000;
    color: #fff;
  }

  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  .custom-scrollbar::-webkit-scrollbar {
    width: 8px;
  }

  .custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
  }

  .custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
  }

  .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
