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

:root {
    color-scheme: light dark;
}

html {
    font-family: "onest", system-ui, sans-serif;
}

body {
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-x: hidden;
}

.icon-hover:hover svg {
    animation: rotate 1s linear 1;

}

@keyframes rotate {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(-360deg);
    }
}


::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgb(146, 164, 252);
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(168, 182, 254);
}

@keyframes spin {
    0% {
      transform: rotate(0deg) translateX(20px) ;
    }
    100% {
      transform: rotate(360deg) translateX(20px) ;
    }
  }
  
  .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform-origin: center;
    animation: spin 2s linear infinite;
  }



  @keyframes  atom-spins  {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }
  .atom-spin {
    animation: atom-spins  3s linear infinite;
  }

