@font-face {
    font-display: swap; 
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/poppins-v20-latin-regular.woff2') format('woff2');
}

:root {
    --grau: #9db2b4;
    --pink: #ff948f;
    --blau: #0083a9;
    --dunkelblau: #134e8a;
    --hellblau: #afd4ea;
    --dunkelgrau: #002638;
    --schrift: #002638;
    --btn-bg: #0b5ed7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Poppins', sans-serif;
    font-size: 17.6px;
    color: var(--schrift);
}

#header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: var(--schrift);
    padding: 3px;
}

.dropbtn {
    font-size: 13px;
    border: none;
    min-width: 125px;;
  }
  
.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    z-index: 1;
}
  
.dropdown-content a {
    color: var(--schrift);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
  
.dropdown-content a:hover {
    background-color: #ddd;
}
  
.dropdown:hover .dropdown-content {
    display: block;
}

.mainframe {
    padding: 12px 36px;
    z-index: 1;
}

.box-button-weiterleitung {
    padding: 5px;
    text-align: center;
}

.button-popup {
    cursor: pointer;
    background-color: var(--btn-bg);
    font-size: 16px;
    width: 210px;
    color: #fff;
    border-radius: 6px;
    border: none;
    padding: 0.75rem;
    margin: 2px;
    text-align: center;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.button-popup:hover {
    background-color: var(--dunkelblau);
}

#status {
    background-color: var(--blau);
    color: #FFF;
    font-size: 13px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topnav {
    overflow: hidden;
    background-color: #333;
    position: relative;
}
  
#myLinks {
    display: none;
    right: 0;
    position: absolute;
    background-color: #f1f1f1;
    z-index: 9999;
    
}

#myLinks a {
    color: var(--schrift);    
    text-decoration: none;
    display: block;
    padding: 12px 16px;
}
  
.topnav a {
    color: white;
    text-decoration: none;
    display: block;
}
  
.topnav a.icon {
    display: block;
    margin-right: 4px;
}
  
.topnav a:hover {
    color: var(--dunkelgrau);
}

.icon {
    display: block;
}

.icon i {
    font-size: 1.5em;
}

.farbauswahl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.farbauswahl input[type="radio"], .png-container input[type="radio"], .standort-auswahl input[type="radio"] {
    transform: scale(1.2);
}

.farbschema, .png-container {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid lightgrey;
    width: 150px;
    margin: 6px;
}

.farben {    
    display: flex;
    height: 50px;
}

.farbwert {
    width: 74px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bild {
    width: 400px;
    float: right;
    display: block;
    margin: 5px;
}

.standort-auswahl {
    background-color: lightgrey;
    width: 320px;
    height: 60px;
    padding: 10px;
    display: flex;
    align-items: center;   
    flex-wrap: wrap; 
    gap: 10px;
    margin-top: 4px;
    margin-bottom: 24px;
    border-radius: 8px;
}

.standort-auswahl label {
    width: 272px;
}

.standort-absatz {
    overflow: hidden;
}

.firmenname, .rechtsform, .leitungsfunktionen {
    background-color: lightgrey;
    width: 332px;
    height: 124px;
    padding: 10px;
    display: flex;
    align-items: center;   
    flex-wrap: wrap; 
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.eingabebox-gruendung {
    background-color: lightgrey;
    width: 332px;
    height: 218px;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;   
    flex-wrap: wrap; 
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.firmenname input[type="text"], 
.eingabebox-gruendung input[type="text"], 
.dateneingabe-spielstart input[type="text"], 
.dateneingabe-spielstart input[type="email"], 
.eingabebox-gruendung input[type="number"], 
.dateneingabe-spielstart input[type="number"], 
.eingabebox-gruendung select,
.dateneingabe-spielstart select {
    width: 300px;
    height: 36px;
    padding: 4px;
    border-radius: 6px;
    margin: 2px 0;
    background-color: #fff;
}

.dateneingabe-spielstart label {
    display: inline-block;
    width: 230px;
}

.firma-absatz {
    margin-bottom: 20px;
}

.firma-aufzaehlung {
    display: block;
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    padding-left: 40px;
}

.gruendung-zweispaltig {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 50px;
}

.login-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 10px 50px;
    width: 800px;
    height: 500px;
}

.login-box h1 {
    font-size: 26px;
    font-weight: 600;
    font-family: inherit;
    color: #0d0e0ff2;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 10px;  
    box-sizing: inherit;
}

.login-formular label {
    display: inline-block;
    width: 200px;
}

.login-hintergrund {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 38, 56, 0.8); /* Halbtransparentes Schwarz */
    z-index: 9999; /* Stellt sicher, dass das Overlay oben ist */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.login-box-disclaimer-text {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 9px;
    margin-top: 8px;
}

.login-box-disclaimer-oben {
    height: 24px;
    display: flex;
    justify-content: flex-end;
    padding-right: 48px;
    padding-left: 48px;
    margin-top: 32px;
}

.login-box-disclaimer-oben a {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #0f2f47a8;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    position: relative;
    display: flex;
    align-items: center;
}

.login-box-disclaimer-oben a:first-of-type {
    margin-right: 20px;
}

.login-box-disclaimer-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.login-box-formular {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.login-box-formular label {
    display: inline-block;
    width: 200px;
}

.login-box-formular input[type="email"], .login-box-formular input[type="password"] {
    width: 210px;
    height: 43.2px;
    padding: 4px;
    border-radius: 6px;
}

.login-box-formular div {
    margin: 12px 0;
}

.rolle-icon {
    padding: 10px;
    width: 100%;
}

.rolle-bezeichnung {
    padding: 10px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rolle-beschreibung {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65em;
    height: 38px;
}

.auswahl-klick-box-link {
    display: block; 
    text-decoration: none;
    color: var(--dunkelblau);
    border-color: var(--dunkelblau);
}

.ausgegraut {
    color: lightgrey;
    border-color: lightgrey;
}

.auswahl-klick-box-wrap {
    display: flex; 
    justify-content: space-around; 
    gap: 32px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.auswahl-klick-box {
    font-size: 16px;
    border: 1px solid var(--dunkelgrau);
    border-radius: 6px;
    padding: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    word-wrap: break-word; 
    hyphens: auto;
    cursor: pointer;
}

.auswahl-klick-box-zeile {
    width: 100%;
}

.auswahl-klick-box-zeile i {
    font-size: 2.1em;
}

.box-gross {
    width: 260px;
    height: 260px;
}

.box-klein {
    width: 196px;
    height: 196px;
}

.invalid { 
    border-color: red; 
    color: red;
}

.logo-vorschau {
    background-color: lightgrey;
    text-align: center;
}

.logo-vorschau-zeile {
    width: 100%;
}

.text-farbwert {
    font-size: 0.5em;
    width: 100%;
    text-align: center;
    display: block;
}

#spielgruppe_4,
#spielgruppe_5,
#spielgruppe_6,
#spielgruppe_7,
#spielgruppe_8,
#spielgruppe_9,
#spielgruppe_10 {
    display: none;
}

.weitere-gruppe {
    background-color: var(--blau);
    margin: 10px 0;
    width: 700px;
    padding: 4px 12px;
    color: #FFF;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/*====================== FORMULARE ============================*/


