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

/* Body Styling */
body {
    background-color: #e0b78d;
    color: #3e2723;
    font-family: 'Georgia', serif; 
    line-height: 1.6;
    cursor: url('images/cursor.cur'), auto;
}

/* Container for Fixed Width */
.container {
    width: 960px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff8e1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Header Styling */
header {
    background-color: #5d4037;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    border-radius: 10px 10px 0 0;
}

header h1 {
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 2.5em;
}

/* Navigation Styling */
nav {
    background-color: #4e342e;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 1.1em;
}

nav a:hover {
    text-decoration: underline;
}

/* Main Content Styling */
main {
    width: 100%;
    padding: 20px;
    background-color: #fff8e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
    margin-bottom: 20px;
    border-radius: 10px;
}

/* Adjust h2 Heading */
main h2 {
    text-align: center;
    margin-bottom: 15px;
}

h2, h3 {
    margin: 15px 0;
    padding: 10px;
    border-top: 2px solid #6d4c41;
}

p {
    margin-bottom: 15px;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

/* Image Styling */
img {
    border: 2px solid #6d4c41;
    padding: 5px;
    margin: 10px;
    max-width: 100%;
    border-radius: 8px;
}

/* Floating Image Classes */
.float-right {
    float: right;
    margin-left: 15px;
    margin-bottom: 10px;
    width: 300px;
}

.float-left {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
    width: 300px;
}

/* Footer Styling */
footer {
    background-color: #5d4037; /* Same as header for consistency */
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    border-radius: 0 0 10px 10px;
}

/* Back to Top Link */
.back-to-top {
    display: block;
    text-align: right;
    margin-top: 10px;
}

/* to fix floating issues */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Full-Width img style for stim pic */
.full-width-image {
    display: block;
    width: 100%; 
    margin: 10px 0; 
    border-radius: 10px; 
}

/* Center image and header for home page */
.center-content {
    text-align: center;
    margin-top: 20px; 
}

.center-content img {
    margin-top: 10px; 
}