:root {
  --theme-color: #9970FA; /* default Lila */
}

h1 {
  color: var(--theme-color);
}

#baseColor {
  border: 2px solid var(--theme-color);
}

#baseColor:hover {
  box-shadow: 0 0 10px var(--theme-color);
}

button {
  background: var(--theme-color);
}

button:hover {
  opacity: 0.85;
}



body {
  background: #111;
  color: #fff;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  margin: 0;
  padding-top: 40px;
}

.container {
  background: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 850px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  color: (--theme-color);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #aaa;
}

.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #222;
  border-radius: 8px;
  padding: 8px 12px;
}

#baseColor {
  width: 50px;
  height: 50px;
  border: 2px solid var(--theme-color); /* von Rot zu Lila */
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

#baseColor:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px var(--theme-color); /* von Rot zu Lila */
}

select,
button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
}

button {
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  opacity: 0.85;
}

button[disabled] { opacity: 0.6; cursor: not-allowed; }

.palette {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.color-block {
  flex: 1;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.color-info {
  background: rgba(0,0,0,0.6);
  width: 100%;
  text-align: center;
  padding: 5px;
  font-size: 14px;
  border-radius: 0 0 5px 5px;
}

.color-name {
  font-size: 12px;
  color: #ccc;
}



/* --- RED VERSION --- */
/* body {
  background: #111;
  color: #fff;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  margin: 0;
  padding-top: 40px;
}

.container {
  background: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 850px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  color: #f55a5a;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #aaa;
}

.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #222;
  border-radius: 8px;
  padding: 8px 12px;
}

#baseColor {
  width: 50px;
  height: 50px;
  border: 2px solid #f55a5a;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

#baseColor:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #f55a5a;
}

select,
button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
}

button {
  background: #f55a5a;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  opacity: 0.85;
}

button[disabled] { opacity: 0.6; cursor: not-allowed; }

.palette {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.color-block {
  flex: 1;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.color-info {
  background: rgba(0,0,0,0.6);
  width: 100%;
  text-align: center;
  padding: 5px;
  font-size: 14px;
  border-radius: 0 0 5px 5px;
}

.color-name {
  font-size: 12px;
  color: #ccc;
} */
