/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and overall layout */
body {
  font-family: "Poppins", sans-serif;
  background-color: #EEE8AA; /* Light yellow background */
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Main container for the app */
.app-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 300px;
  text-align: center;
  border: 2px solid #808000; /* Olive border for more vibrancy */
}

/* Header style */
h1 {
  font-size: 24px;
  color: #808000; /* Olive color for header */
  margin-bottom: 20px;
}

/* Input box for new task */
#new-task {
  width: 80%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #CD5C5C; /* Light coral border for input */
  border-radius: 4px;
  font-size: 16px;
  background-color: #FFE4E1; /* Light coral background for input box */
}

/* Button styles */
#add-task, #clear-all {
  padding: 10px 15px;
  background-color: #FFA07A; /* Light salmon button */
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
}

#add-task:hover, #clear-all:hover {
  background-color: #FF7F50; /* Coral hover effect */
}

/* Task list */
ul#task-list {
  list-style-type: none;
  margin-top: 20px;
  padding: 0;
}

ul#task-list li {
  background-color: #FFF0F5; /* Lavender blush background for tasks */
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  border: 1px solid #CD5C5C; /* Light coral border for tasks */
}

ul#task-list li.completed {
  background-color: #D3FFD3; /* Light green background for completed tasks */
  text-decoration: line-through;
}

button.delete {
  background-color: #CD5C5C; /* Light coral for delete button */
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

button.delete:hover {
  background-color: #FF6347; /* Tomato hover effect for delete button */
}

/* Media Query for responsiveness */
@media (max-width: 600px) {
  .app-container {
    width: 90%;
  }
  h1 {
    font-size: 20px;
  }
}
