@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

body {
  font-family: "Source Sans 3", sans-serif;
  color: black;
  background-color: white;
  text-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.cover-container {
  position: relative;
  background-image: url('images/backgroundimg2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  height: 100vh; /* Höhe basierend auf dem Viewport */
  width: 100%; /* Volle Breite */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px; /* Mindesthöhe */
}

#cover-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
  margin-top: 180px;
}

#cover-texth1 {
    font-size: 90px;
    font-weight: bolder;
    margin-top: -50px;
}

.lead {
    font-weight: bolder;
    color: #cecece;
    text-shadow: 0px 0px 10px black;
    font-size: 1.5rem;
}

@media (max-height: 730px) {
  #cover-texth1 {
    font-size: 50px;
  }

  .lead {
    font-size: 1rem;
  }

  .cover-container {
    padding: 1rem;
    min-height: 300px;
  }
}

.navbar {
  background-color: white;
  padding: 1rem;
}

.navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.7);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: black;
  border-bottom: 2px solid black;
}

footer {
  color: rgb(0, 0, 0);
  padding-top: 10px;
}

footer a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

footer a:hover {
  color: rgb(0, 0, 0);
}

h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

p.lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn-custom {
  background-color: white;
  color: #333;
  font-weight: bold;
  border: 2px solid #fff;
  padding: 10px 20px;
}

.btn-custom2 {
    background-color: white;
    color: #333;
    font-weight: bold;
    border: 2px solid #fd0f0f;
    padding: 10px 20px;
    width: 100%;
}

.main-content {
  background-color: white;
  color: black;
  padding: 2rem;
}

.impressum {
  margin-left: 70px;
  color: rgb(0, 0, 0);
}

.impressum:hover {
  color: rgb(255, 0, 0);
}

i {
  color: black;
}

i:hover {
  color: red;
}

/* Media Queries für kleinere Bildschirme */
@media (max-width: 768px) {
  #cover-texth1 {
    font-size: 50px;
  }

  .lead {
    font-size: 1rem;
  }

  .cover-container {
    padding: 1rem;
  }

  .navbar-nav {
    flex-direction: column;
    text-align: center;
  }

  .card {
    margin-bottom: 1rem;
  }
}

/* Anpassungen für sehr kleine Bildschirme mit max. Breite von 576px */
@media (max-width: 576px) {
  #cover-text {
    margin-top: 0px;
  }

  #cover-texth1 {
    font-size: 39px;
  }

  .lead {
    font-size: 9px !important;
    font-weight: bolder;
    color: #cecece;
    text-shadow: 0px 0px 10px black;
    margin-top: 160px;
  }

  .card {
    width: 100%;
  }

  .siteselection {
    flex-direction: column;
  }
}

@media (min-width: 1200px) {
  .cover-container {
    padding: 2rem;
    margin: auto;
  }

  #cover-text {
    margin-bottom: 50px;
  }

  #cover-texth1 {
    font-size: 70px;
  }

  .lead {
    font-size: 1.5rem;
  }
}
