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

body {
  background: #121212;
  color: white;
  display: flex;
  justify-content: center;
  padding: 40px;
  transition: 0.3s;
}

.container {
  width: 600px;
  background: #1e1e1e;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

h2 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.completed-title {
  color: limegreen;
}

.uncompleted-title {
  color: red;
}

.top-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
}

button {
  padding: 12px 15px;
  border: none;
  background: #4caf50;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
}

ul {
  list-style: none;
}

li {
  background: #2b2b2b;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.completed {
  text-decoration: line-through;
  opacity: 0.7;
  border-left: 5px solid limegreen;
}

.uncompleted {
  opacity: 0.7;
  border-left: 5px solid red;
}

.progress-container {
  width: 100%;
  height: 20px;
  background: #444;
  border-radius: 20px;
  margin-top: 20px;
  overflow: hidden;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: limegreen;
  transition: 0.3s;
}

#progressText {
  text-align: center;
  margin-top: 10px;
}

.quote-box {
  margin-top: 25px;
  background: #2b2b2b;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-style: italic;
}

/* LIGHT MODE */
.light-mode {
  background: #f5f5f5;
  color: black;
}

.light-mode .container {
  background: white;
}

.light-mode li {
  background: #ddd;
}

.light-mode .quote-box {
  background: #ddd;
}