/* Reset and Base Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

#container {
    width: 95%;
    margin: auto;
}

/* Header */
#main-header {
    background: linear-gradient(to right, #b83b3b, #d65d5d);
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-bottom: 4px solid #9b2d2d;
    position: relative;
    z-index: 1;
}

/* Navigation */
#main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0.5rem 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

#main-nav li {
    margin: 0;
}

#main-nav a {
    text-decoration: none;
    color: white;
    background-color: #4b6cb7; /* blue */
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: background-color 0.3s, transform 0.2s;
}

#main-nav a:hover {
    background-color: #395693;
    transform: scale(1.05);
}

/* Main Content */
main {
    background-color: #ffffff;
    padding: 2rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

main img {
    display: block;
    margin: 2rem auto;
    border: 3px solid #ccc;
    border-radius: 8px;
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.9rem;
    margin: 2rem 0;
    color: #777;
}

/* Thematic Colors for Sections */
.theme-green {
    background-color: #568c7c;
    color: white;
}

.theme-yellow {
    background-color: #f3e265;
    color: #333;
}

.theme-blue {
    background-color: #4b6cb7;
    color: white;
}

.theme-orange {
    background-color: #f4a261;
    color: white;
}

.theme-purple {
    background-color: #6b5b95;
    color: white;
}

.theme-purple main,
.theme-green main,
.theme-blue main,
.theme-orange main {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fefefe;
}

.theme-yellow main {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.theme-purple a,
.theme-green a,
.theme-blue a,
.theme-orange a {
    color: #ffeeaa;
}

.theme-purple a:hover,
.theme-green a:hover,
.theme-blue a:hover,
.theme-orange a:hover {
    color: #ffffff;
}
