/* Base styles for accessibility and dark mode */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap');

html {
    box-sizing: border-box;
    font-size: 18px;
    scroll-behavior: smooth;
    font-family: 'Jost', 'Segoe UI', Arial, sans-serif;

}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background: #102;
    color: #f4f4f4;
    margin: 0;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header styles */
/* .header {
    display: flex;
    flex-direction: column; 
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem 1rem 1rem;
    background: #22242a;
    border-bottom: 1px solid #222;
    border-radius: 0.5em;
    letter-spacing: 0.03em;
} */

.header {
    position: relative;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    color: #fff;
    font-size: 0.9rem;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.0)),
url('header.png');
    background-repeat: no-repeat;
    background-position: bottom, bottom center; 
    background-size: 100% 100px, auto;
    min-height: 100px; 
    display: flex;
    flex-direction: column;
    align-items: center;

    }

.title {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    background-color: #102;
    border-radius: 0.5em;
    width: fit-content;
    padding: 0.1em 0.5em;
}

.topline {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.topline span {
    display: inline-block;
    background: #102;
    color: #fff;
    padding: 0.3em 1em;
    margin: 0.2em 0.1em;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
}


.main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}



.bio {
    max-width: 700px;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #e0e0e0;
    text-indent: 2em;

}

.bio a {
    color: #4f8;
    text-decoration: none;
    transition: color 0.2s;
}

.headshot {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

/* Social links */
.socials {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.socials a {
    color: #f4f4f4;
    background: #23252b;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    outline: none;
}

.socials a:focus,
.socials a:hover {
    background: #3a3d46;
    color: #4f8;
    text-decoration: underline;
}

/* Footer */
.footer {
    position: relative;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    color: #888;
    font-size: 0.9rem;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.0)),
url('footer.png');
    background-repeat: no-repeat;
    background-position: top, bottom center; 
    background-size: 100% 40px, auto;
    min-height: 300px; 
    }

.footer-text {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    text-align: right;
    font-style: italic;
    color: #4f8;
    font-size: 0.8rem;
    font-weight: 300;
}


a:focus, button:focus, input:focus {
    outline: 2px solid #fad089;
    outline-offset: 2px;
}

.email {
    display: inline-block;
    vertical-align: middle;
    height: 1em;
    width: auto;
    margin: 0 0.2em;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 1rem;
        padding: 1rem 0.5rem;
    }
    .main {
        padding: 0 0.5rem;
    }
    .socials {
        flex-direction: column;
        gap: 0.5rem;
    }
}