/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
}

header {
    background-color: #2e8b57; /* Dunkelgrün */
    color: white;
    padding: 10px 0;
    position: relative;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #3cb371; /* Mittleres Frühlingsgrün */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
}

nav ul li a:hover {
    background-color: #2e8b57; /* Dunkelgrün */
}

/* Header Buttons */
.header-buttons {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.header-icon {
    width: 32px; /* Größe der Icons */
    height: 32px;
    vertical-align: middle;
    display: block;
}

.header-buttons a {
    display: block;
}

/* Hero-Text */
.hero-text {
    margin-top: 50px;
}

.hero-text h2 {
    font-size: 36px;
    color: #2e8b57; /* Dunkelgrün */
}

.intro-text {
    margin-top: 20px;
    font-size: 18px;
    color: #555;
}

/* Highlight Text */
.highlight-text {
    margin-top: 40px;
}

.highlight-text p {
    font-size: 48px; /* Größe der Schrift */
    font-weight: bold;
    color: red; /* Farbe der Schrift */
}

/* Image Container */
.image-container {
    margin-top: 30px;
}

.highlight-image {
    width: 100%; /* Bild auf volle Breite skalieren */
    max-width: 600px; /* Maximale Breite des Bildes */
    height: auto; /* Höhe automatisch anpassen */
    border-radius: 10px; /* Abgerundete Ecken */
}

/* Suchfunktion */
.search-container {
    text-align: center;
    margin-top: 20px;
}

#search-input {
    padding: 10px;
    width: 300px;
    font-size: 16px;
}

#search-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #2e8b57; /* Dunkelgrün */
    color: white;
    border: none;
    cursor: pointer;
}

#search-button:hover {
    background-color: #3cb371; /* Mittleres Frühlingsgrün */
}

/* Bücherliste */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px;
}

.book-item {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.book-cover {
    width: 128px;
    height: 192px;
    object-fit: cover;
    margin-bottom: 10px;
}

.book-details h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.book-details p {
    margin: 5px 0;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #2e8b57; /* Dunkelgrün */
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

footer p {
    margin: 0;
}

/* Stile für Film-Items (ähnlich wie Buch-Items) */
.book-item {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.book-cover {
    width: 128px;
    height: 192px;
    object-fit: cover;
    margin-bottom: 10px;
}

