/*
 * Globals
 */

/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}

/*
 * Base structure
 */

body {
  background-image: url(/img/background.jpg); /* Standardbild für Vollbild */
  background-size: cover;
  background-repeat: no-repeat;  
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 48em;
}

/*
 * Header
 */

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 10px; /* Kleiner Abstand vom linken Rand */
}

h3.float-md-start {
  margin-left: -100px; /* Verschiebt das h3-Element leicht nach links */
}

/* Responsive Anpassungen für das <h3>-Element */
@media (max-width: 768px) {
  h3.float-md-start {
    margin-left: 0; /* Entfernt die negative Marge auf kleinen Bildschirmen */
    text-align: center; /* Zentriert den Text auf kleineren Bildschirmen */
  }
  
    main.px-6.text-start h2 {
    font-size: 1.5rem; /* Kleinere Schriftgröße für das h2-Element */
  }

  main.px-6.text-start p.lead {
    font-size: 1rem; /* Kleinere Schriftgröße für die p-Elemente */
    line-height: 1.4; /* Anpassung der Zeilenhöhe für bessere Lesbarkeit */
  }

  /* Optional: Innenabstand für main-Element hinzufügen */
  main.px-6.text-start {
    padding-left: 15px;
    padding-right: 15px;
  }
  
   footer p {
    font-size: 0.875rem; /* Verkleinert die Schriftgröße leicht, etwa um 1px */
    line-height: 1.2; /* Optional: kompaktere Zeilenhöhe */
  }
  
  footer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.nav-masthead .nav-link {
  color: rgba(255, 255, 255, .5);
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .nav-link.active,
.nav-masthead .nav-link.active:focus,
.nav-masthead .nav-link.active:hover {
  color: #fff !important;
  border-bottom: .25rem solid #fff !important;
  text-shadow: none;
  background: none;
}

/* Responsive Anpassungen für Hintergrundbilder */
@media (max-width: 768px), (max-height: 768px) {
  body {
    background-image: url(/img/background_low.jpg); /* Kleinere Bildversion */
  }
}

@media (min-width: 769px) and (max-height: 1024px) {
  body {
    background-image: url(/img/background_mid.jpg); /* Mittlere Bildversion */
  }
}

/* Sicherstellen, dass das Standardbild im Vollbildmodus verwendet wird */
@media (min-width: 1025px) and (min-height: 769px) {
  body {
    background-image: url(/img/background.jpg); /* Standardbild für größere Bildschirme */
  }
}
