* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFF8DC; 
    color: #2C1810; 
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
}

/* font */
body {
  font-family: "Lora", serif;
}

h1,h2,h3 {
    font-family: "Lora", serif;
}
/* Container - Fixed width between 960px and 1200px with auto margins */
.container {
    width: 1100px;
    max-width: 1200px;
    min-width: 960px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 30px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Heading Styles with Custom Font */
h1, h2, h3 {
    font-family: 'Merriweather', Georgia, serif;
    color: #6B3410;
    font-weight: 700;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 25px;
    color: #6B3410;
}

h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-top: 20px;
    border-top: 3px solid #D2691E; 
    color: #8B4513;
}

h3 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 12px;
    padding-top: 15px;
    border-top: 2px solid #DEB887; 
    color: #A0522D;
}

/* Paragraph */
p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.05em;
}

/* Strong and Emphasis Elements */
strong {
    font-weight: 700;
    color: #4A2511;
}

em {
    font-style: italic;
    color: #704214;
}

/* Navigation Styles */
nav {
    background-color: #8B4513; /* Saddle brown */
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #A0522D;
    color: #FFD700; 
}

nav a.active {
    background-color: #6B3410;
    color: #FFD700;
}

/* Image Styles with Borders and Margins */
img {
    max-width: 100%;
    height: auto;
    border: 3px solid #8B4513;
    border-radius: 6px;
    margin: 10px;
}

/* Float Classes for Images */
.float-right {
    float: right;
    margin: 0 0 20px 25px;
    max-width: 400px;
}

.float-left {
    float: left;
    margin: 0 25px 20px 0;
    max-width: 400px;
}

.float-left-lower {
    float: left;
    margin: 50px 20px 0px 0;  
    max-width: 400px;
}

a img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Content Sections */
.content-section {
    margin-bottom: 35px;
    overflow: auto; 
}

.logo-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
}

.site-logo {
    max-width: 150px;
    height: auto;
    border: none; 
    margin: 0 auto;
    display: block;
}

/* Footer Links and Sources */
.footer-links {
    clear: both;
    margin-top: 40px;
    padding: 20px;
    background-color: #F5DEB3; 
    border-radius: 5px;
    text-align: center;
}

.footer-links a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
}

.footer-links a:hover {
    color: #6B3410;
    text-decoration: underline;
}

.sources {
    font-size: 0.95em;
    color: #6B3410;
    margin-bottom: 10px;
    line-height: 1.6;
}

.sources a {
    color: #8B4513;
    font-weight: 600;
}

.sources a:hover {
    text-decoration: underline;
}

/* Main Content Area */
main {
    padding: 10px 0;
}

/* Link Styles */
a {
    color: #8B4513;
    transition: color 0.2s ease;
}

a:hover {
    color: #D2691E;
}

@media (max-width: 1200px) {
    .container {
        width: 95%;
        min-width: 960px;
    }
}

@media (max-width: 980px) {
    .container {
        min-width: 100%;
        width: 100%;
        padding: 20px;
    }
    
    .float-right, .float-left {
        float: none;
        margin: 20px auto;
        display: block;
    }
}