body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

header, section, footer {
    margin: auto;
    width: 80%;
    max-width: 960px;
}

header {
    text-align: center;
    padding: 20px;
}

h1 {
    margin: 0;
    color: #0275d8;
}

h2 {
    color: #0275d8;
}

.bio, .experience, .family {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center; /* This will center the child elements (including your image) horizontally */
    justify-content: center; /* This will center the child elements vertically if needed */
}

.face-photo {
    max-width: 50%; /* Makes the image take the full width of its parent container */
    width: auto;
    display: block; /* Ensures the image is treated as a block-level element */
    height: auto; /* Ensures the height changes proportionally to the width */
    margin: 0 auto; /* Centers the image horizontally */
    border-radius: 8px; /* Optional: Adds rounded corners to the image */
}

.family-photo {
    width: 100%; /* Makes the image take the full width of its parent container */
    height: auto; /* Ensures the height changes proportionally to the width */
    border-radius: 8px; /* Optional: Adds rounded corners to the image */
}


footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

a {
    color: #0275d8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
