/* color picker app / Background Color Maker / 18.4.2023 - 21.6.2025 */

body {
  margin: 0;
  font-family: sans-serif;
  transition: background 0.4s ease;
}

.container {
  background-color: rgba(255, 255, 255, 0.85);
  max-width: 360px;
  margin: 2rem auto; /* center */
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

p {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
}

.picker-group {
  display: flex;
  flex-direction: column;
  align-items: center; /* center */
}

label {
  display: block;
  margin: 0.5rem 0;
}

.label-row {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  font-weight: bold;
  justify-content: center; /* Center Text */
}

.label-row span:first-child {
  width: 70px; /* Color1: の幅を統一 */
}

.label-row span:last-child {
  margin-left: 10px; /* Space between color codes */
}

.color-picker {
  width: 120px; /* Make the buttons the same length */
  margin-top: 0.3rem;
}

#footer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
  color: #333;
}