body {
    font-family: Georgia, "Times New Roman", serif;
    max-width: 900px;
    width: 90%;
    margin: auto;
    padding: 30px;
    box-sizing: border-box;
    line-height: 1.7;
    color: #333;
    background-color: #f7f5f2;
}

header {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 40px;
    background-color: #ffffff;
    border-bottom: 3px solid #333;
}

header h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
}
.headshot {
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
    margin: 30px auto;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 10px;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: bold;
    padding: 8px 12px;
}

nav a:hover {
    color: #8b4513;
}

main {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: auto;
}

h2 {
    font-size: 2rem;
    margin-top: 0;
    color: #222;
}

h3 {
    color: #555;
}

p {
    font-size: 1.1rem;
}

a {
    color: #8b4513;
    font-weight: bold;
    transition: color .2s ease;
}

a:hover {
    text-decoration: underline;
}

hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid #ddd;
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card h3 {
    margin-top: 0;
}

.card p {
    margin-bottom: 18px;
}

.button {
    display: inline-block;
    background: #8b4513;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: bold;
}

.button:hover {
    background: #6d3610;
}
@media (max-width: 700px) {

    body {
        width: 95%;
        padding: 20px 0;
    }

    header {
        padding: 20px 10px;
    }

    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 20px;
    }

    nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    h2 {
        font-size: 1.75rem;
    }

}
footer {
    text-align: center;
    margin-top: 40px;
    color: #777;
    font-size: .9rem;
}
