/* Background + Font Style */
body {
  background-color: #ffe6f2;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 2rem;
}

/* Container to center content */
.container {
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 0 20px #ff99cc;
  text-align: center;
}

/* Sorting Hat Image */
@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.hat-image {
  width: 80px;
  margin: 0 auto 1rem auto;
  display: block;

  animation: wiggle 1s ease-in-out infinite;
  filter: drop-shadow(0 0 6px #fff2cc) drop-shadow(0 0 12px #ffd700);
}

/* Inputs and Button */
input, button {
  width: 80%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  font-size: 1rem;
  border: 2px solid #d63384;
  border-radius: 0.5rem;
  box-sizing: border-box;
}

button {
  background-color: #ffb3da;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

#output {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #d63384;
}