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

/* Base */
body {
    font-family: Georgia, "Times New Roman", serif;
    background: #f8f6f2;
    color: #000000;
    line-height: 1.7;

    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

/* --- Header --- */
header {
    padding: 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

.header-button {
    font-family: helvetica;
    padding: 10px 16px;
    text-decoration: none;
    background-color: #bbae97;
    color: #f8f6f2;
    font-size: 14px;
    border: 1px solid #f8f6f2;
}

.header-button:hover {
    background-color: white;
    color: black;
}

h1 {
    font-family: "PT Mono", monospace;
    font-size: 2.9rem;
    font-weight: 400;
    letter-spacing: -1px;
}

.tagline {
    font-family: helvetica;
    margin-top: 10px;
    color: #bbae97;
    font-style: italic;
}

h2 {
    font-family: "PT Mono";
    font-size: 1.09rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #bbae97;
    margin-bottom: 20px;
}

.project h3 {
    font-family: helvetica;
    font-size: 1rem;
    font-weight: 100;
    font-style: italic;
    color: #bbae97;
    margin-bottom: 20px;
}



.example {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-bottom: 100px;
    align-items: start;   /* this fixes it */
    font-family: helvetica;
}

.example-text p {
    color: #000000;
}

.example-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Links */
a {
    color: #bbae97;
    text-decoration: none;
    border-bottom: 1px solid #bbae97;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {

    .example {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body {
        margin: 50px auto;
    }
}