/* General Styling */
body {
    font-family: 'serif', Georgia, Times, 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #ffafc7;
}

header {
    background: #ffafc7;
    color: black;
    padding: 2rem;
    text-align: center;
}

header img {
    /* Occupy 90% of the screen width on small screens, 
       but never grow larger than 1000px on big screens */
    width: 100%; 
    max-width: 1000px;
    
    /* Keeps the photo from stretching vertically */
    height: auto; 
    
    border-radius: 8px; /* Optional: adds a nice soft corner */
}

/* Navigation Flexbox */
nav {
    background: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows wrapping on mobile */
    padding: 1rem;
    position: sticky;
    top: 0;
}

nav a {
    text-decoration: none;
    color: #5d6d7e;
    padding: 0.5rem 1rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

nav a:hover {
    color: #a93226;
}

/* Content Layout */
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

main img {
    max-width: 100%;
}

section {
    padding: 2rem;
}

h1, h2 {
    color: #2c3e50;
}

i {
    font-size: 14pt;
}

footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    color: #777;
}

/* Mobile Responsive Adjustments */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
}