/* General reset for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #A89475; /* Background color inspired by cover */
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Header Styling */
header {
    width: 100%;
    background-color: #5E5045; /* Dark earthy tone for header */
    color: #F3EAD9; /* Light color for contrast in header text */
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin: 0 1rem;
}

nav ul li a {
    color: #F3EAD9;
    text-decoration: none;
    font-weight: bold;
}

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

/* Main Content Area */
main {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

/* Image Gallery Styling */
#gallery {
    margin-bottom: 2rem;
    text-align: center;
}

#gallery h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #5E5045;
}

#gallery figure {
    display: inline-block;
    margin: 0 10px;
    text-align: center;
}

#gallery img {
    width: 100%;
    height: auto;
    max-width: 150px;
    border-radius: 5px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#gallery img:hover {
    transform: scale(1.05);
}

#gallery figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #333;
}

/* Book Media Section Styling */
#book-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.cover-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.video-container {
    width: 100%;
    max-width: 600px;
}

.video-container iframe {
    width: 100%;
    max-width: 600px;
    height: 350px; /* Increase height for better display */
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Footer Styling */
footer {
    width: 100%;
    background-color: #5E5045;
    color: #F3EAD9;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-top: auto;
}

footer p {
    margin: 0;
}

/* Chapter Content Styling */
#chapter-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #333;
}

#chapter-content h2 {
    font-size: 2rem;
    color: #5E5045;
    text-align: center;
    margin-bottom: 1rem;
}

#chapter-content p {
    margin-bottom: 1.5rem;
}


/* Impressum Content Layout */
#impressum-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1000px;
    margin: 2rem auto;
    justify-content: space-between;
}

.impressum-image img {
    width: 150px; /* Bildbreite, bei Bedarf anpassen */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.impressum-text {
    max-width: 600px;
}

/* Author Section Styling */
#author-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1000px;
    margin: 2rem auto;
    padding-top: 1rem;
    border-top: 1px solid #5E5045; /* Linie zur Trennung des Inhalts */
}

.author-photo img {
    width: 150px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.author-bio {
    max-width: 800px;
}

.author-bio h3 {
    font-size: 1.6rem;
    color: #5E5045;
    margin-bottom: 0.5rem;
}

.author-bio p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}
/* Kapitel 1 Styling */
#chapter-content {
    max-width: 700px; /* Schmaleres Layout für bessere Lesbarkeit */
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f9f7f1; /* Hellere Hintergrundfarbe für besseren Kontrast */
    color: #333; /* Dunkle Textfarbe */
    line-height: 1.8; /* Höhere Zeilenhöhe für bessere Lesbarkeit */
    font-size: 1.2rem; /* Größere Schriftgröße für lange Texte */
    font-family: Georgia, serif; /* Serifen-Schriftart für besser lesbaren Fließtext */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten für mehr Tiefe */
}

#chapter-content h2 {
    font-size: 2rem;
    color: #5E5045; /* Passende Farbe für Titel */
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Absatzabstand im Kapiteltext */
#chapter-content p {
    margin-bottom: 1.5rem;
    text-align: justify; /* Blocksatz für ein professionelleres Layout */
}
/* Bestellung Content Layout */
#order-content {
    max-width: 600px; /* Begrenzt die Breite auf das notwendige Minimum */
    margin: 2rem auto;
    padding: 1rem;
    text-align: center;
}

#order-content h2 {
    font-size: 2rem;
    color: #5E5045;
    margin-bottom: 1rem;
}

.order-option {
    background-color: #F3EAD9;
    border: 1px solid #5E5045;
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: left;
}

.order-option h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.order-option p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.order-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #5E5045;
    color: #F3EAD9;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.order-button:hover {
    background-color: #A89475;
}

.price {
    font-size: 1.1rem;
    color: #5E5045;
    font-weight: bold;
    text-align: right; /* Rechtsbündige Ausrichtung des Preises */
    margin-left: auto;
}