body {
  font-family: Arial, sans-serif;
  background:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)),
    url("Images/star\ background.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  margin: 0;
}

header {
  background: #1e1e1e;
  padding: 15px;
  text-align: center;
}

nav a {
  color: #00adb5;
  margin: 10px;
  text-decoration: none;
}

main {
  max-width: 800px;
  padding: 20px;
  margin: auto;
}

button {
  background: #00adb5;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

button:hover {
  background: #00cfc8;
  transform: translateY(-2px);
}

input,
select {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #333;
  background: #2a2a2a;
  color: white;
  outline: none;
  transition: 0.3s;
}

input:focus,
select:focus {
  border-color: #00adb5;
  box-shadow: 0 0 8px #00adb5;
}

@media (max-width: 768px) {
  nav a {
    display: block;
    margin: 10px 0;
  }
}

.task-item {
  padding: 10px;
  margin: 10px 0;
  background: #2a2a2a;
  border-radius: 8px;
  transition: 0.3s;
}

.task-item:hover {
  transform: translateY(-3px);
  background: #333;
}

.completed {
  opacity: 0.6;
}

.completed h3 {
  text-decoration: line-through;
}

.delete-btn {
  margin-left: 10px;
  background: red;
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
}

.stats-container {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.stat-box {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s ease;
  transform: scale(1);
}

.stat-box:hover {
  transform: translateY(-5px) scale(1.05);
  background: #333;
}

.stat-box h3 {
  margin-bottom: 10px;
  color: #00adb5;
}

.stat-box p {
  font-size: 22px;
  font-weight: bold;
}

/* Center the whole app*/
.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/*Make sections feel like cards*/
section {
  background: #1e1e1e;
  padding: 25px;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s;
  filter: drop-shadow(0 0 5px #00adb5);
}

.logo:hover {
  transform: rotate(5deg) scale(1.1);
}

h1 {
  color: #ffffff;
  text-shadow:
    0 0 5px #00adb5,
    0 0 10px #00adb5,
    0 0 20px #00adb5;
}

.filters {
  margin-bottom: 15px;
  text-align: center;
}

.filters button {
  margin: 5px;
  padding: 8px 12px;
  border-radius: 6px;
}

.progress-bar {
  width: 100%;
  height: 14px;
  background: #222;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 10px;
}

#progressFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00adb5, #00fff5);
  border-radius: 20px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px #00adb5;
}
