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

@layer components {
    h1 {
        @apply text-whiteMT dark:text-mainText font-semibold text-lg;
    }
    h2 {
        @apply text-whiteMT dark:text-mainText font-semibold text-lg;
    }
    h3 {
        @apply text-whiteMT dark:text-mainText;
    }
    h4 {
        @apply text-whiteMT dark:text-mainText;
    }
}

body {
    @apply bg-whiteBG dark:bg-darkBG;
}

/* General styles */
.fade {
    transition: all 0.1s ease-in-out;
}

/* Hide scrollbars */
.noscroll::-webkit-scrollbar {
    display: none;
}

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

.gradient {
    mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.4) 1%,
        rgba(0, 0, 0, 1) 30%
    );
}

.header {
    background-image: radial-gradient(#1c1c20 2.5px, transparent 2.5px);
    background-size: 30px 30px;
}

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

::-webkit-scrollbar-track {
    background: #88888800;
}

::-webkit-scrollbar-thumb {
    background: #4d4d4d;
}

::-webkit-scrollbar-thumb:hover {
    background: #4d4d4d;
}
::-webkit-scrollbar-corner {
    background-color: transparent;
}
