/* Reset CSS, um Standard-Stile zu entfernen */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    font-size: 16px; /* Standard-Schriftgröße */
    
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section.therme {
    background-color: #fff;
    padding: 20px;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative; /* Positionierung für den Button */
}

section.therme h1 {
    font-size: 24px;
    margin-bottom: 15px;
}

section.therme img {
    max-width: 100%;
    height: auto;
    border-radius: 5px; /* Runde Ecken für die Bilder */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Schatten für die Bilder */
    object-fit: cover; /* Zuschneiden der Bilder in ein Breitformat */
    margin-bottom: 15px; /* Abstand zwischen Bild und Text hinzufügen */
}


/* Stile für das Suchergebnis-Dropdown */
#searchDropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    max-height: 150px;
    overflow-y: auto;
    z-index: 2;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff; /* Hintergrundfarbe des Menüs */
    border: 1px solid #ddd;
    max-height: 150px;
    overflow-y: auto;
    z-index: 2;
}

/* Stil für die Dropdown-Menü-Links */
.dropdown-menu a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #333;
}

/* Stil für den Hover-Effekt */
.dropdown-menu a:hover {
    background-color: #f0f0f0;
}
#searchDropdown a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #333;
}

#searchDropdown a:hover {
    background-color: #f0f0f0;
}

/* Suchfeld im Header rechts oben ausrichten */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px;
}

.search-bar {
    margin-right: 20px;
    position: relative;
}

/* Medienabfrage für große Bildschirme */
@media (min-width: 768px) {
    .dropdown ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .dropdown ul li {
        flex: 0 0 calc(25% - 10px);
        margin: 0 5px;
    }
}
/* Affiliate-Links */
.affiliate-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50; /* Grüne Farbe für Sauberkeit und Entspannung */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    position: absolute;
    bottom: 10px; /* Abstand zum unteren Rand */
    right: 10px; /* Abstand zum rechten Rand */
    cursor: pointer;
    z-index: 1; /* Über dem Text positionieren */
}

.affiliate-link:hover {
    background-color: #45a049; /* Dunklere grüne Farbe im Hover-Zustand */
}



.search-bar input[type="text"] {
    width: 200px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-bar button {
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    section.therme {
        margin: 10px;
    }

    .affiliate-link {
        position: relative; /* Zurück zur normalen Position */
        margin-top: 20px; /* Abstand nach oben */
        margin-bottom: 0px; /* Abstand nach unten */
    }

    body {
        font-size: 18px; /* Kleinere Schriftgröße für mobile Geräte */
    }
}
