* {
  margin: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: #fff7e6;
  font-family: 'Segoe UI', sans-serif;
  color: #7a4b2a;
  text-align: center;
}

main {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  padding: 20px;
}

/* The jar emoji, gently wobbling */
.jar {
  font-size: 5rem;
  animation: wob 3s infinite;
}

@keyframes wob {
  50% {
    transform: rotate(6deg);
  }
}

/* The note that appears */
#card {
  background: #fff;
  border: 2px dashed #f4a261;
  border-radius: 12px;
  padding: 20px;
  max-width: 320px;
  min-height: 90px;
  display: grid;
  place-content: center;
  transition: transform 0.3s;
}

/* Added by JS for a little pop when a new note is pulled */
#card.pop {
  transform: scale(1.07) rotate(-2deg);
}

button {
  background: #f4a261;
  color: #fff;
  border: 0;
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background: #e76f51;
}

#left {
  font-size: 0.85rem;
  opacity: 0.6;
}