@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
body {
    font-family: Arial, sans-serif;
    background: #eeeeee;
    color: #222;
    margin: 0;
    padding: 0;
}
.centered {
    max-width: 500px;
    margin: 0 auto;
    padding: 2em 1em;
    text-align: center;
}
.profile {
    display: flex;
    align-items: center;
    gap: 1em;
    justify-content: center;
    margin-bottom: 0.5em;
}
.profile img {
    border-radius: 50%;
    width: 4em;
    height: 4em;
    margin-bottom: 0;
}
.profile h1 {
    margin: 0;
    font-size: 2.2em;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    vertical-align: middle;
    line-height: 1;
    letter-spacing: 2px;
}

a,
a:link,
a:visited,
a:active {
    color: #0b6313;
    text-decoration: underline;
}

a:hover {
    color: #07360b;
}

a img {
    display: inline-block;
    vertical-align: middle;
}



.projects {
    margin-top: em;
}
.project {
    background: #dfdfdf;
    border-radius: 8px;
    padding: 1em;
    margin-bottom: 1em;
    box-shadow: none;
    text-align: left;
    display: block;
    transform: translateY(0);
    transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease;
    will-change: transform;
}
.project:hover,
.project:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.project img.banner {
    width: 100%;
    max-width: 480px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto 1em auto;
}
.project-details {
    flex: none;
    text-align: left;
}
h1, h2 {
    color: #222;
    font-weight: normal;
    margin-bottom: 0.5em;
}

body.no-lift .project,
body.no-lift .project:hover,
body.no-lift .project:focus-within {
    transform: none !important;
    box-shadow: none !important;
}
.card {
    background: #dfdfdf;
    padding: 0.9em 1em;
    border-radius: 8px;
    margin: 1em auto;
    max-width: 480px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    text-align: left;
    line-height: 1.5;
    color: #333;
}
.card h2 {
    margin: 0 0 0.4em 0;
    font-size: 1.1em;
    color: #111;
}
.card p {
    margin: 0;
    font-size: 1em;
}


@media (prefers-color-scheme: dark) {
    body {
        background: #121212;
        color: #e6e6e6;
    }

    a,
    a:link,
    a:visited,
    a:active {
        color: #85b88a;
        text-decoration: underline;
    }

    a:hover {
        color: #4e7952;
    }

    h1, h2 {
        color: #e6e6e6;
    }

    .project {
        background: #1e1e1e;
        box-shadow: none;
    }

    .project:hover,
    .project:focus-within {
        box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    }

    .card {
        background: #1e1e1e;
        color: #e6e6e6;
        box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    }

    .card h2 {
        color: #f0f0f0;
    }
}



@media (prefers-color-scheme: dark) {
    .github-logo {
        filter: invert(100%) brightness(1.1);
    }
}

.footer {
    margin-top: 2em;
    padding: 2em 1em;
    text-align: center;
    font-size: 0.9em;
    color: #555;
    opacity: 0.8;
}

.footer a {
    color: #0b6313;
    text-decoration: underline;
}

.footer a:hover {
    color: #07360b;
}

@media (prefers-color-scheme: dark) {
    .footer {
        color: #aaa;
    }

    .footer a {
        color: #85b88a;
    }

    .footer a:hover {
        color: #4e7952;
    }
}


.video {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
