/* styles.css */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #000; /* Black background */
    color: #fff; /* White text */
}

.obituary-container {
    max-width: 800px;
    margin: 20px auto;
    background: #111; /* Slightly lighter black for contrast */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    padding: 20px;
}

.obituary-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #333;
}

.photo-container {
    display: inline-block;
    margin-bottom: 20px;
}

.photo {
    width: 200px; /* Larger photo */
    height: 300px;
    border-radius: 5%;
    object-fit: cover;
    border: 3px solid #444;
}

.details {
    margin-top: 10px;
}

.name {
    font-size: 2.5rem;
    margin: 0;
    color: #fff;
}

.dates {
    font-size: 1.5rem;
    color: #bbb;
}

.obituary-content {
    margin-top: 20px;
}

.obituary-content h2 {
    font-size: 1.5rem;
    color: #ddd;
    margin-bottom: 10px;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.obituary-content p {
    margin: 0 0 15px;
}

.charity-donation a {
    color: #4CAF50; /* Soft green for links */
    text-decoration: none;
}

.charity-donation a:hover {
    text-decoration: underline;
}

/* Styles for hyperlinks on a black background */
a {
    color: #4CAF50; /* Soft green for the default link */
    text-decoration: none; /* Removes the underline for a clean look */
    transition: color 0.3s ease; /* Smooth color change on hover */
}

a:hover {
    color: #8BC34A; /* Slightly brighter green on hover for contrast */
    text-decoration: underline; /* Underline on hover to signal interactivity */
}

a:visited {
/*    color: #9E9E9E; */ /* Subtle gray for visited links */
    color: #4CAF50;
}
