@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('./fonts/inter-v20-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./fonts/inter-v20-latin-500.woff2') format('woff2');
}

:root {
    --background-color: #FFFFFF;
    --text-color: #111111;
    --text-secondary: #555555;
    --text-tertiary: #777777;
    --border-color: #CCCCCC;
    --line-height: 1.6;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.content-wrapper {
    max-width: 580px;
    width: 100%;
}

.header {
    margin-bottom: 3rem;
}

.name {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.role {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.about-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: var(--line-height);
    color: var(--text-color);
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project a {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    transition: opacity 0.2s ease;
}

.project a:hover {
    opacity: 0.7;
}

.project a:hover .project-title {
    text-decoration: underline;
}

.project-title {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.project-description {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: var(--line-height);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-secondary);
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    display: inline-block;
    width: fit-content;
}

.contact-link:hover {
    border-bottom-color: var(--text-color);
}

.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-tertiary);
}

.footer a {
    color: var(--text-tertiary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.footer a:hover {
    color: var(--text-color);
    border-bottom-color: var(--text-color);
}

#dynamic-icon-container {
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    margin: 0 4px;
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}

#dynamic-icon-container.icon-exit {
    opacity: 0;
    transform: translateY(-5px);
}

.value-proposition {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-color);
    margin-top: .5rem;
    line-height: var(--line-height);
}

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

    .name {
        font-size: 1.25rem;
    }

    .section {
        margin-bottom: 2.5rem;
    }
}