
:root{

    --background-color: #f30000;
    
    --darker-background-color: #6d0e0e;
    
    --accent-color: #bd4242;
    
    --text-color: #FFFFFF;
    
    --navbar-height: 90px;
    z-index: 2;
    }
    
    *{
    
    margin: 0;
    
    padding: 0;
    
    font-size: 22px;
    
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    color: var(--text-color);
    
    }
    
    .logo {
    
      max-width: 80%;
    }
    
    nav{
    position: fixed; /* Navbar position fixed */
    top: 0; /* Navbar fixed at the top of the page */
    width: 100%; /* Full width */
    height: var(--navbar-height);
    
    background-color: var(--background-color);
    
    display: flex;
    
    justify-content: space-between;
    
    align-items: center;
    z-index: 2;
    
    }
    
    nav .logo{
    
    margin-left: 30px;
    
    font-family: Arial, Helvetica, sans-serif;
    
    font-size: 35px;
    
    font-variant: small-caps;
    
    text-decoration: none;
    z-index: 2;
    }
    
    .logo{
     text-align: left;
    }
    
    nav ul{
    text-align: right;
    height: 100%;
    
    display: flex;
    
    flex-direction: row;
    
    justify-content: flex-end;
    
    align-items: center;
    
    list-style: none;
    z-index: 2;
    
    }
    
    nav li{
    
    height: 100%;
    
    width: 150px;
    
    text-align: center;
    
    position: relative;
    z-index: 2;
    
    }
    
    nav li:hover{
    
    background: var(--accent-color);
    z-index: 2;
    }
    
    nav ul a{
    
    height: 100%;
    
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 2;
    }
    
    .dropdown{
    height: min-content;
    width: 200px;
    background: var(--background-color);
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: var(--navbar-height);   
    z-index: 2;
    }
    
    .dropdown li{
    height: 70px;
    width: 100%;
    }
    
    .dropdown li a{
    justify-content: flex-start;
    padding-left: 30px;
    width: calc(100% - 30px);
    z-index: 2;
    }
    
    nav li:hover .dropdown{
    display: flex;
    z-index: 2;
    }
    
    nav input[type="checkbox"]{
    display: none;
    z-index: 2;
    }
    
    .expandable_li{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    }
    
    .toggle_button{
    
    width: 30px;
    height: 23px;
    position: absolute;
    top: 25px;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    }
    
    .bar{
    
    height: 4px;
    
    width: 100%;
    
    background: var(--text-color);
    
    border-radius: 100px;
     z-index: 2;
    
    }
    
    @media(max-width: 850px){
    
    .toggle_button{
    
      display: flex;
    
    }
    
    nav ul{
    
      height: min-content;
    
      width: 100%;
    
      background-color: var(--background-color);
    
    
    
      display: none;
    
      position: absolute;
    
      top: var(--navbar-height);
    
    }
    
    nav li{
    
      height: min-content;
    
      width: 100%;
    
    }
    
    nav ul a{
    
      padding: 30px 0;
    
    }
    
    .expandable_li{
    
      display: block;
    
    }
    
    .expandable_li label{
    
      padding: 30px 0;
    
      cursor: pointer;
    
      display: block;
    
    }
    
    .expandable_li:hover .dropdown{
    
      display: none;
    
    }
    
    .expandable_li input[type="checkbox"]:checked ~ .dropdown{
    
      display: block;
    
    }
    
    .dropdown{
    
      position: static;
    
      width: 100%;
    
    }
    
    .dropdown li{
    
      padding: 0;
    
      display: block;
    
      position: static;
    
      background: var(--darker-background-color);
    
    
    
    }
    
    .dropdown li a{
    
      width: 100%;
    
      padding: 0;
    
      justify-content: center;
    
    }
    
    #toggle_button:checked ~ ul{
    
      display: block;
    
    }
   
    
  }

.container {
  display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-top: var(--navbar-height); /* Add margin-top to push the container below the fixed navbar */
    position: relative; /* Add position relative */
    z-index: 1; /* Ensure container is behind the fixed navbar */
}


.wappen-container {
  flex-basis: 100px; /* Breite der Wappen-Container */
  padding-left: 200px;
  padding-right: 200px;
}

.welcome {
  padding: 20px 0; /* Oben und unten Padding für den Textcontainer */
  max-width: 100%; /* Maximale Breite des Text-Containers */
  color: red;
  font-size: 40px; 
  text-align: center;
}



/* Wappen-Bild */
.wappen {
  width: 100%; /* Wappen auf volle Breite des Containers skalieren */
  height: auto;
}

/* Rote Linie */
.red-line {
  border: 5px solid #ff0000;
  margin: 5px 0px;
  margin-bottom: 2%;
  width: 100%;
}

@media screen and (min-width: 350px ),(max-width: 787px){
  .wappen {
    max-width: 150px; /* Breite des Wappen-Bildes für größere Bildschirme erhöhen */
  
  }
  .welcome-box {
    color: red;
    font-size: 30px; 
    text-align: center;
  }
  .container {
    display: flex;
    padding: 20px;
  }
  .wappen-container {
    flex-basis: 100px; /* Breite der Wappen-Container */
    padding:20px;

  }

}

@media screen and (min-width: 768px ){
  .wappen {
    max-width: 100px; /* Breite des Wappen-Bildes für größere Bildschirme erhöhen */
  
  }
  .welcome-box {
    color: red;
    font-size: 30px; 
    text-align: center;
  }
  .container {
    display: flex;
  }
}



    /* Stil für den Footer */
    footer {
      background-color: red;
      padding: 20px;
      text-align: center;
      color: white;
      position: fixed; /* Fußzeile fixieren */
      bottom: 0; /* Am unteren Rand der Seite positionieren */
      width: 100%; /* Volle Breite */
      z-index: 2;
      height: 15px;
  }

  /* Stil für die Icons */
  footer img {
      width: 40px;
      margin: 0 10px; /* Abstand zwischen den Icons */
  }

  /* Media Query für Mobilgeräte */
  @media only screen and (max-width: 600px) {
      footer img {
          width: 30px; /* Kleinere Icon-Größe für Mobilgeräte */
      }
      footer{
        padding: 10px;
        width: 100%;
        text-align: center;
        height: 10px;
      }
  }