@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background-color: #EAE7E0;
    color: #1A1D24;
    overflow-x: hidden;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-blend-mode: multiply;
}

.blueprint-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(75, 94, 130, 0.15) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(75, 94, 130, 0.15) 1px, transparent 1px);
    pointer-events: none;
    z-index: 0;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border-left: 1px solid #4B5E82;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #4B5E82;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #0a6e00;
}

.bento-card {
    border: 1px solid #4B5E82;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    background-color: #F4F3F0;
}

.bento-card:hover {
    box-shadow: 4px 4px 0px 0px #1A1D24;
    transform: translate(-2px, -2px);
    border-color: #1A1D24;
}

.hero-heading {
    line-height: 1;
}

.nav-link.active,
.nav-link.active-nav {
    color: #0a6e00;
    border-bottom: 2px solid #0a6e00;
    padding-bottom: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-enter {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
