#get_config, #key_4, #key_5, #key_6 {
  display: none;
}
body {
  background-color: #161616;
  /*background-color: #ff0076;
  background-image: linear-gradient(150deg, #ff0076 0%, #590fb7 70%);*/
  /*background-size: 100% 100%;
  background-position: 0px 0px,0px 0px,0px 0px,0px 0px;
  background-image: radial-gradient(50% 91% at 10% -20%, #FF0076  1%, #FF000000 99%),radial-gradient(142% 91% at 83% 7%, #98079C  1%, #FF000000 99%),radial-gradient(192% 91% at 100% 74%, #590FB7  1%, #FF000000 99%),linear-gradient(0deg, #98079C  0%, #98079C  100%);
  */
  color: white; /* Weiße Textfarbe */

  text-align: center; /* Zentrierter Text */
  font-family: 'Roboto', sans-serif;
}

h1, h2, h3 {
  text-shadow: 2px 3px 0px #000000;
  text-align: left;
  /*margin-top: 10px;*/
}

.centered-heading {
  text-align: center;
}

hr { /* Horizontal line */
  border: 0;
  border-top: 1px solid #4D4D4D;
  margin-top: 30px;
  margin-bottom: 10px;
  margin-left: 0;
  margin-right: 0;
}
.hidden {
  display: none;
}


.main-content {
  /*width: 100%;*/
  max-width: 500px;
  margin: auto;
}
.connect-container {
  margin: 20px auto;
  max-width: 90%;
}
.settings-container {
  display: none;
  max-width: 90%; /*400px?*/
  margin: 20px auto;
}
.checkboxes {
  display: grid;
  gap: 20px;
  /*max-width: 400px;*/
  margin: auto;
  margin-bottom: 20px;
}

select, input {
  border: 1px solid #888;
  border-radius: 8px;
  color: #adadad;              /* Grauer Text */
  background-color: #232323;
  padding: 8px;             /* Innere Abstände für einen angenehmen Look */
  transition: box-shadow 0.3s ease; /* Sanfter Übergang für den Leuchteffekt */
}0
input:hover {
  /*box-shadow: inset 0 0 2px 2px rgba(255, 255, 255, 0.2); /* Leuchten nach innen */
  background-color: #4d4d4d;
}
input:focus {
  outline: none; /* Entfernt den standardmäßigen blauen Rand bei Fokus */
  outline: solid #888 1px;
}
select:hover {
  /*box-shadow: inset 0 0 2px 2px rgba(255, 255, 255, 0.2); /* Leuchten nach innen */
  background-color: #4d4d4d;
}
select:focus {
  outline: none;
  outline: solid #888 1px;
}

button {
  color: #adadad;
  background-color: #4d4d4d;
  border: none;
  border-radius: 16px;
  transition: 0.3s ease;
}
button:hover {
  background-color: #232323;
}
button:active {
  background-color: #34c759;
  color: white;
}
button:focus {
  outline: none; /* Entfernt den standardmäßigen blauen Rand bei Fokus */
}

.color-settings-container {
  /*display: grid;
  gap: 20px;
  max-width: 400px;*/
  margin: 20px auto;
}
.colorDotText {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
  bottom: 1px; /* Passt die Höhe an, um das Element etwas tiefer zu platzieren */
  vertical-align: middle;
  box-shadow: 0 0 0 2px white, 0 0 0 4px black;
  margin: 0 2px; /*Space davor und dahinter*/
}

.pulldown {
  text-align: left;
  cursor: pointer;
}
.color-advanced-container {
  display: none;
  margin: 10px auto;
}
.color-preset-container {
  display: none;
  margin: 10px auto;
}
.color-preset-grid {
  display: grid;
  grid-template-columns: repeat(7, 28px);
  grid-template-rows: repeat(2, 28px);
  grid-gap: 6px;
  margin-bottom: 1em;
}
.colorPreset {
  border-radius: 16px;
  cursor: pointer;
}
.color-input-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(215px, 1fr)); /*statt 2 eigentlich auto-fit*/
  /*grid-auto-rows: auto;*/
  max-width: 100%;
  margin: 10px auto;
}
form-small-row {
  display: flex; /* Aktiviert Flexbox */
  flex-direction: row; /* Anordnung der Flex-Items in einer Zeile (Standard) */
  justify-content: space-between;
  width: 100%;
  /*gap: auto; /* Optional: Abstand zwischen den Flex-Items */
}
.form-small-row input {
  width: 25%;
  margin: 4px auto;
  /*flex-grow: 1;*/
}
.form-small-row input[type="number"]::-webkit-inner-spin-button,
.form-small-row input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.midi-settings-container {
  display: none;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  /*grid-auto-rows: auto;*/
  max-width: 100%;
  margin: 10px auto;
}
.midi-advanced-container {
  display: none;
}

.keyboard-settings-container {
  display: none;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  max-width: 100%;
  margin: 10px auto;
  /*place-items: center; /* Align both horizontally and vertically */
}
.keyboard-advanced-container {
  display: none;
}

.general-settings-container {
  display: grid;
  gap: 20px;
  /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
  grid-template-columns: 1fr;
  max-width: 100%;
  margin: 10px auto;
}
.visible {
  display: grid; /* Show the content when it has the "visible" class */
}
.form-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}
.form-column label {
  font-weight: bold;
}
.form-column .helptext {
  color: #666;
  font-size: 12px;
}

.form-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  /*gap: 5px;*/
  text-align: left;
}
.form-row label {
  font-weight: bold;
}
.form-row .helptext {
  color: #666;
  font-size: 12px;
}

.helptext1 { /*top of settings container*/
  max-width: 100%;
  color: #666;
  font-size: 12px;
  margin-bottom: 0;
  text-align: left;
  margin-top: 3px; /* Negative Margin, um den Abstand zu entfernen */
}

.helptext2 {
  max-width: 100%;
  color: #666;
  font-size: 12px;
  margin-bottom: 0;
  text-align: left;
  margin-top: -13px; /* Negative Margin, um den Abstand zu entfernen */
}

.helptext3 {
  max-width: 100%;
  color: #666;
  font-size: 12px;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: left;
}

select {
  padding: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
input {
  padding: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
button {
  padding: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

/* LOGOlike SLIDER SWITCH*/
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  /*alternative --> display:none;*/
}
/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4d4d4d;/*adadad;/*#ccc;*/
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 6px;
  bottom: 6px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
}
input:checked + .slider {
  background-color: #34c759;/*#2196F3;*/
}
input:focus + .slider {
  box-shadow: 0 0 1px #34c759;/*#2196F3;*/
}
input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}
/* Rounded sliders */
.slider.round {
  border-radius: 15px;
}
.slider.round:before {
  border-radius: 50%;
}

.status {
  display: inline-block;
  width: 1.5em; /* Einheitliche Breite für Platzhalter */
  text-align: left; /* Zentriert den Inhalt innerhalb des Platzhalters */
}

.status.dots::after {
  content: ''; /* Am Anfang leer */
  display: inline-block;
  animation: blink 1.5s steps(4, end) infinite; /* Animation für blinkende Punkte */
}

@keyframes blink {
  0% {
    content: '.';
  }
  25% {
    content: '..';
  }
  50% {
    content: '...';
  }
  75% {
    content: '';
  }
  100% {
    content: '.';
  }
}