/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgb(145, 8, 214);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(145, 8, 214, 0.8);
}

/* Hiding default cursor */
body,
a,
button {
    cursor: none;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Add styles for glitter particles */
.glitter-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9995;
    overflow: hidden;
}

.glitter-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: rgba(208, 120, 247, 0.8);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 9995;
    filter: blur(0.5px);
    box-shadow: 0 0 4px rgba(145, 8, 214, 0.6);
    will-change: transform, opacity;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Media queries */
@media (max-width: 1024px) {

    .cursor,
    .cursor-glow,
    .link-cursor {
        display: none !important;
    }

    body,
    a,
    button {
        cursor: auto;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }

    .top-navbar {
        padding: 0 1rem;
        height: 60px;
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
    }

    .navbar-toggle {
        width: 40px;
        height: 40px;
    }

    .navbar-toggle .hamburger {
        width: 18px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }

    .navbar-toggle {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 382px) {
    .logo {
        font-size: 1.1rem;
    }
}

@media (max-width: 338px) {
    .logo {
        font-size: 0.9rem;
    }
}

@media (max-width: 300px) {
    .logo {
        font-size: 0.8rem;
    }
}