html,
body {   
    margin: 0;
    padding: 0;
    height: 100%;
    color: #cbcbcb;
}

body {
    background-color: #232323;    
    display: flex;
    flex-direction: column;
}
body.playground {   
    background: url('/assets/images/layout/green_table_d_tile.jpg') repeat center center fixed;
    background-size: auto;
}
body.darkmode {   
    
    
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    color: #cbcbcb;
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.65);
}

footer a,
nav a {
    text-decoration: none;

}
footer .nav-link {
    font-size: 1.1rem;

}

main input,
main label {
    color: #000000;

}

.linkA {
    padding: 10px 14px !important;
    white-space: nowrap;
}

.linkA:hover {
    color: #cbcbcb;
    background-color: #181818;
    border-radius: 4px;
}

footer a:hover,
nav a:hover {
    text-decoration: none;
    color: #ffffff;
   
}

.navbar-transp {
    background-color: rgb(37 37 37 / 71%) !important;
    border-bottom: 1px solid #181818;
    border-top: 1px solid  #373737;
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.65);

}

.navbar-brand img {
    margin-right: 10px;
    position: absolute;
    top: 20px;
    width: 163px;
    /* Animation */
    transition: width 0.5s ease, top 0.5s ease;
    z-index: 5000;
}

.navbar-toggler-icon {
    background-image: none !important; /* Standard-Icon weg */
    width: 1.8em;
    height: 1.8em;
    display: inline-block;
    position: relative;  
    top: 1px;
    left: -24px;
    font-size: 1.8em;    
  }
  
  /* Balken-Symbol => 3 horizontale Striche */
  .navbar-toggler.collapsed .navbar-toggler-icon::before {
    content: "\2630"; /* Unicode für ☰ Symbol (Hamburger) */
    font-size: 1.5em;
    position: absolute;
    
  }
  
  /* X-Symbol => \00d7 = × */
  .navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    content: "\00d7"; /* Unicode "×" */
    font-size: 2em;
    position: absolute;
    top: -14px; 
  }
  

.appVersion {
    margin-right: 13px;
    text-align: right;
    color: #558f8f;
}

#navOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1040;
    display: none;
}

.form-control {
    height: 65px !important;
    font-size: 1.7rem;
    border: 1px solid #4c4c4c;
    border-radius: 10px;
    padding-bottom: 15px;
    background-color: #dddddd;
}

.form-floating>label {
    line-height: 22px;
    font-weight: 100;
    font-size: 1.2rem;

}

.form-floating>label::after {
    background-color: transparent !important;
}


.BtnCustom1 {
    font-size: 1.5rem;
    width: 85% !important;   
    overflow: hidden;
}

.is-invalid {
    /* z.B. einen dickeren Rand */
    border-width: 3px !important;
}
  

.password-floating {
    position: relative; /* Damit Stern und Button absolut positioniert werden können */    
  }
  
 
.mandatory-star {
    position: absolute;
    right: -1.2rem; /* Achte auf genug Abstand */
    top: 20px;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 2.0em;
    color: #ffffff;
    white-space: nowrap; 
    z-index: 3;
    cursor: help; /* Zeigt an, dass hier eine Info verfügbar ist */
}
  
.toggle-password {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    border: 0px solid #4c4c4c;  
    padding: 0;
    z-index: 1;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0 7px 7px 0;
    width: 40px;
    height: 91%;
    background-color: #747474;
}
#toggleIcon {
    color: #eaeaea;
    font-size: large;

}
  .toggle-password:hover {
    color: #0d6efd;
  }
  
  /* Damit das Input-Feld Platz für Stern und Button hat */
  .password-floating .form-control {
    padding-right: 5rem; 
  }
  
  /* Checkbox-Anpassungen */
  .form-check-input.bigCheckbox {
    width: 2rem;
    height: 2rem;
  }
  
  .form-check-label {
    display: flex;
    align-items: center;
  }

#registerForm .form-floating {
    width: 96%;;
}
.bigCheckbox {
    width: 2rem;
    height: 2rem;

}
.tooltip1 {
   font-size: larger;
   
}
.inputNotRequired {
    background-color: #959595;
}
.nav-item>a {
 font-size: 1.5rem;
}
.navbar-toggler-icon {
  width: 1.8em;
  height: 1.8em;
}
form.settings {
 background-color: #0a0a0a87;
 color: #d1d1d1;
 border-radius: 60px;
 border: 3px solid #a9a9a91c; 
 min-width:fit-content;
}
form.settings label {
     color: unset;
 
}

.form-switch.form-switch-lg .form-check-input {
    width: 3em; 
    height: 1.5em;
    transform: scale(1.5);
    /* passender margin, etc. */
}
.btn-group label {
    text-align-last:center;
}
.containerSettings {
  margin: 0;
}
.form-check-input:checked {
    background-color:#198754;
    border-color: #198754;
}
.form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgb(29 158 55 / 20%);
}

.table-limited {
    max-width: 800px; /* Maximale Breite für große Bildschirme */
    margin-left: auto;
    margin-right: auto;
    color: #cbcbcb;
}

.container_faq {
    background-color: #393939bd;
    border-radius: 3rem;
}
.container_agb {
    background-color: #a1a1a1e8;
    color: #000;
    border-radius: 3rem;
}
.privacy_title {
    font-size: 24px;
    margin-bottom: 20px;
}
.privacy_section1 {
    font-size: larger;
    font-weight: bold;
    margin-top: 8px;
}
.privacy_section2 {
    padding-left: 1.6em;
}
.privacy_section3 {
    margin-left: 22px;
    font-weight: bold;
    padding: 14px 0 4px 0;
}
.privacy_section_list {
    padding-left: 2.4em;
    text-indent: -1em;
}

@media (max-width: 576px) {
    .BtnCustom1 {
        width: 100% !important;
    }

    footer .list-inline {
        display: block;     /* Liste blockartig */
        text-align: center; /* Zentrieren */
        margin: 0;
        padding: 0;
    }
    footer .list-inline-item {
        display: block;   /* Jeder Link untereinander */
        margin: 0.5rem 0; /* Kleiner Abstand zwischen den Links */
    }
    footer div[style="text-align:right;"] {
        text-align: center !important; /* Überschreibt dein inline-style */
    }
    form.settings {        
        text-align-last:left;
        padding: 0 10px;    
    }
    .containerSettings {
        margin: 0 50px;
    }

}

@media (min-width: 769px) {
    .navbar-nav .nav-item {
        width: 50%;
        margin: 0 auto;
        text-align: center;
        
    }
}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        text-align: center;
        color: #ccc !important;
        font-size: 1.5rem;
        margin: 0.5rem 0;
        background-color: #343a40;
        border-radius: 10px;
    }

    .navbar-nav .nav-link:hover {
        background-color: #575757;
    }

    .navbar-brand img {
        width: 113px;
        top: 8px;
    }


    .overlay-collapse {
        position: absolute; /* oder fixed */
        top: 100%;          /* direkt unter der Navbar */
        left: 0;
        width: 100%;
        background-color: rgb(37 37 37 / 95%); /* optional, leichte Transparenz */
        z-index: 3000; /* damit es wirklich vor allem anderen liegt */
        /* evtl. etwas Padding */
        padding: 1rem 0;
        padding-bottom: 54px;
      }
      
      /* Damit das Menü beim Schließen wieder verschwindet */
      .navbar-collapse.collapse:not(.show) {
        display: none !important;  /* Verhindert, dass Bootstrap's collapse 
                                      uns "block" oder "none" verhunzt. */
      }
      
      /* Wenn .show, also offen, => display block (o. flex) */
      .navbar-collapse.show.overlay-collapse {
        display: block !important; 
      }

      form.settings {        
        border-radius: 0px;      
       }

}

@media (min-width: 2000px) {


}
@media (max-width: 768px) {
    .table-limited {
      max-width: 100%; /* Bei kleinen Bildschirmen volle Breite */
    }
}
@media (max-width: 380px) {
    .containerSettings {
        margin: 0 10px;
    }
}

@font-face {
    font-family: 'bootstrap-icons';
    src: url("./fonts/bootstrap-icons.woff2") format('woff2'),
         url("./fonts/bootstrap-icons.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}