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

/* Overall styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f8fb; /* Light blue background */
    color: #333;
}

/* Header Styling */
header {
    text-align: center;
    padding: 20px;
}

/* Style for Main Family Photo */
.main-photo {
    max-width: 100%;      /* Ensures the image doesn’t exceed the container’s width */
    width: 800px;         /* Sets the preferred width */
    height: auto;         /* Keeps the aspect ratio */
    display: block;
    margin: 20px auto;    /* Centers the image */
    border-radius: 10px;  /* Optional: adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a soft shadow */
}


/* Navigation */
nav ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style-type: none;
    margin: 20px 0;
}

nav a {
    color: #007acc; /* Bright blue */
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #005f99;
}

/* Main Sections */
main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.card {
    background-color: #fff;
    padding: 20px;
    max-width: 900px; /* Allows cards to scale */
    margin: 20px auto; /* Center aligns cards */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


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


/* Remove default link styles for cards */
.card-link {
    text-decoration: none;
    color: inherit;
}


/* Profile Photos */
.profile-photo {
    width: 100px;              /* Adjust the size as needed */
    height: 100px;
    object-fit: cover;
    border-radius: 30%;        /* Makes the photo circular */
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #007acc;
    color: #fff;
    margin-top: 20px;
    font-size: 0.9em;
}

/* Profile Page Layout */
.profile-details {
    text-align: center;
    padding: 20px;
}

.profile-photo-large {
    width: 150px;             /* Larger profile photo */
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.additional-links {
    text-align: center;
    margin-top: 20px;
}

.additional-links ul {
    list-style-type: none;
    padding: 0;
}

.additional-links li {
    margin: 10px 0;
}

.additional-links a {
    color: #007acc;
    text-decoration: none;
    font-weight: bold;
}

.additional-links a:hover {
    color: #005f99;
}


