:root {
    --font-sans: 'Roboto', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-fraktur: 'Germania One', cursive;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: #bfbdb6;
    background-color: #0b0e14;
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
    color: #e6e1cf;
    font-family: var(--font-fraktur);
    font-size: 2.5em;
}

h2,
h3,
h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
    color: #e6e1cf;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

a {
    color: #e6b450;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #ffcc66;
}

header {
    margin-bottom: 20px;
    border-bottom: 1px solid #1d222a;
    padding-bottom: 20px;
}

header a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.2em;
    color: #e6e1cf;
    text-transform: lowercase;
}

header a .logo {
    stroke: #e6b450;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 1.2em;
}

.breadcrumb a {
    color: #e6e1cf;
    font-weight: 600;
}

.breadcrumb .separator {
    color: #565b66;
}

.breadcrumb .current {
    color: #565b66;
}

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #1d222a;
}

.badges {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    font-size: 10px;
    font-weight: 600;
    color: #fff !important;
    border: 2px solid #e6b450;
    border-radius: 6px;
    box-shadow: 3px 3px 0 #e6b450;
    transition: transform 0.1s, box-shadow 0.1s;
    box-sizing: border-box;
    white-space: nowrap;
}

.badge:hover {
    text-decoration: none !important;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #000;
}

.badge i {
    font-size: 14px;
}

.badge-email { background: #1d222a; }
.badge-linkedin { background: #0077b5; }
.badge-github { background: #24292e; }
.badge-instagram { background: #E4405F; }
.badge-twitter { background: #1DA1F2; }
.badge-letterboxd { background: #00D735; }
.badge-strava { background: #FC4C02; }

@media (max-width: 480px) {
    .badges {
        grid-template-columns: repeat(4, 1fr);
    }
    .badge {
        width: 100%;
    }
}

.footer-text {
    margin-top: 16px;
    font-size: 14px;
    color: #565b66;
}

.footer-text a {
    color: #e6b450;
}

/* Intro chat bubbles */
.intro {
    margin: 2em 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.intro blockquote {
    margin: 0;
    padding: 10px 14px;
    background: #e6b450;
    color: #0b0e14;
    border: none;
    border-radius: 18px 18px 4px 18px;
    width: fit-content;
    max-width: 85%;
    text-align: left;
}

.intro blockquote a {
    color: #0b0e14;
    text-decoration: underline;
}

/* Sitemap */
.sitemap {
    margin: 2em 0;
}

.sitemap-list {
    list-style: none;
    padding-left: 0;
}

.sitemap-list li {
    padding: 6px 0;
}

.sitemap-list li a {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.sitemap-nested {
    padding-left: 1em;
}

.sitemap-nested li {  
    padding-bottom: 0;
}

.sitemap-icon {
    stroke: #95e6cb;
    flex-shrink: 0;
}

hr {
    border: none;
    border-top: 1px solid #1d222a;
    margin: 2em 0;
}

/* Profile photo */
.profile-photo {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e6b450;
    margin: 1.5em 0;
}

.intro-photo {
    display: block;
    width: calc(100% + 100px);
    margin-left: -50px;
}

@media (max-width: 700px) {
    .intro-photo {
        width: 100%;
        margin-left: 0;
    }
}

.intro-figure {
    margin: 0;
}

.intro-figure figcaption,
.blog-figure figcaption {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #3d4048;
    font-style: italic;
}

.blog-figure {
    margin: 1.5em 0;
}

.blog-figure img {
    display: block;
    width: calc(100% + 100px);
    margin-left: -50px;
}

@media (max-width: 700px) {
    .blog-figure img {
        width: 100%;
        margin-left: 0;
    }
}

.contact-box {
    margin-top: 2em;
    padding: 1em 1.5em;
    background: #1d222a;
    border-left: 3px solid #95e6cb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-contact {
    padding: 8px 16px;
    background: #0b0e14;
    color: #95e6cb !important;
    border: 2px solid #95e6cb;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 3px 3px 0 #95e6cb;
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-contact:hover {
    text-decoration: none !important;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #95e6cb;
}

/* Blog post */
.post-date {
    color: #565b66;
    font-family: var(--font-mono);
    font-size: 0.9em;
    margin-top: -0.5em;
    margin-bottom: 1.5em;
}

.share-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-section span {
    color: #565b66;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #0b0e14;
    color: #e6b450;
    border: 2px solid #e6b450;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 3px 3px 0 #e6b450;
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-share:hover {
    background: #1d222a;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #e6b450;
    text-decoration: none;
}

/* Bird list */
.bird-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.bird {
    padding: 0.75em 1em;
    background: #1d222a;
    border-left: 3px solid #aad94c;
    border-radius: 4px;
}

.bird-name {
    color: #aad94c !important;
    font-weight: 600;
    font-size: 1.1em;
}

.bird-name:hover {
    color: #c4eb7a !important;
}

.bird-scientific {
    display: block;
    color: #565b66;
    font-size: 0.9em;
    margin-bottom: 0.5em;
}

.bird p {
    margin: 0;
}

.newsletter {
    margin-top: 2em;
}

.newsletter h2,
.sitemap h2 {
    margin-top: 0;
}

.newsletter form {
    display: flex;
    gap: 8px;
}

.newsletter input[type="email"] {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e6b450;
    border-radius: 4px;
    font-size: 14px;
    background-color: #0b0e14;
    color: #bfbdb6;
    outline: none;
}

.newsletter input[type="email"]::placeholder {
    color: #565b66;
}

.newsletter input[type="email"]:focus {
    background-color: #1d222a;
    box-shadow: 0 0 0 2px #e6b450;
}

.newsletter button {
    padding: 8px 16px;
    background: #0b0e14;
    color: #e6b450;
    border: 2px solid #e6b450;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 3px 3px 0 #e6b450;
    transition: transform 0.1s, box-shadow 0.1s;
}

.newsletter button:hover {
    background: #1d222a;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #e6b450;
}

/* Gallery */
.gallery-page {
    max-width: 900px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gallery img {
    height: 150px;
    width: auto;
    border-radius: 4px;
}

@media (max-width: 480px) {
    .gallery img {
        height: 100px;
    }
}
