:root {
    --cream: #FAF7F0;
    --charcoal: #2D2D2D;
    --rust: #C85C3C;
    --sage: #7A9B76;
    --sand: #E8DCC4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Karla', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

header {
    text-align: center;
}

h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--charcoal);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    color: var(--charcoal);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(45, 45, 45, 0.08);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(200, 92, 60, 0.15);
}

.project-content {
    position: relative;
    z-index: 1;
}

.project-number {
    font-family: 'DM Serif Display', serif;
    font-size: 0.9rem;
    color: var(--rust);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.project-description {
    font-size: 0.95rem;
    color: var(--charcoal);
    opacity: 0.7;
    font-weight: 300;
}

footer {
    text-align: center;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(45, 45, 45, 0.1);
    font-size: 0.9rem;
    color: var(--charcoal);
    opacity: 0.6;
}

@media (max-width: 640px) {
    .container {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* github link */
.github-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 18px;
    height: 18px;
    color: #111;
}

.github-button svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
    transition: color 0.3s ease;
}

.github-button:hover {
    color: #0366d6;
}