body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, black, #440000);
  background-attachment: fixed; /* Fixiert den Hintergrund */
  height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.menu-container {
  background-color: black;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.social-container {
  background-color: black;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: left;
  position: fixed;
  bottom: 0;
  border: none;
  width: 100%;
  height: 3px;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%; /* Setzt die Breite des Menüs auf 70% der Fensterbreite */
}

.menu a {
  color: yellow;
  text-decoration: none;
  font-size: clamp(7pt, 1vw, 15pt);
  font-family: 'Lucida Sans', sans-serif;
  font-style: italic;
  text-align: center;
  flex: 1; /* Jeder Menüeintrag nimmt den gleichen Platz ein */
  padding: 10px 0; /* Abstand oben und unten für besseren Touch */
  white-space: nowrap; /* Verhindert Zeilenumbruch innerhalb eines Menüpunktes */
}

.menu a:hover {
  background-color: yellow;
  border-radius: 25px;
  color: black;
  font-size: clamp(11pt, 1vw, 15pt);
  font-weight: bold;
}

.dropdown {
  position: relative;
  flex: 1; /* Dropdown nimmt den gleichen Platz wie andere Menüeinträge ein */
}

.dropbtn {
  color: yellow;
  text-decoration: none;
  font-size: 15pt;
  font-family: 'Lucida Sans', sans-serif;
  font-style: italic;
  padding: 10px;
  white-space: nowrap;
  display: block;
  text-align: center; /* Zentriert den Text des Dropdown-Buttons */
}

.dropbtn:hover {
  background-color: yellow;
  color: black;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 50%; /* Zentriert das Dropdown-Menü horizontal */
  transform: translateX(-50%); /* Verschiebt das Dropdown-Menü um die Hälfte seiner Breite nach links */
  background-color: #0b0c08;
  border-radius: 25px; /* Abrundung der Ecken */
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: yellow;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: clamp(7pt, 1vw, 15pt);
  font-family: 'Lucida Sans', sans-serif;
  font-style: italic;
  text-align: center; /* Zentriert den Text innerhalb des Dropdown-Menüs */
}

.dropdown-content a:hover {
  background-color: yellow;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%; /* Setzt die Breite des Menüs auf 70% der Fensterbreite */
}

.social a {
  color: whitesmoke;
  text-decoration: none;
  font-size: clamp(7pt, 1vw, 15pt);
  font-family: 'Lucida Sans', sans-serif;
  font-style: italic;
  text-align: center;
  flex: 1; /* Jeder Menüeintrag nimmt den gleichen Platz ein */
  padding: 10px 0; /* Abstand oben und unten für besseren Touch */
  white-space: nowrap; /* Verhindert Zeilenumbruch innerhalb eines Menüpunktes */
}

.social a:hover {
  color: yellow;
}

.content-frame {
  flex: 1;
  border: 5px;
  width: 100%;
}

.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* Höhe des Containers auf die volle Ansichtshöhe setzen */
  width: 100%;
}

.content {
  text-align: center; /* Zentriert den Text innerhalb des Containers */
  background-color: rgba(244, 244, 244, 0.5); /* Transparenter Hintergrund */
  padding: 20px;
  border-radius: 15px; /* Abrundung der Ecken */
  border: 3px solid rgba(0, 0, 0, 0.7); /* Schwarzer Rahmen mit 70% Deckkraft */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.menu-icon {
  display: none;
  font-size: 30px;
  color: yellow;
  cursor: pointer;
  position: absolute;
  left: 10px;
}

.footer-bar {
  background-color: black;
  color: gray;
  padding: 10px;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
}

.kontakt:hover {
  color: yellow;
}

.contacts-menu {
  position: absolute;
  bottom: 40px;
  left: 10px;
  width: 200px;
  background: gray;
  color: black;
  border: 0px solid #ccc;
  border-radius: 15px;
  padding: 10px;
  display: none;
  flex-direction: column;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.contacts-menu a {
  color: black;
  text-decoration: none;
  padding: 5px 0;
}

.contacts-menu a:hover {
  background-color: yellow;
}

.inhalt-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Setzt die Breite des Containers auf x% der Fensterbreite */
  height: clamp(20px, 100vh, 100vh); /* Setzt die Höhe des Containers auf x% der Fensterhöhe (mindesthöhe - prozent der fensterhöhe - maximalhöhe viewport */
}

.lesezeichen-container {
  display: grid;
  justify-content: center;
  align-items: center;
  width: 100%; /* Setzt die Breite des Containers auf x% der Fensterbreite */
  height: clamp(30px, 100vh, 100vh); /* Setzt die Höhe des Containers auf x% der Fensterhöhe (mindesthöhe - prozent der fensterhöhe - maximalhöhe viewport */
}

.recht-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Setzt die Breite des Containers auf x% der Fensterbreite */
  height: clamp(30px, 100vh, 100vh); /* Setzt die Höhe des Containers auf x% der Fensterhöhe (mindesthöhe - prozent der fensterhöhe - maximalhöhe viewport */
}

.inhalt-content {
  text-align: center; /* Zentriert den Text innerhalb des Containers */
  background: linear-gradient(to bottom, #440000, black);
  padding: 40px;
  width: 30%;
  height:40%;
  border-radius: 25px; /* Abrundung der Ecken */
  border: 5px solid rgba(1, 146, 95, 0.7); /* Rahmen mit 70% Deckkraft */ 
}

.logo {
  width: 150px;
  height: auto;
}

.inhalt {
  color: rgb(4, 140, 185);
  text-decoration: none ;
  font-size: clamp(15pt, 2vw, 40pt);
  font-family: 'Lucida Sans', sans-serif;
  font-style: italic;
  text-align: center;
  display: absolute;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.eintrag {
    color: rgb(4, 140, 185);
    text-decoration: none;
    font-size: clamp(7pt, 1vw + 1vh, 30pt);
    font-family: 'Lucida Sans', sans-serif;
    font-style: italic;
    text-align: center;
}

.eintrag:hover {
  color: rgb(225, 255, 2);
  text-decoration: none;
  font-size: clamp(7pt, 1vw + 1vh, 30pt);
  font-family: 'Lucida Sans', sans-serif;
  font-style: italic;
  text-align: center;
}

.recht-text {
  width: 80%; /* Die Breite des Textblocks ist 80% der Fensterbreite */
  padding-bottom: 200px;
  padding-top: 200px;
  text-align: justify; /* Blocksatz für den Text */
  font-family: 'Lucida Sans', sans-serif;
  font-size: clamp(15px, 1vw, 20px); /* Dynamische Schriftgröße abhängig von der Fensterbreite */
  color: whitesmoke;
  line-height: 1.6; /* Erhöhte Zeilenhöhe für bessere Lesbarkeit */
}

.lesezeichen a {
  width: 40%; /* Die Breite des Textblocks ist 40% der Fensterbreite */
  margin-top: 200px;
  margin-bottom: 500px;
  padding-bottom: 500px;
  text-align: center;
  text-decoration: none;
  font-family: 'Lucida Sans', sans-serif;
  font-size: clamp(20px, 0vw, 20px); /* Dynamische Schriftgröße abhängig von der Fensterbreite */
  color: whitesmoke;
  line-height: 1.6; /* Erhöhte Zeilenhöhe für bessere Lesbarkeit */
}

.lesezeichen a:hover {
  color: rgb(225,225,2);
  text-decoration: underline;
  font-size: clamp(20px, 0vw, 20px); /* Dynamische Schriftgröße abhängig von der Fensterbreite */
  font-family: 'Lucida Sans', sans-serif;
  text-align: center;
}


.fc-container {
  max-width: 100%; /* Container kann die volle Fensterbreite einnehmen */
  max-height: 350px; /* Container kann die volle Fensterhöhe einnehmen */
  display: flex;
  justify-content: center; /* Bild innerhalb des Containers zentrieren */
  align-items: center;
}

.fc-responsive-image {
  max-width: 70%; /* Bild passt sich der Fensterbreite an */
  max-height: 70%; /* Bild passt sich der Fensterhöhe an */
  height: auto; /* Bildhöhe bleibt proportional zur Breite */
  display: block;
}

/* Media Queries für kleinere Bildschirme */
@media screen and (max-width: 800px) {
  .menu {
      display: none;
      flex-direction: column;
      width: 100%;
      text-align: left;
      position: absolute;
      top: 50px;
      left: 0;
      background-color: rgb(27, 26, 26);
      padding: 20px;
  }

  .menu a {
      display: block;
      margin: 10px 0;
      padding: 10px;
      color: yellow;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      text-align: left;
      font-size: 20px;
  }

  .menu a:hover {
      background-color: yellow;
      color: black;
  }

  .menu-icon {
      display: block;
  }

  .dropdown-content {
      position: relative;
      left: 0;
      transform: none;
  }

  .dropdown-content a {
      padding-left: 20px;
  }

   .dropdown .dropbtn::after {
      content: '\25BC';
      float: right;
  }

  .dropdown .dropbtn {
      padding-right: 30px;
      display: block;
      width: 100%;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .logo {
    width: 50%;
    height: auto;
  }
}

@media screen and (max-height: 800px) {
  .logo {
      width: 40%;
      height: auto;
  }

  .recht-container {
    display: flexbox;
    justify-content: center;
    align-items: center;
    width: 100%; /* Setzt die Breite des Containers auf x% der Fensterbreite */
    height: clamp(30px, 80vh, 80vh); /* Setzt die Höhe des Containers auf x% der Fensterhöhe (mindesthöhe - prozent der fensterhöhe - maximalhöhe viewport */
  }

  .recht {
    width: 40%; /* Die Breite des Textblocks ist 40% der Fensterbreite */
    margin-top: 200px;
    margin-bottom: 500px;
    padding-bottom: 500px;
    text-align: center;
    text-decoration: none;
    font-family: 'Lucida Sans', sans-serif;
    font-size: clamp(20px, 0vw, 20px); /* Dynamische Schriftgröße abhängig von der Fensterbreite */
    color: whitesmoke;
    line-height: 1.6; /* Erhöhte Zeilenhöhe für bessere Lesbarkeit */
  }
}

p.termin {
  color:lightblue;
  font-family:Courier New, Lucida Sans, Verdana, Arial;
  font-size: clamp(7pt, 1vw, 15pt);
  margin: 0;
  line-height: 1.5;
}

p.pokal {
  color:rgb(40, 193, 40);
  font-family:Courier New, Lucida Sans, Verdana, Arial;
  font-size: clamp(7pt, 1vw, 15pt);
  margin: 0;
  line-height: 1.5;
}

p.termintest {
  color:#F9A757;
  font-family:Courier New, Lucida Sans, Verdana, Arial;
  font-size: clamp(7pt, 1vw, 15pt);
  margin: 0;
  line-height: 1.5;
}


a.team {
  text-decoration:none;
  color:yellow;
  font-family:Lucida Sans, Verdana, Arial;
  font-size: clamp(7pt, 1vw, 15pt);
}

a.team:hover {
  color:black;
  background-color:yellow;
  font-family:Lucida Sans,
  Verdana, Arial;
  font-size: clamp(7pt, 1vw, 15pt);
}

a.eintrag {
  text-decoration:none;
  color:lightblue;
  font-family:Lucida Sans, Verdana, Arial;
  font-size: clamp(7pt, 1vw, 15pt);
}

a.eintrag:hover {
  text-decoration:none;
  color:black;
  background-color:lightblue;
  font-family:Lucida Sans, Verdana, Arial;
  font-size: clamp(7pt, 1vw, 15pt);
}

/* CSS für den FC-Countdown - Anfang */
#count { /* Countdown-Zähler */
  font-size: 2.3em;
  font-style: italic;
  color: #77ff00;
  margin-top: 20px;
}
    
.info { /* Text "Countdown" ganz oben */
  font-size: 3.8em;
  font-variant: small-caps;
  font-style: italic;
  margin-top: 10px;
  color: yellow;
}

#event-details { /* Beschreibung des Events */
  font-size: 2.5em; /* Größere Schrift für die Details */
  color: #007BFF;
  margin-top: 20px;
}

#event-name { /* Anlass des Events */
  font-size: clamp(7pt, 1vw, 15pt);
  margin-top: 10px;
}

#event-date { /* Zeitpunkt des Events */
  font-size: clamp(7pt, 1vw, 15pt);
  color: lightblue;
  margin-top: 10px;
}

/* CSS für den FC-Countdown - Ende */


/* CSS für die Historie - Anfang */
.historie {
  border-collapse: collapse;
  color: lightblue;
  text-decoration: none;
  font-size: clamp(7pt, 1vw, 15pt);
  font-family:Courier New, Lucida Sans, Verdana, Arial;
  font-style: italic;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  width: 100%;
}

.historie th,
.historie td {
  border: 1px snow #ddd;
  padding: 3px;
}

.historie tr:hover {
  background-color: darkblue; /* Hintergrundfarbe der ganzen Zeile bei Hover */
}

.historie td:hover a:hover {
  color: rgb(225, 255, 2); /* Schriftfarbe bei Hover */
  text-decoration: none;
  font-size: clamp(7pt, 1vw, 15pt);
  font-family:Courier New, Lucida Sans, Verdana, Arial;
  font-style: bold;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
/* CSS für die Historie - Ende */

.termine tr:hover  {
  background-color: darkblue;
}

.flyover {
  display: none;
  position: absolute;
  bottom: 50px;
  left: 10px;
  background: #ccc;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.flyover a {
  display: block;
  padding: 5px 10px;
  color: black;
  text-decoration: none;
}

.flyover a:hover {
  background: #bbb;
}

.social-container {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: black;
  color: white;
  text-align: center;
  padding: 10px 0;
}

.social a {
  color: whitesmoke;
  text-decoration: none;
  text-align: left;
}

.social a:hover {
  color: yellow;
}

#contacts-button:hover {
  color: yellow;
  font-size: clamp(11pt, 1vw, 17pt);
  font-weight: bold;
}

#flyover-menu {
  display: none;
  position: fixed;
  bottom: 50px;
  margin-left: 100px;
  width: 150px;
  transform: translateX(-50%);
  background: #ccc;
  border-radius: 35px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.contacts-link {
  position: relative;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10vw; /* Dynamische Größe für Textbereich */
  height: 10vw;
  min-width: 30px; /* Mindestgröße, falls das Viewport sehr klein ist */
  min-height: 30px;
  max-width: 100px; /* Maximale Größe */
  max-height: 100px;
}

.termin:hover {
  color: rgb(225, 255, 2); /* Schriftfarbe bei Hover */
  background-color: darkblue;
  text-decoration: none;
  font-size: clamp(7pt, 1vw, 15pt);
  font-family: Courier New, Lucida Sans, Verdana, Arial;
  margin: 0;
}

.termin {
  font-family: Courier New, Lucida Sans, Verdana, Arial;
}

.countdown-column {
  width: 600px;
  text-align: right;
}

.countdown-block {
  display: inline-block;
  min-width: 110px;
  text-align: right;
  padding-right: 10px;
  font-family: system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

p.rubrik {
  color: whitesmoke;
  text-decoration: none;
  font-family: Courier New, Lucida Sans, Verdana, Arial;
  text-align: center;
}