html {
     scroll-padding-top: 4rem;
}
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(45deg, #3B82F6, #1E40AF);
}
.gradient-bg {
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.timeline-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 7px;
    top: 24px;
    height: 100%;
    width: 2px;
    background: #e5e7eb;
}

.typing-cursor {
    display: inline-block;
    width: 10px;
    height: 1em;
    background-color: #4FD1C5;
    animation: blink 0.7s infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.code-line {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.visible {
    opacity: 1;
    height: auto;
}

main {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.project-page-hero {
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

.project-page-content-section {
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

.project-page-content-section + .project-page-content-section {
    margin-top: 2rem;
}

#home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 6rem;
    width: 100%;
    box-sizing: border-box;
}

#home > .max-w-7xl,
#about > .max-w-7xl,
#skills > .max-w-7xl,
#projects > .max-w-7xl,
#process > .max-w-7xl {
     width: 100%;
     margin-left: auto;
     margin-right: auto;
}

#code-terminal {
    min-height: 14em;
    white-space: pre;
}

#contact {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#projects-container > div {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .terminal-container {
        display: none;
    }

    #home {
        padding-top: 2rem;
        padding-bottom: 4rem;
        min-height: auto;
    }

    #home .flex-col {
        text-align: center;
    }

    #home .flex-col .flex {
        justify-content: center;
    }

    #about .grid-cols-1 {
        grid-template-columns: 1fr;
    }

    #skills .grid-cols-1 {
        grid-template-columns: 1fr;
    }

    #skills .lg\:grid-cols-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #projects .grid-cols-1 {
        grid-template-columns: 1fr;
    }

    #projects .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    #projects .lg\:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    #contact .flex-col {
        text-align: center;
    }
}

@media (max-width: 480px) {
    #home h1 {
        font-size: 2.5rem;
    }

    #home h2 {
        font-size: 1.5rem;
    }

    #skills .lg\:grid-cols-5 {
        grid-template-columns: 1fr;
    }

}

.devicon-python-plain.colored {
    color: #3776AB;
}

.devicon-nodejs-plain.colored {
    color: #F7DF1E;
}

.devicon-flask-original.colored {
    color: #000000;
}
