/* Updated: Full width dividers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'EB Garamond', serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    background-color: white;
    border: 1px solid black;
    padding: 50px 60px;
    max-width: 650px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 15px;
}

h1 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 0px;
}

.subtitle {
    font-style: italic;
    font-size: 16px;
    margin-bottom: 10px;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: black;
    margin: 0 auto;
}

.bottom-divider {
    margin-top: 2px;
}

.content {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr;
    gap: 5px;
    margin-top: 10px;
}

h2 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.about p {
    font-size: 16px;
    line-height: 1.1;
    text-align: justify;
    hyphens: auto;
    white-space: normal;
}

.work {
    margin-top: 10px;
}

.job p {
    font-size: 16px;
    line-height: 1.1;
    white-space: nowrap;
    hyphens: auto;
}

.social h2 {
    text-align: right;
}

.social p {
    font-size: 16px;
    text-align: right;
    line-height: 1.1;
    white-space: nowrap;
}

.contact {
    margin-top: 10px;
}

.contact h2 {
    text-align: right;
}

.contact p {
    text-align: right;
    font-size: 16px;
    line-height: 1.1;
    margin-bottom: 2px;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .card {
        padding: 30px;
        margin: 10px;
    }
    
    .content {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .social h2, .contact h2, .social p, .contact p {
        text-align: left;
    }
} 