@font-face {
    font-family: "Inter";
    src: url("assets/fonts/Inter/regular-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("assets/fonts/Inter/bold-700.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    margin-bottom: 0.5em;
}

.headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75em;
    color: #555;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.text-link {
    color: #555;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.text-link:hover {
    color: black;
    text-decoration-color: black;
}
.social-container {
    display: flex;
    gap: 1.5em;
}

.social-link {
    line-height: 0;
    transition: color 0.2s ease;
}

.social-link-email {
    color: #333;
}

.social-link-email:hover {
    color: black;
}

.social-link-github {
    color: #181717;
}

.social-link-github:hover {
    color: #6e5494;
}

.social-link-linkedin {
    color: #0a66c2;
}

.social-link-linkedin:hover {
    color: #004182;
}

.social-link-devpost {
    color: #003e54;
}

.social-link-devpost:hover {
    color: #00a0dc;
}

.social-link-youtube {
    color: #ff0000;
}

.social-link-youtube:hover {
    color: #cc0000;
}

.resume-link {
    display: inline-block;
    font-size: 0.875rem;
    color: #555;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.55em 0.95em;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.resume-link:hover {
    color: black;
    border-color: black;
}

.resume-link:focus-visible {
    outline: 2px solid black;
    outline-offset: 2px;
}

section {
    max-width: 1000px;
    margin-inline: auto;
}

h2 {
    margin-left: 0.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 0 0.5rem;
}

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.project-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: #e0e0e0;
    display: block;
}

/* Project award badge */
.project-media {
    position: relative;
}

.project-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.32em 0.65em;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.project-badge svg {
    width: 0.95em;
    height: 0.95em;
    flex-shrink: 0;
    color: #f5c518;
}

.project-badge--bronze svg {
    color: #cd7f32;
}

.project-content {
    padding: 1.25rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.project-description {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

footer {
    display: flex;
    justify-content: start;
    margin: 2rem 0 0 1rem;
}
