/* Body setup */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

/* Header style */
header {
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: flex-start; /* Align items to the left */
    padding: 16px 32px;
    background-color: lightblue;
    width: 100%;
    box-sizing: border-box;
    gap: 20px; /* Add space between the logo and nav */
}

.logo-container {
    margin-right: 75px;
}

/* Navigation */
.nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap; /* allows buttons to wrap if needed */
    justify-content: flex-end;
}

.nav-button {
    background-color: #cce4f6;
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-family: 'Cherry Bomb One', cursive;
    padding: 10px 20px;
    border-radius: 50px;
    white-space: nowrap; /* keep text in one line */
}

.nav-button:hover {
    background-color: #add8e6;
}

.nav-button.active {
    background-color: #1E90FF;
    color: white;
}

/* Page content container */
.container {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Flex row for content and image */
.flex {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    width: 100%;
}

/* About section */
.about {
    flex: 1;
    margin-top: 64px;
}

/* Image in about section */
.flex img {
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Footer */
footer {
    background-color: lightblue;
    text-align: center;
    padding: 16px 32px;
    margin-top: 32px;
}

footer p {
    margin: 6px 0;
    color: #333;
    font-size: 1rem;
}

footer a {
    color: #1E90FF;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Family page layout */
.family-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.family-member {
    background-color: #f0f8ff; /* Your color! */
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.family-member img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
}

.family-member h3 {
    font-family: 'Cherry Bomb One', cursive;
    font-size: 1.8rem;
    margin: 8px 0;
}

.family-member p {
    color: #333;
    font-size: 1rem;
}

