/* Main Styles - Diego Sant Portfolio */

html {
    scroll-behavior: smooth;
}

/* Text Selection */
::selection {
    background-color: #ffffff;
    color: #000000;
}

::-moz-selection {
    background-color: #ffffff;
    color: #000000;
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 300,
        'GRAD' 0,
        'opsz' 24
}

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

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.7);
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-strong {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #22c55e 50%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.1em;
}

/* Form Styles */
input, select, textarea {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

select option {
    background-color: #111111;
    color: white;
}

/* Timeline Adjustments */
@media (max-width: 768px) {
    .relative .absolute.left-0 {
        left: 0 !important;
        transform: translateX(-50%) !important;
    }
}

/* Smooth Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading State */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Section Soft Shadow */
main > section {
    box-shadow: 0 -60px 100px -10px rgba(0, 0, 0, 0.9);
}

main > section:first-child {
    box-shadow: none;
}
