* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5e8c7; /* Off-white */
  color: #6f4e37; /* Mocha brown */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  background-color: #e6d3a3; /* Cream */
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #6f4e37;
}

.input-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#item-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #a67b5b;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #f5e8c7;
  color: #6f4e37;
}

button {
  padding: 8px 12px;
  background-color: #a67b5b;
  color: #f5e8c7;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #6f4e37;
}

#checklist {
  list-style: none;
}

#checklist li {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #f5e8c7;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1rem;
}

#checklist li input[type='checkbox'] {
  margin-right: 10px;
}

#checklist li.completed {
  text-decoration: line-through;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  .input-container {
    flex-direction: column;
  }

  #item-input,
  button {
    width: 100%;
  }

  button {
    padding: 10px;
  }
}
