html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#color-wheel {
  position: relative;
  margin: 0 auto;
}

.color {
  position: absolute;
  transform: translate(-50%, -50%);
  transition: left 1s ease, top 1s ease;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: gray;
  pointer-events: auto;
  z-index: 2;
}

.color h2 {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  font-size: 12px;
  background: white;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  color: black;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: left 0.5s ease, top 0.5s ease, opacity 0.2s;
}


select {
  border: none; /* Entfernt den gesamten Rahmen */
  border-bottom: 1px solid #000; /* Fügt eine Linie unten hinzu */
  outline: none; /* Entfernt den Fokusrahmen */
  padding: 5px 0; /* Verleiht etwas Abstand oben und unten */
  font-size: 16px; /* Optional: Du kannst die Schriftgröße anpassen */
  background: transparent; /* Entfernt den Hintergrund, damit nur die Linie sichtbar ist */
}

select:focus {
  border-bottom-color: #007BFF; /* Optional: Setzt die Farbe der Linie beim Fokussieren */
  outline: none; /* Entfernt den Standard-Fokusrahmen */
}



/* Das Modal ist standardmäßig ausgeblendet */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; /* Es bleibt immer oben */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto; /* Falls der Inhalt zu lang ist */
    background-color: rgba(0, 0, 0, 0.4); /* Halbtransparenter Hintergrund */
}

/* Das Modal-Inhaltsfenster */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}

/* Der Schließ-Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

/* Hover-Effekt auf den Schließ-Button */
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Formularfelder */
form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}


/* Das Farbrad-Design */
.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: transform 0.3s;
}

.color-circle:hover {
    transform: scale(1.2);
}

