body {
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

pre code{
    /*background-color: #f5f5f5;*/
    background-color: #ffffdd;
    color: #000000;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    padding: 1em;
    border-radius: 8px;
    display: block;
    overflow-x: auto;
    line-height: 1.5;
    white-space: pre;
    border: 1px solid #d1d5da;
}

img {
    max-width: 100%;
    height: auto;
}

article .border-top {
    font-size: 1rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    article .border-top {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

.post-content {
    max-width: 90ch;
    margin-inline: auto;
    padding-inline: 1rem;
}


/* INDEX PAGE */
.profile-section {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    text-align: left;
}

.profile-content {
    flex: 1;
}

.profile-photo {
    width: auto;
    height: 280px;
    border-radius: 30%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
    order: 2;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-links {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-links a {
    color: #495057;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.contact-links a:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.name-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #343a40;
}

.subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-photo {
        order: 0;
        align-self: center;
    }

    .contact-links {
        justify-content: center;
    }
}

/* END INDEX PAGE */

main {
    flex: 1;
}

footer {
    margin-top: auto;
}