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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem;
    gap: 3rem;
    align-items: flex-start;
}

.profile-image {
    flex: 0 0 auto;
}

.profile-image img {
    width: 400px;
    height: auto;
    display: block;
}

.content {
    flex: 1;
    max-width: 600px;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
}

.bio {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.bio p {
    margin-bottom: 1rem;
}

.bio p.justified {
    text-align: justify;
}

.bio a {
    color: #0066cc;
    text-decoration: none;
}

.bio a:hover {
    text-decoration: underline;
}

.bio pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 1rem;
    overflow-x: auto;
}

.bio code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #333;
}

.contact {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.95rem;
}

.contact a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }

    .profile-image img {
        width: 100%;
        max-width: 400px;
    }

    .content {
        max-width: 100%;
    }

    h1 {
        font-size: 1.5rem;
    }

    .bio p.justified {
        text-align: left;
    }

    .bio pre {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .bio code {
        font-size: 0.8rem;
    }
}
