/* General Styles */
body {
  margin: 0;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  color: white;
}

canvas#bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Container Box */
.container {
  position: relative;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
  padding: 30px 25px;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  margin: 100px auto;
  text-align: center;
}

/* Heading */
.container h1 {
  margin-bottom: 20px;
  font-size: 26px;
}

/* Input Section */
.input-section {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.input-section input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: #222;
  color: white;
}

.input-section button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background-color: #00bfff;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.input-section button:hover {
  background-color: #0080ff;
}

/* Task List */
#taskList {
  list-style: none;
  padding: 0;
}

#taskList li {
  background: #111;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#taskList li.completed {
  text-decoration: line-through;
  opacity: 0.6;
}

#taskList li button {
  border: none;
  background: #ff4d4d;
  color: white;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

#taskList li button:hover {
  background: #ff1a1a;
}
