:root {
  --link: #ffe699;
  --gesamtHintergrund: rgba(4, 49, 20, 0.8);
  --bezeichnungHintergrund: #d6d6d6;
  --schriftAufGesamt: rgb(0, 0, 80);
  --boxHintergrund: #b2b1b1;
  --inputHintergrund: #fdf5df;

  /* variante 1 */
  /* --link: #ffe699;
  --feldHintergrund:rgb(4, 4, 50);
  --schriftAufFeld: #e5e5e5; */

  /* Variante 2 */
  /* --link: #005f10; */
  --feldHintergrund: white;
  --feldHintergrundGrau: #dddddd;
  --schriftAufFeld: rgb(4, 4, 50);

  --fehler: rgb(160, 26, 26);
}
html {
  font-size: 62.5%;
}

* {
  box-sizing: border-box;
}
body {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1.2rem;
  margin: 0;
  display: grid;
  background-color: var(--boxHintergrund);
  color: var(--schriftAufGesamt);
}
a {
  color: var(--link);
}

.zentriert {
  text-align: center;
}

.rechts {
  text-align: right !important;
  padding-right: 4px;
}

.links {
  text-align: left;
  padding-left: 4px;
}

.anmelde_formular {
  background-color: var(--gesamtHintergrund);
  text-align: center;
  padding-top: 2rem;
  border-radius: 0.5rem;
  height: 8rem;
  color: white;
}

.kopf-container {
  margin-top: 10px;
  width: 95%;
  display: grid;
  grid-template-columns: 30% 70%;
  row-gap: 1rem;
  column-gap: 1rem;
  justify-content: center;
  justify-self: center;
}

fieldset {
  background-color: var(--gesamtHintergrund);
  color: #fff;
  border: 5px solid #ffe699;
  border-radius: 5px;
  margin: 20px 5% 0 5%;
}

legend {
  color: #fff;
  background-color: var(--gesamtHintergrund);
  text-align: center;
  width: 40%;
  border: 2px solid #ffe699;
  font-size: 1.2rem;
  border-radius: 3px;
  padding: 2px;
  font-weight: 700;
}

.schrift_groesser {
  line-height: 180%;
  font-size: 1.9rem;
}

select {
  font-size: 1.6rem;
  border-radius: 3px;
  margin-top: 0.3rem;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
}
#mitglied-select {
  font-size: 1.6rem;
  border-radius: 3px;
  margin-top: 0.3rem;
  padding: 0.4rem 0.5rem;
  width: 60%;
  text-align: center;
}

.auswahl_Sparte {
  margin: 10px;
  font-size: 1.6rem;
}
#sparte {
  margin-top: 1rem;
}
#auswahl-button {
  /* height: 24px; */
  background-color: var(--link);
  width: 60px;
  color: inherit;
  font-size: inherit;
  padding: 0.5rem;
}
#mitglied {
  visibility: hidden;
}

input {
  font-size: 1.1rem;
  /* width: 110%; */
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-family: inherit;
  background-color: var(--inputHintergrund);
  cursor: pointer;
}
input:disabled {
  background-color: white;
  cursor: default;
}

.fieldset_container {
  margin-top: 10px;
  width: 100%;
  display: grid;
  grid-template-columns: 20% 30% 20% 30%;
  column-gap: 2px;
  row-gap: 5px;
  justify-content: center;
  justify-self: center;
}

label {
  text-align: right;
  padding: 0.2rem 0;
}

.span2 {
  grid-column: span 2;
}

.schmale_hoehe {
  font-size: 0.4rem;
}

#formular_s {
  visibility: hidden;
}

.textBlock {
  text-align: justify;
}

.imText {
  display: inline-block;
}

input[type="checkbox"] {
  padding: 0;
  margin: 2px 0 0 0;
}

button {
  width: 17%;
  font-size: inherit;
  cursor: pointer;
  padding: 2px;
  margin: 7px 20px 5px 5px;
  border-radius: 5px;
}

.buttonPruefen {
  width: 20%;
  font-weight: 800;
  font-size: 1.5rem;
}

#erklaerung {
  display: none;
}

.fehlerBoard {
  background-color: rgb(255, 255, 255, 0.8);
  text-align: center;
  color: red;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.8rem;
  padding: 0.8rem 0;
  border-radius: 5px;
  border: 3px solid red;
  font-weight: 600;
  display: none;
}

.aufnehmen {
  width: 60%;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 2px;
  margin: 7px 20px 5px 5px;
  border-radius: 5px;
  color: rgb(4, 205, 4);
  font-weight: 800;
  display: none;
  pointer-events: none;
}

.begruessung {
  width: 80%;
  background-color: rgb(86, 65, 79, 0.8);
  color: #f5f5dc;
  margin-left: auto;
  margin-right: auto;
  padding: 2px;
  border: 2px solid #ffe699;
  margin-top: 10px;
  display: none;
}

.begr_button {
  display: inline-block;
  width: 35%;
  background-color: rgb(255, 255, 255);
  cursor: pointer;
  padding: 5px;
  margin: 7px 20px 10px 5px;
  border-radius: 3px;
  color: rgb(86, 65, 79);
}

h4 {
  margin: 0.7rem 0;
}

/* === Autocomplete === */
.ac-list {
  display: block;
  list-style: none;
  z-index: 1;
  margin-top: -4px;
  /* margin-left: -34px; */
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
.ac-list-items {
  background-color: white;
  padding: 4px;
  text-align: center;
}
.ac-list-items:hover {
  background-color: #dddddd;
}
.liste-bei-konten {
  text-align: left;
  grid-row: 2;
  grid-column-start: 2;
}

#zErstVerein {
  display: none;
}
#daten_uebernehmen,
#daten_uebernehmenP {
  color: var(--link);
}
#daten_uebernehmen,
#daten_uebernehmenP:hover {
  cursor: pointer;
}
.nichtZeigen {
  display: none;
}
.block {
  display: block;
}
.inline {
  display: inline;
}

@media screen and (max-width: 600px) {
  body {
    font-size: 1.3rem;
  }

  .kopf-container {
    grid-template-columns: 20% 80%;
  }

  .anmelde_formular {
    font-size: 1.6rem;
    padding-top: 1.5rem;
  }

  fieldset {
    margin: 20px 10% 0 10%;
  }

  legend {
    width: 30%;
    font-size: 1.5rem;
    padding: 5px;
    font-weight: 500;
  }

  .schrift_groesser {
    line-height: 170%;
    font-size: 2rem;
  }

  input {
    font-size: 1.2rem;
  }

  .fieldset_container {
    margin-top: 10px;
    width: 100%;
    grid-template-columns: 20% 30% 20% 30%;
    column-gap: 2px;
    row-gap: 10px;
  }

  select {
    font-size: 1.2rem;
    border-radius: 3px;
    margin-top: 0.3rem;
    padding: 0.4rem 0.5rem;
  }
  #mitglied-select {
    font-size: 1.1rem;
  }
  .ac-list-items {
    font-size: 1.1rem;
    padding: 0.4rem 0.5rem;
  }

  .fehlerBoard {
    width: 50%;
  }

  .aufnehmen {
    width: 60%;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 2px;
    margin: 7px 20px 5px 5px;
    border-radius: 5px;
    color: rgb(4, 205, 4);
    font-weight: 800;
    display: none;
    pointer-events: none;
  }

  .begruessung {
    margin-bottom: 10px;
  }

  .begr_button {
    width: 20%;
  }
}
