/* Farben und Variablen */
[data-theme="light"] {
  /* Lightmode Farben */
  --background-color: #FFFFFF; /* Reinweiß für einen sauberen Look */
  --text-color: #2E2E2E; /* Etwas helleres Dunkelgrau für bessere Lesbarkeit */
  --header-footer-bg-color: #1A1A1A; /* Dunkles Anthrazit für Kontrast */
  --header-footer-text-color: #FFFFFF; /* Weiß für Text im Header und Footer + Logo Schriftzug */
  --link-color: #1E90FF; /* Ein lebhaftes Blau für Links */
  --link-hover-color: #1C86EE; /* Ein etwas dunkleres Blau beim Hover */
  --blockquote-bg-color: #F5F5F5; /* Sehr helles Grau für Zitate */
  --blockquote-border-color: #D3D3D3; /* Ein sanftes Grau für Zitatrahmen */
  --blockquote-text-color: #2E2E2E; /* Etwas helleres Dunkelgrau für Zitattext */
  --button-bg-color: #E6E6E6; /* Sehr helles Grau für Buttons */
  --button-hover-bg-color: #CCCCCC; /* Hellgrau für Buttons beim Hover */
  --button-text-color: #1E90FF; /* Blau für Buttontext */
  --button-outline-text-color: #B0B0B0; /* Helles Grau für Outlinetext */
  --button-outline-border-color: #B0B0B0; /* Helles Grau für Outlinerahmen */
  --button-outline-text-hover-color: #1C86EE; /* Blau für Outlinetext beim Hover */
  --button-outline-bg-hover-color: #E6E6E6; /* Sehr helles Grau für Outline-Hintergrund beim Hover */
  --button-outline-border-hover-color: #B0B0B0; /* Helles Grau für Outlinerahmen beim Hover */
  --promo-link-color: #1E90FF; /* Blau für Promo-Links */
  --card-border-color: #FFFFFF; /* Helles Grau für Kartenrahmen */
  --card-shadow-color: rgba(0, 0, 0, 0.03); /* Sehr leichter Schatten für Karten */
  --promo-blog-container-bg-color: #FCFCFC; /* Fast Weiß für Promo-Blog-Hintergrund */
  --blog-container-bg-color: #FCFCFC; /* Fast Weiß für Blog-Hintergrund */
  --blog-container-shadow-color: rgba(0, 0, 0, 0.03); /* Sehr leichter Schatten für Blog-Container */
  --search-slide-bg-color: #000000; /* Schwarz für die Suche */
  --search-slide-border-color: #000000; /* Helles Grau für Suchrahmen */
  --search-slide-shadow-color: rgba(0, 0, 0, 0.03); /* Sehr leichter Schatten für Suche */
  --breadcrumb-inactive: #A9A9A9; /* Grau für inaktive Brotkrümel */
  --breadcrumb-bg-color: #F5F5F5; /* Sehr helles Grau für Brotkrümel-Hintergrund */
  --badge-bg-color: #E6E6E6; /* Helles Grau für Tag-Hintergrund */
  --badge-bg-hover-color: #CCCCCC; /* Hellgrau für Tag-Hintergrund bei Hover */
  --svg-fill-color: #ff0000; /* SVG Farbe */  
  --border-radius: 0.2rem /* Generelle Abrundung */
}

[data-theme="dark"] {
  /* Darkmode Farben */
  --background-color: #121212; /* Sehr dunkles Grau für den Hintergrund */
  --text-color: #E0E0E0; /* Helles Grau für bessere Lesbarkeit */
  --header-footer-bg-color: #1A1A1A; /* Dunkles Anthrazit für Kontrast */
  --header-footer-text-color: #FFFFFF; /* Weiß für Text im Header und Footer */
  --link-color: #1E90FF; /* Ein lebhaftes Blau für Links */
  --link-hover-color: #1C86EE; /* Ein etwas dunkleres Blau beim Hover */
  --blockquote-bg-color: #333333; /* Dunkleres Grau für Zitate */
  --blockquote-border-color: #4F4F4F; /* Dunkles Grau für Zitatrahmen */
  --blockquote-text-color: #E0E0E0; /* Helles Grau für Zitattext */
  --button-bg-color: #444444; /* Dunkles Grau für Buttons */
  --button-hover-bg-color: #555555; /* Etwas helleres Grau für Buttons beim Hover */
  --button-text-color: #1E90FF; /* Blau für Buttontext */
  --button-outline-text-color: #B0B0B0; /* Helles Grau für Outlinetext */
  --button-outline-border-color: #B0B0B0; /* Helles Grau für Outlinerahmen */
  --button-outline-text-hover-color: #1C86EE; /* Blau für Outlinetext beim Hover */
  --button-outline-bg-hover-color: #444444; /* Dunkles Grau für Outline-Hintergrund beim Hover */
  --button-outline-border-hover-color: #B0B0B0; /* Helles Grau für Outlinerahmen beim Hover */
  --promo-link-color: #1E90FF; /* Blau für Promo-Links */
  --card-border-color: #4F4F4F; /* Dunkles Grau für Kartenrahmen */
  --card-shadow-color: rgba(0, 0, 0, 0.5); /* Dunklerer Schatten für Karten */
  --promo-blog-container-bg-color: #1A1A1A; /* Dunkles Anthrazit für Promo-Blog-Hintergrund */
  --blog-container-bg-color: #1A1A1A; /* Dunkles Anthrazit für Blog-Hintergrund */
  --blog-container-shadow-color: rgba(0, 0, 0, 0.5); /* Dunklerer Schatten für Blog-Container */
  --search-slide-bg-color: #FFFFFF; /* Sehr dunkles Grau für die Suche */
  --search-slide-border-color: #FFFFFF; /* Dunkles Grau für Suchrahmen */
  --search-slide-shadow-color: rgba(0, 0, 0, 0.5); /* Dunklerer Schatten für Suche */
  --breadcrumb-inactive: #A9A9A9; /* Grau für inaktive Brotkrümel */
  --breadcrumb-bg-color: #333333; /* Dunkleres Grau für Brotkrümel-Hintergrund */
  --badge-bg-color: #444444; /* Dunkles Grau für Tag-Hintergrund */
  --badge-bg-hover-color: #555555; /* Etwas helleres Grau für Tag-Hintergrund bei Hover */
  --svg-fill-color: #ff0000; /* SVG Farbe */
  --border-radius: 0.25rem /* Generelle Abrundung */
}



/* Kategorie Tags IN den Bildern */

.img-container {
    position: relative;
    display: inline-block;
}

.category-tags {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.category-tags .badge {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: var(--border-radius);
}

/* Placeholder Image Styling */
.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px; /* Höhe des Bildbereichs anpassen */
    background: linear-gradient(135deg, #f06, #ffba00);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
}

.placeholder-image span {
    padding: 10px;
}

/* Sidebar Sortierung */

.sidebar {
    display: flex;
    flex-direction: column;
}

.about-blog {
    order: 2;
}

.search-section {
    order: 1;
}

.categories-section {
    order: 5;
}

.tags-section {
    order: 4;
}

.popular-posts-section {
    order: 3;
}

.promo-section {
    order: 6;
}

/* About me Sektion */
.about-blog {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.about-blog h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.about-blog img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #ccc;
}

.about-blog p.font-weight-bold {
    font-size: 1.25rem;
    color: #333;
}

.about-blog p {
    font-size: 1rem;
    color: #666;
}

/* Allgemeine Stile für runde Buttons */
.nav-btn, .theme-toggle-btn, .search-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: 10px; /* Abstand zwischen den Buttons */
    padding: 0; /* Kein Innenabstand, um die Icons zentriert zu halten */
    text-decoration: none; /* Entfernt die Standard-Link-Unterstreichung */
}

.nav-btn svg, .theme-toggle-btn svg, .search-btn svg {
    width: 70%; /* Proportionale Größe der Icons */
    height: 70%; /* Proportionale Größe der Icons */
    fill: var(--svg-fill-color); /* Stellt sicher, dass die SVG die Textfarbe erbt */
    stroke: var(--svg-fill-color); /* Für Icons mit Pfaden (paths), die nicht vollständig gefüllt sind */
}

.nav-btn:hover, .theme-toggle-btn:hover, .search-btn:hover {
    background-color: var(--button-hover-bg-color);
    color: var(--button-outline-text-hover-color);
}

.nav-btn.light, .theme-toggle-btn.light, .search-btn.light {
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
}

.nav-btn.dark, .theme-toggle-btn.dark, .search-btn.dark {
    background-color: var(--button-bg-dark-color);
    color: var(--button-text-dark-color);
}

/* Container für die Buttons */
.button-container {
    display: flex;
    align-items: center;
    flex-direction: row; /* Sicherstellen, dass die Buttons in einer Zeile bleiben */
}

.no-posts-found {
  text-align: center;
  margin-top: 10px; /* Optional: Abstand nach oben */
}

}


/* Pagination */
.pagination {
    margin-top: 20px;
}

.page-item.active .page-link {
    background-color: var(--button-bg-color);
    border-color: var(--button-outline-border-color);
    color: white;
}

.page-link {
    color: var(--link-color);
}

.page-link:hover {
    color: var(--link-hover-color);
}

/* Allgemeine Stile */
body, footer ul {
  padding: 0;
  margin: 0;
}

/* Logo Font */
@font-face {
  font-family: 'Montserrat';
  src: url('/css/font/montserrat-v26-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}


@font-face {
  font-family: 'Roboto';
  src: url('/css/font/roboto-v30-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: 'Roboto', Inter, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', Inter, sans-serif;
  font-weight: 700;
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6, p { font-size: 16px; }

p {
  font-family: 'Roboto', Inter, sans-serif;
  font-weight: 400;
}

.bold-text {
  font-weight: 700;
}

/* Stile für das Logo */
.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px; /* Passe die Schriftgröße an */
  color: var(--header-footer-text-color) !important; /* Passe die Textfarbe an */
  transition: color 0.3s ease, transform 0.3s ease; /* Transition für Hover-Effekt */
}

.navbar-brand:hover {
  color: var(--link-hover-color) !important; /* Passe die Textfarbe bei Hover an */
  transform: scale(1.1); /* Zoom-Effekt beim Hovern */
}

/* Animation beim Laden der Seite */
.animated-logo {
  animation: zoomIn 1s ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}

/* Links */
a, a.btn-link, footer ul li a {
  color: var(--link-color) !important;
  text-decoration: none;
}

a:hover, footer ul li a:hover, .navbar .nav-link:hover, a.btn-link:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

/* General Button Styling */
.btn, button {
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    border: none;
    cursor: pointer;
}

.btn:hover, .badge-primary:hover, .floating-nav .custom-button:hover, button:hover {
    background-color: var(--button-hover-bg-color);
    color: var(--button-text-color);
}

/* Primary Buttons */
.btn-primary {
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    border-color: var(--button-bg-color);
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    background-color: var(--button-hover-bg-color);
    border-color: var(--button-hover-bg-color);
    color: var(--button-text-color);
    text-decoration: none;
}

/* Outline Secondary Buttons */
.btn-outline-secondary {
    color: var(--button-outline-text-color); /* Textfarbe */
    background-color: var(--button-bg-color); /* Hintergrundfarbe */
    border-color: var(--button-outline-border-color); /* Randfarbe */
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active {
    color: var(--button-outline-text-hover-color);
    background-color: var(--button-outline-bg-hover-color);
    border-color: var(--button-outline-border-hover-color);
    text-decoration: none;
}

/* Navigation */

header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--header-footer-bg-color);
}

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  color: var(--header-footer-text-color) !important;
  background-color: var(--header-footer-bg-color);
  margin: 0; /* Entfernen Sie jegliches Margin */
  padding: 10px 0; /* Minimales Padding, um die Höhe der Navbar zu kontrollieren */
}

.navbar .nav-link, .header-container, footer, footer p, footer ul li a {
  color: var(--header-footer-text-color) !important;
}

.navbar-light.bg-light, footer.bg-light {
  background-color: var(--header-footer-bg-color) !important;
  color: var(--header-footer-text-color) !important;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}

footer ul {
  list-style: none;
}

footer ul li {
  display: inline;
  margin-right: 15px;
}

footer .footer-logo img {
  height: 30px;
  margin-top: 10px;
  filter: invert(1);
}

footer p {
  margin-top: 10px;
  margin-bottom: 0;
}

/* Formulare */
.form-control {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--blockquote-border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  margin-right: -1px;
}

.no-results {
  color: #888;
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
}

/* Blöcke */
/* Main Container */
main.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

main.container .row {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

blockquote {
  padding: 10px 20px;
  margin: 20px 0;
  border-left: 5px solid var(--blockquote-border-color);
  background-color: var(--blockquote-bg-color);
  color: var(--blockquote-text-color);
  font-style: italic;
}

/* Tags */
.badge-primary {
  color: var(--link-color) !important;
  background-color: var(--badge-bg-color) !important;
  text-decoration: none;
  padding: 0.5em 0.75em;
  border-radius: var(--border-radius);
  display: inline-block;
  margin: 0.25em;
}

.badge-primary:hover {
  background-color: var(--badge-bg-hover-color) !important;
  color: var(--link-hover-color) !important;
  text-decoration: underline;
}

/* Karten */
.card {
    border: 1px solid var(--card-border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 10px var(--card-shadow-color);
    background-color: var(--blog-container-bg-color) !important; /* Hintergrundfarbe */
    color: var(--text-color); /* Textfarbe */
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px;
}

.list-group-item {
    color: var(--link-color) !important;
    border: 1px solid var(--card-border-color) !important;
    background-color: var(--blog-container-bg-color) !important; /* Hintergrundfarbe */
}

/* Blog- und Promo-Container */
.blog-container, .blog-container-main, .promo {
  border: 0px solid var(--card-border-color);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 0 15px var(--blog-container-shadow-color);
}

.blog-container, .promo {
  background-color: var(--promo-blog-container-bg-color);
}

.blog-container-main {
  background-color: var(--blog-container-bg-color);
}

/* Blog-Content */
.blog-summary h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.blog-summary p {
  font-size: 1.2em;
  color: ##cd5c5c;
}

.blog-content {
  font-size: 1.1em;
  line-height: 1.8;
}

.promo h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.promo ul li {
  margin-bottom: 10px;
}

.promo ul li a {
  color: var(--promo-link-color);
}

/* Breadcrumbs */
.breadcrumb {
  background-color: var(--breadcrumb-bg-color) !important;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  border-radius: var(--border-radius);
}

.breadcrumb-item {
  color: var(--breadcrumb-inactive);
}

.breadcrumb-item.active {
  color: var(--breadcrumb-inactive) !important;
}

.breadcrumb-item a {
  color: var(--link-color) !important;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--link-color) !important;
  text-decoration: underline;
}

.breadcrumb-item.active a {
  color: var(--breadcrumb-inactive) !important;
}

/* Navigation - Desktop */
@media (min-width: 992px) {
  .navbar {
    height: 70px; /* Höhe der Navbar auf Desktop-Ansicht */
    padding-left: 15%; /* Abstand zum linken Rand (circa 15% vom Rand) */
    padding-right: 15%; /* Abstand zum rechten Rand (circa 15% vom Rand) */
  }

  .button-container {
    display: flex;
    align-items: center;
    margin-left: auto; /* Automatischer linker Abstand */
  }

  .nav-btn, .theme-toggle-btn, .search-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: 10px; /* Abstand zwischen den Buttons */
    padding: 0; /* Kein Innenabstand, um die Icons zentriert zu halten */
    text-decoration: none; /* Entfernt die Standard-Link-Unterstreichung */
  }

  .nav-btn svg, .theme-toggle-btn svg, .search-btn svg {
    width: 60%; /* Proportionale Größe der Icons */
    height: 60%; /* Proportionale Größe der Icons */
    fill: currentColor; /* Stellt sicher, dass die SVG die Textfarbe erbt */
    stroke: currentColor; /* Für Icons mit Pfaden (paths), die nicht vollständig gefüllt sind */
  }

  .nav-btn:hover, .theme-toggle-btn:hover, .search-btn:hover {
    background-color: var(--button-bg-hover-color);
    color: var(--button-text-hover-color);
  }

  .nav-btn.light, .theme-toggle-btn.light, .search-btn.light {
    background-color: var(--button-bg-light-color);
    color: var(--button-text-light-color);
  }

  .nav-btn.dark, .theme-toggle-btn.dark, .search-btn.dark {
    background-color: var(--button-bg-dark-color);
    color: var(--button-text-dark-color);
  }

  /* Container für die Buttons */
  .button-container {
    display: flex;
    align-items: center;
    flex-direction: row; /* Sicherstellen, dass die Buttons in einer Zeile bleiben */
  }
}

#progress-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 0; /* Startet bei 0% Breite */
  height: 4px;
  background-color: #007bff;
  z-index: 10000;
  transition: width 0.3s ease; /* Smooth transition */
}

.search-slide {
  display: none;
  position: fixed;
  width: 100%;
  max-width: 400px;
  background: var(--search-slide-bg-color);
  border: 1px solid var(--search-slide-border-color);
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 4px 8px var(--search-slide-shadow-color);
}

.search-slide.active {
  display: block;
  animation: .3s forwards slideInRight;
}

@keyframes slideInRight {
  from {
    right: -400px;
  }
  to {
    right: 10px;
  }
}

/* Nur auf mobilen Geräten anzeigen */
@media (max-width: 767px) {
  .navbar {
    height: 60px; /* Höhe der Navbar auf mobilen Geräten */
    padding-left: 5% !important; /* Abstand zum linken Rand (circa 3% vom Rand) */
    padding-right: 5% !important; /* Abstand zum rechten Rand (circa 3% vom Rand) */
  }

  .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px; /* Passe die Schriftgröße an */
    color: var(--header-footer-text-color) !important; /* Passe die Textfarbe an */
    transition: color 0.3s ease, transform 0.3s ease; /* Transition für Hover-Effekt */
  }

  .nav-btn, .theme-toggle-btn, .search-btn {
    width: 30px; /* Kleinere Größe auf mobilen Geräten */
    height: 30px; /* Kleinere Größe auf mobilen Geräten */
    margin-left: 5px; /* Weniger Abstand auf mobilen Geräten */
  }

  .nav-btn svg, .theme-toggle-btn svg, .search-btn svg {
    width: 60%; /* Proportionale Größe der Icons */
    height: 60%; /* Proportionale Größe der Icons */
  }

  .search-slide {
    top: auto; /* Entfernt die top-Position für mobile Auflösungen */
    bottom: 50px; /* Position am unteren Rand */
    left: 50%; /* Zentrieren */
    transform: translateX(-50%); /* Zentrieren */
    width: 90%; /* Maximale Breite 90% */
    animation: .3s forwards slideInRightMobile; /* Neue Animation für mobile Auflösungen */
  }

  .search-slide.active {
    display: block;
    animation: .3s forwards slideInRightMobile; /* Neue Animation für mobile Auflösungen */
  }

  @keyframes slideInRightMobile {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(-50%);
    }
  }
}

/* Scrollbar Styling */

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track-piece {
    background-color: #fff;
}
::-webkit-scrollbar-thumb {
    background-color: #cbcbcb;
    outline: #FFF solid 2px;
    outline-offset: -2px;
    border: .1px solid #b7b7b7;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #909090;
}

/* Kategorie Dropdown Styling */
.js-categories {
    display: none;
}

.no-js-categories {
    display: block;
}

/* Wenn JavaScript aktiviert ist */
.js-enabled .no-js-categories {
    display: none;
}

.js-enabled .js-categories {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    z-index: 1000;
    float: left;
    width: 100%; /* Set the dropdown menu to be 100% width */
    min-width: 100%; /* Ensure minimum width is also 100% */
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    color: #333;
    text-align: inherit;
    white-space: nowrap;
    background: 0 0;
    border: 0;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #16181b;
}

.dropdown {
    width: 100%; /* Ensure the dropdown button container is 100% width */
}

.dropdown-toggle {
    width: 100%; /* Ensure the dropdown button is 100% width */
    margin-bottom: 23px; /* Add margin-bottom for spacing */
}

/* Scroll behavior for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Main content styling */
main {
    position: relative;
}

/* Section padding */
section {
    padding-bottom: 5rem;
}

/* Footer styling */
footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 3rem;
}

/* Scroll to Top Button */
:root {
    scroll-behavior: smooth;
}

main {
    position: relative;
}

section {
    padding-bottom: 5rem;
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 3rem;
}

.scroll-top {
    position: absolute;
    top: 120vh;
    bottom: 2rem;
    right: 1rem;
}

.scroll-top__link {
    position: -webkit-sticky;
    position: sticky;
    top: 85vh;
    text-decoration: none !important; /* Entfernt die Unterstreichung */
    border-radius: .25rem;
    background-color: black;
    width: 30px; /* Feste Breite für quadratische Form */
    height: 30px; /* Feste Höhe für quadratische Form */
    display: flex; /* Flexbox für zentrierte Inhalte */
    align-items: center; /* Vertikal zentrieren */
    justify-content: center; /* Horizontal zentrieren */
    color: white;
    font-weight: 800;
    opacity: .6;
    transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Weiche Übergänge */
}

.scroll-top__link:hover {
    opacity: 1;
}

/* Entfernt die Unterstreichung nur für den Scroll-to-Top-Button */
.scroll-top__link, .scroll-top__link:hover {
    text-decoration: none !important;
}

/* Grundlayout der Share-Buttons */
.share-buttons {
    text-align: center;
}

.share-buttons p {
    font-weight: bold;
    margin-bottom: 10px;
}

.share-buttons .buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Allgemeines Share-Button-Design */
.share-buttons .buttons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

/* Farben und Icons */
.email-button {
    background-color: #007bff;
}

.email-button i {
    color: white;
}

.whatsapp-button {
    background-color: #25D366;
}

.whatsapp-button i {
    color: white;
}

.linkedin-button {
    background-color: #0077b5;
}

.linkedin-button i {
    color: white;
}

.twitter-button {
    background-color: #1DA1F2;
}

.twitter-button i {
    color: white;
}

.reddit-button {
    background-color: #FF5700;
}

.reddit-button i {
    color: white;
}

.telegram-button {
    background-color: #0088cc;
}

.telegram-button i {
    color: white;
}

/* Sichtbarkeit der Buttons steuern */
.hidden {
    display: none !important; /* Wichtig, um sicherzustellen, dass es Vorrang hat */
}

/* Reihenfolge der Buttons steuern */
.email-button {
    order: 1;
}

.whatsapp-button {
    order: 2;
}

.linkedin-button {
    order: 3;
}

.twitter-button {
    order: 4;
}

.reddit-button {
    order: 5;
}

.telegram-button {
    order: 6;
}
