* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
  transition: background 0.5s;
}

h2 {
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

input[type="color"] {
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

input[type="color"]:hover {
  transform: scale(1.1);
}

.swatch {
  width: 220px;
  height: 220px;
  margin: 20px 0;
  border-radius: 20px;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: background-color 0.5s, color 0.5s;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
