/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

/* Page Title */
h1 {
    text-align: center;
    color: #444;
    margin-bottom: 40px;
}

/* Container for the cards */
.card-container {
    display: flex;
    flex-wrap: wrap; /* Allows cards to wrap to the next line on smaller screens */
    justify-content: center; /* Centers the cards horizontally */
    gap: 25px; /* Adds space between cards */
}

/* Individual Person Card */
.person-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 450px;
    overflow: hidden; /* Ensures the photo's corners don't stick out */
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect for the card */
.person-card:hover {
    transform: translateY(-10px); /* Lifts the card up slightly */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Person's Photo */
.person-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Prevents the image from being distorted */
    margin-top: 20px;
    border: 4px solid #eee;


}

/* Container for text details */
.person-details {
    padding: 20px;
}

/* Person's Name */
.person-name {
    font-size: 1.5em; /* 1.5 times the base font size */
    margin-top: 10px;
    margin-bottom: 10px;
    color: #0056b3;
}

/* Style for the Family Name */
.family-name {
    font-weight: 700; /* Makes the family name bold */
}

/* Person's Biography */
.person-bio {
    font-size: 0.9em;
    line-height: 1.6;
    color: #666;
    text-align: left;
}
.person-link-out {
    font-size: 0.9em;
    line-height: 1.6;
    color: #666;
}