@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700&display=swap");
@import url("https://use.typekit.net/qgr5ebd.css");
@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap");

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

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100vh;
    background: none !important;
    overflow: hidden !important;
    user-select: none;
}

#root {
    height: 100%;
    width: 100%;
}

@keyframes shake {
    0% {
        transform: translate(4px, 0);
    }
    25% {
        transform: translate(-4px, 0);
    }
    50% {
        transform: translate(4px, 0);
    }
    75% {
        transform: translate(-4px, 0);
    }
    100% {
        transform: translate(0, 0);
    }
}

.shake {
    animation: shake 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #4a4a4a #2c2c2c;
    scroll-behavior: smooth;
    will-change: scroll-position; 
}

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

.custom-scrollbar::-webkit-scrollbar-track {
    background: #2c2c2c;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #6a6a6a;
}

.navbar {
    width: rem(80px);
    height: rem(750px);
    padding: var(--mantine-spacing-md);
    display: flex;
    flex-direction: column;
    border-right: rem(1px) solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
}

.navbarMain {
    flex: 1;
    margin-top: rem(50px);
}

.link {
    width: rem(50px);
    height: rem(50px);
    border-radius: var(--mantine-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: light-dark(var(--mantine-color-gray-7), var(--mantine-color-dark-0));

    &:hover {
        background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-5));
    }

    &[data-active] {
        &,
        &:hover {
            background-color: var(--mantine-color-blue-light);
            color: var(--mantine-color-blue-light-color);
        }
    }
}


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

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