@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

html {
    scroll-behavior: smooth;
    scrollbar-color: #166534 #1F2937;
    scrollbar-width: thin;
}

body {
    /* cursor: none; */
    font-family: "Space Grotesk", serif;
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
}

.navbar-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.navbar-visible {
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: #000;
    opacity: 50%;
    border-radius: 50%;
    pointer-events: none;
    /* Evita interferenze con il mouse */
    z-index: 1000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.2s ease, height 0.2s ease;
}

#custom-cursor.stretch {
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%) scale(1.2);
}

.custom-transform:hover {
    transform: scale(1.05);
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #166534, #1F2937);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2f4f4f;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}