@font-face {
    font-family: 'Expletus';
    src: url("../fonts/ExpletusSans-SemiBold.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'aspace';
    src: url("../fonts/aspace.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
  }

  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

  html, body {
  height: 100%;
}

   /* Grundlegendes Styling */
   body {
    font-family: Arial, sans-serif;
    background: #f0f2f5;
    margin: 0;
    padding: 20px;
  }

  p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;          /* Abstand zwischen den Zeilen */
    color: #333333;            /* Dunkelgraue Schriftfarbe */
    margin: 0 20px 15px 0;      
    letter-spacing: 0.3px;     /* Leicht erhöhter Zeichenabstand */
    text-align: justify;       /* Blocksatz für besseren Lesefluss */
}

/* Allgemeine Formatierung für Überschriften */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Expletus', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #333;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

/* Spezielle Formate je Ebene */h1 {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
}

h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
}

h3 {
  font-size: 1.75em;       /* ca. 28px */
}

h4 {
  font-size: 1.5em;        /* ca. 24px */
}

h5 {
  font-size: 1.25em;       /* ca. 20px */
}

h6 {
  font-size: 1em;          /* ca. 16px (Standardtextgröße) */
  font-style: italic;
  color: #555;
}


.textbox {
  font-family: Arial, Helvetica, sans-serif;
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  border-radius: 8px;
  background-color: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

.more-content {
  display: none;
  margin-top: 10px;
}

.read-more {
  color: #0066cc;
  cursor: pointer;
  text-decoration: underline;
  user-select: none;
}

.images {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

  .index-wrapper{
    background-image: url("../img/bg2.jpg");
    background-size: cover; /* Bild deckt gesamten Container ab */
    background-position: center; /* Zentriert das Bild */
    background-attachment: fixed;
  }

  body.home-wrapper{
    background-image: url("../img/bg3.jpg");
    background-size: cover; /* Bild deckt gesamten Container ab */
    background-position: center; /* Zentriert das Bild */
    background-attachment: fixed;     
  }

  .dashboard {    
    max-width: 1010px;
    margin: 0 auto;
    background-color: rgba(204, 221, 239, 0.8);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 20px;
  }
  
  .center{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }

  .info-box-no-border {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .info-box:last-child, .info-box-no-border:last-child {
    border-bottom: none;
  }
  .info-title {
    font-weight: bold;
    color: #555;
  }
  .info-value {
    font-size: 18px;
    color: #000;
  }
  .date {
    font-size: 14px;
    color: #888;
  }

  .image_small {
    width: 20vw;
  }

/* Login-Container */
.login-container {
  width: 100%;
  max-width: 400px;
  margin: 50px auto;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: center;
}

/* Login-Überschrift */
.login-container h2 {
  font-family: 'Expletus', Arial, sans-serif;
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

/* Eingabefelder */
.login-container input[type="text"],
.login-container input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

/* Login-Button */
button, .login-container button {
  width: 100%;
  background: #0056b3;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button, .login-container button:hover {
  background: #ccddef;
  color: #0056b3;
}

/* Link für Passwort vergessen */
.login-container .forgot-password {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}

.login-container .forgot-password:hover {
  text-decoration: underline;
}

#google_translate_element{
  float:right;
}

.goog-te-combo {
  background-color: #ccddef;
}

table {
  border-collapse: collapse;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
}

th, td {
  padding: 12px 15px;
  text-align: left;
}

th {
  background-color: #0056b3;
  color: #ffffff;
}

tbody tr:nth-child(even) {
  background-color: #f3f4f6;
}

tbody tr:hover {
  background-color: #e2e8f0;
}

ul {
  max-width: 500px;
  line-height: 1.6;
  padding-left: 20px;
}

/* Footer-Styling */
.site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3rem;           /* Höhe des Footers */
  line-height: 3rem;      /* Vertikale Zentrierung des Texts */
  background-color: #333; /* Hintergrundfarbe */
  color: #fff;            /* Textfarbe */
  text-align: center;     /* Zentriert den Text horizontal */
  font-size: 1rem;        /* Basis-Schriftgröße */
}

/* Responsive Design */
@media (max-width: 480px) {
  .logo img, .images img{
      width: 90%;
      /*margin: 0 5px;*/
  }

  .login-container {
      width: 90%;
  }
  .site-footer {
    height: 1.5rem;
    line-height: 1.5rem;
    font-size: 0.625rem;
    padding: 0 0.25rem;    /* etwas Innenabstand links/rechts */
  }
}

  /* Für kleine Bildschirme */
  @media (max-width: 600px) {
    .info-box {
      flex-direction: column;
      align-items: flex-start;      
    }
    .date {
      margin-top: 5px;
    }
    p {
      font-size: 14px;
      line-height: 1.4;
      margin-bottom: 10px;
      text-align: left; /* Linksbündig auf Mobilgeräten für bessere Lesbarkeit */
    }
    table {
      width: 100%;
    }
    th, td {
      padding: 10px;
    }
    ul {
      padding-left: 15px;
    }
    .site-footer {
    height: 2.0rem;
    line-height: 2.0rem;
    font-size: 0.7rem;
    padding: 0 0.25rem;    /* etwas Innenabstand links/rechts */
  }
  }

  @media screen and (max-width: 1024px) {
    p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
}