body {
  font-family: Arial, sans-serif;
  background: rgb(144, 233, 234);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 60px;
  margin: 0;
}

.todo-container {
  background: rgb(207, 228, 229);
  padding: 20px 30px;
  border-radius: 10px;
  width: 720px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease;
}

.todo-container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 35px;
  animation: slideDown 0.7s ease;
}

.input-section {
  display: flex;
  margin-bottom: 15px;
  animation: fadeIn 1s ease;
}

#todo-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 8px;
  outline: none;
  font-size: 18px;
  transition: box-shadow 0.3s ease;
}

#todo-input:focus {
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.input-section button {
  margin-left: 10px;
  padding: 10px 15px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}

.input-section button:hover {
  background: #218838;
  transform: scale(1.05);
}

ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

li {
  background: #eee;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideIn 0.5s ease;
}

li span {
  flex: 1;
  font-size: 15px;
}

li div {
  display: flex;
  gap: 5px;
}

li button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: transform 0.2s ease, color 0.3s;
}

li button:hover {
  transform: scale(1.2);
  color: #dc3545;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
