/* Nicolò Sgarra Portfolio - Technical Minimalism Styles */

body {
    background-color: #0a0a0a;
    color: #e5e2e1;
    font-family: 'Geist', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Technical Minimalism Styles */
.terminal-border {
    border: 1px solid #2e2e2e;
}

.terminal-glow:hover {
    border-color: #00a3ff;
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.1);
}

.primary-accent {
    color: #00a3ff;
}

.bg-primary-accent {
    background-color: #00a3ff;
}

/* Glassmorphism effect for header */
.header-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(10, 10, 10, 0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #2e2e2e;
}
::-webkit-scrollbar-thumb:hover {
    background: #00a3ff;
}

/* Animations */
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.scanline::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 163, 255, 0.05), transparent);
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

/* Selection */
::selection {
    background-color: rgba(0, 163, 255, 0.3);
    color: white;
}

/* Form Styles */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #e5e2e1;
    -webkit-box-shadow: 0 0 0px 1000px #0a0a0a inset;
    transition: background-color 5000s ease-in-out 0s;
}

input:focus, textarea:focus {
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.1);
}

textarea {
    resize: none;
}
