.myblank {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.header {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    padding:0.5rem;
    border-bottom: 3px solid #ddd;
}

.logo-container {
    margin: 0rem 2rem 0rem 1rem;
}

.img {
    height: 80px;
}

.kontakt-text {
    color: #333;
    line-height: 1; /* Ändere den Wert nach Bedarf, um den Zeilenabstand zu verringern */
}

.kontakt-text h2 {
    font-size: 20px; /* Ändere die Schriftgröße nach Bedarf */
    margin-bottom: 8px; /* Optional: Ändere den Abstand unter dem h2-Element */
}

.kontakt-text a {
    display: block; /* Die Links als Block-Elemente anzeigen, um den Abstand zwischen ihnen zu verringern */
    margin-bottom: 8px; /* Optional: Ändere den Abstand zwischen den Links */
    text-decoration: none; /* Entferne die standardmäßige Unterstreichung der Links */
    color: #333;
}

.kontakt-text a:hover {
    text-decoration: underline; /* Unterstreichung hinzufügen, wenn der Link hover ist */
}

.kontakt-container {
    display: flex;
    align-items: center;
    margin-right: 10px;
    margin-left: auto;
}

.kontakt_bild {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover; /* Damit das Bild im Kreis bleibt */
    margin-right: 20px;
}

.kontakt-text {
    color: #333;
}

.vermittler-container {
    display: flex;
    margin-left: 10px;
}

.vermittler-container h2 {
    font-size: 20px; /* Ändere die Schriftgröße nach Bedarf */
    margin-bottom: 10px; /* Optional: Ändere den Abstand unter dem h2-Element */
    line-height: 1.5;
}

/* Header-Stile für Mobilgeräte */
@media (max-width: 767px) {
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
        border-bottom: 3px solid #ddd;
    }

    .logo-container {
        width: 90%;
        text-align: center;
        padding-top: 10px;
    }

    .img {
        max-width: 100%;
        height: auto;
    }

    .kontakt-container {
        display: flex;
        align-items: center;
        text-align: center;
        margin: auto;
    }

    .kontakt_bild {
        width: 40px; /* Reduziere die Breite des Kontaktbilds */
        height: 40px; /* Optional: Setze die Höhe des Kontaktbilds */
        border-radius: 50%;
        object-fit: cover;
        margin-right: 10px;
    }

    .kontakt-text h2 {
        font-size: 18px; /* Reduziere die Schriftgröße von h2 */
        margin-bottom: 0; /* Entferne den Abstand nach unten */
    }
    
    .vermittler-container h2 {
        font-size: 18px;
        margin-top: 0;
    }

    .vermittler-container br {
        display: none;
    }

    .vermittler-container {
        margin: 0;
        margin-top: 2px;
    }

    h1 {
        font-size: 28px; /* Ändern Sie die Schriftgröße nach Bedarf */
    }

    .kontakt-text {
        color: #333;
    }

    .kontakt-text a {
        text-decoration: none;
        color: #333;
        margin-bottom: 8px;
    }

    .kontakt-text a:hover {
        text-decoration: underline;
    }

    .inhalt {
        width: 100%;
    }

    .inhalt {
        width: 760px;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-around; /* Achten Sie darauf, dass space-around nicht doppelt angegeben wird */
        box-sizing: border-box;
        position: relative;
    }
    

    .inhaltElement {
        width: 70%;
    }
}

/* Media Query für größere Bildschirme (ab 768px) */
@media (min-width: 768px) {
   
   .inhaltElement {
        flex-basis: 48%;
   }
    
}

/* Style for the logo text */
.logo-text {
    display: flex;
    align-items: center;


}

.logo-heading {
    font-size: 50px;
    margin-left: 10px;
    color: #333;
    font-family: 'Oswald', sans-serif;
    font-weight: bolder;
}


.topText {
    margin-bottom: -2rem;
    margin-top: 1rem;
}

#c-container{
    text-align: center;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
    
}

label {
    display: block;
    margin-bottom: 5px;
}

.options {
    display: flex;
    flex-wrap: wrap; /* Ermöglicht das Umbruch auf eine neue Zeile */
    gap: 10px;
    justify-content: space-between; /* Platz zwischen den Elementen gleichmäßig verteilen */
    width: 760px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.options input[type="radio"],
.options input[type="checkbox"] {
    display: none;
    
}

.options input[type="radio"]:checked + label {
    background-color: #033E73; /* Hervorhebungsfarbe für ausgewählte Option */
    color: white;
}

.options label:hover {
    background-color: #033E73; /* Hintergrundfarbe beim Hovern */
    color: #033E73;;
}

.options label {
    padding: 8px;
    cursor: pointer;
    border: 1px solid #033E73;
    border-radius: 0.3rem;
    padding: 1rem;
    font-size: 1.5rem;
    line-height: 2;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    flex-basis: 48%; /* Jedes Element soll 40% der Breite einnehmen */
    box-sizing: border-box;
}

.options label:hover {
    background-color: #f0f0f0;
}

select, button {
    padding: 10px;
    font-size: 16px;
    margin-top: 5px;
    border: 1px solid #ccc;
    background-color: white;
}

.max100width {
    width: 100%;
}

.checkSubmitContainer {
    width: 100%;
    border: 1px solid #2f2f31;  /* Set the border color and style */
    border-radius: 2px;
    box-sizing: border-box;  /* Include border and padding in the width calculation */
}

select {
    border: 1px solid #033E73;
    border-radius: 0.6rem;
    padding: 1rem;
    font-size: 1.5rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%;
}

button {
    background-color: #033E73;
    color: white;
    border: none;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    flex-basis: 100%;
}

button:hover {
    background-color: #033E73;
}

/*.divButtons {
    position: fixed;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 25px; 
    align-items: center;
    justify-content: center;
}*/

.divButtons {
    width: 100%;
}

div[class^="seite"] {
    width: 100%;
    height: 100%; /* 100% der Viewport-Höhe */
    min-height: 85vh;
    margin: 0;
    padding: 20px; /* optional: Fügen Sie Padding hinzu, um Abstand vom Rand zu schaffen */
}

.seite2,
.seite3,
.seite4,
.seite5,
.seite6,
.seite7,
.seite8,
.seite9,
.seite10,
.seite11,
.seite12,
.seite13,
.seite14,
.seite15,
.seite16,
.seite17,
.seite18,
.seite19,
.seite20,
.seite21,
.seite22,
.seite23,
.seite24,
.seite25,
.seite26,
.seite27,
.seite28,
.seite29,
.seite30 {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Oder eine feste Höhe, je nach Bedarf */
}

.seite1 {
    display: block;
}

#KreditGroup, #DarlehenGroup {
    display: flex;
    align-items: flex-start;
  }
  
  #DarlehenGroup .flexDarlehenField:last-child, #KreditGroup .flexKreditField:last-child {
    margin-right: 0;
  }

  .flexKreditField, .flexDarlehenField {
    margin: 10px;
  }

  .flexKreditGroup {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Zentrierung der Kredite */
}

.flexKreditField {
    margin: 5px; /* Abstand zwischen den Kreditfeldern */
}
  
  .s20-1, .s29-1 {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }
  
  .ButtonAddDarlehen{
      display: flex;
      gap: 1rem;
      align-items: center;
      margin-top: 1rem;
      flex-direction: column;
      justify-content: center;
  }
  
  .ButtonAddDarlehenStyle, .ButtonRemoveDarlehenStyle{
      border: none;
      background-color: #2f2f31;
      padding: 1rem 1.6rem 1rem 1.6rem;
      font-size: 1.5rem;
      font-weight: 700;
      text-align: center;
      text-decoration: none;
      border-radius: 0.7rem;
      cursor: pointer;
      transition: background-color 0.3s;
      color: #ffffff;
      margin-right: 1rem;
      width: 45px;
      height: 45px;
  }
  
  .radioAndRemoveContainer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
  }
  
  .radioCheck {
      display: flex;
      align-items: center;
  }
  
  .ButtonRemoveDarlehen {
      background-color: #ff0000;
      color: #000000;
      border-radius: 50%;
      padding: 5px;
      cursor: pointer;
      font-weight: bolder;
  
  }

  .inputField {
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    padding: 1rem;
    font-size: 1.5rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%;
  }

  .inhalt {
    width: 760px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    box-sizing: border-box;
    justify-content: space-around;
    position: relative;
    
  }

  .inputFieldSingle {
    border: 1px solid #033E73;
    border-radius: 0.6rem;
    padding: 1rem;
    font-size: 1.5rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }

  label, select, input {
    width: 100%;
}

label {
    flex-basis: 100%;
}

.select-container,
.input-container {
    flex-basis: calc(50% - 5px); /* Breite auf 50% minus den Abstand (gap) */
}

.inhaltElement100 {
    flex-basis: 70%;
    padding: 0 auto;
}

.input[type="checkbox"] {
    /* Hier können Sie gemeinsame Stile für inputFieldSingle und Checkbox hinzufügen */
    /* Zum Beispiel: */
    padding: 8px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Zusätzliche Stile speziell für die Checkbox */
input[type="checkbox"] {
    width: 16px; /* Passen Sie die Breite nach Bedarf an */
    height: 16px; /* Passen Sie die Höhe nach Bedarf an */
}

/* SUCESS PAGE --------------------------------------------------- */

.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 75vh;
}

.checkmark-img {
    width: 50px;
    height: 50px;
}

.success-text {
    text-align: center;
    color: #333;
}

.success-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.success-text p {
    font-size: 16px;
}

#hinweisbox1, #hinweisbox2, #hinweisbox3, #hinweisbox4, #hinweisbox5, #hinweisbox6, #hinweisbox7, #hinweisbox8, #hinweisbox9, 
#hinweisbox10, #hinweisbox11, #hinweisbox12, #hinweisbox13, #hinweisbox14, #hinweisbox15 {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    display: none;  /* Verstecke die Hinweisbox standardmäßig */
}

.footer {
    display: flex;
    flex-direction: column; /* Links und Text in Spalten anordnen */
    justify-content: center; /* Zentrieren des Inhalts */
    align-items: center;
    padding: 1.5rem 0; /* Größerer Abstand nach oben und unten */
    border-top: 3px solid #ddd;
    text-align: center; /* Text zentrieren */
}

.footer a {
    font-size: 1.2em; /* Gleiche Schriftgröße wie <p> */
    margin: 0.5rem; /* Kleiner Abstand zwischen den Links */
}
