/* Body*/
body {
  background: #2e2e2e; /* Make it white if you need */
  color: #999999;
  link: #ffffff;
  alink: #ffffff;
  vlink: #ffffff;
  font-family: 'Segoe UI', sans-serif;
}

/* Buttons*/
button {
  font-family: calibri;
  font-weight: bold;
  color: #31b404;
  padding: 10px;
  border: 1px solid #ffffff;
  background-color: #444;
  resize: no;
  border-radius: 3px;
}

button:hover {
  background-color: #31b404;
  color: #444;
}

.distanz-buttons {
  font-family: calibri;
  font-weight: bold;
  color: #31b404;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.distanz-buttons button {
  font-size: 11px;
  padding: 4px 10px;
  background-color: #444;
  color: #31b404;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.distanz-buttons button:hover {
  background-color: #31b404;
  color: #444;
}

#setDistanz(5) {
  font-family: calibri;
  font-weight: bold;
  color: #31b404;
  padding: 10px;
  border: 1px solid #ffffff;
  background-color: #444;
  resize: no;
  border-radius: 3px;
  height: 10px;
}

#ausgabe {
  font-family: 'Calibri', sans-serif;
  display: inline-block;
  font-size: 11pt;
  border: 12px
  color: #34b404;
  padding: 10px;
  border: 1px solid #34b404;
  border-radius: 2px;
}

/* Fieldset*/
fieldset {
  max-width: fit-content;
  padding: 10px;
  border: 1px solid #ccc;
  display: inline-block;
  margin-right: 20px;
  vertical-align: top;
}

/* Ãœberschriften*/
h1 {
  color: #31b404;
  font-size: 24pt;
  font-weight: bold;
}

h2 {
  color: #31b404;
  font-size: 8;
}

/* Label*/
label {
  color: #ffffff
}

/* Textfelder*/
textarea {
  width: 100%;
  max-width: 600px;
  font-family: calibri;
  padding: 10px;
  border: 1px solid #ffffff;
  background-color: #666;
  resize: no;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.open {
  /* diese Klasse setzen wir per JS */
  max-height: 1000px; /* genug groÃŸ wÃ¤hlen, damit Inhalt reinpasst */
}

.accordion-header {
  position: relative;
  font-size: 12px;
  padding: 4px 8px 4px 4px;
  margin-top: 40px;
  margin-bottom: 00px;
  color: #fff;
  border: 0px solid #aaa;
  border-radius: 0px;
  cursor: pointer;
  white-space: nowrap;
}

.accordion hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 0;
}

.accordion-header::before {
  content: "+"; 
  padding: 2px;
  right: 8px;
}

.accordion-header.active::before { content: "-"; }

.footer {
  color: #ccc;
  margin-top: 40px;
  padding: 10px;
  text-align: left;
}

.footer a {
  color: #ccc;
  font-size: 11px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #31b404;
  text-decoration: underline;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}