body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #0f0f0f;
  color: whitesmoke;
}
video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: opacity 0.5s;
}
header {
  background-color: rgba(0, 0, 0, 0.185);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 9px;
}

header img {
  width: 120px;
}
header ul {
  margin-top: 50px;
  display: flex;
  gap: 80px;
  list-style: none;
  font-size: 20px;
  text-align: center;
  margin-left: auto;
  margin-right: 150px;
}
/* -----------------header ul anmtion --------------------*/
nav a {
  text-decoration: none;
  color: white;
  transition: 0.6s;
  display: inline-block;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: rgba(255, 115, 0, 0.8);
  text-shadow: 0 0 10px rgba(255, 115, 0, 0.8);
  transition: 0.6s;
}

nav a:hover::after {
  transition: 0.6s;
  width: 100%;
  left: 0;
}

nav a:hover {
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(255, 115, 0, 0.8);
}
#ToDoListbox {
  background-color: rgba(167, 94, 0, 0.329);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 7px;
  padding: 30px;
  margin: 10% auto;
  width: 500px;
  max-width: 500px;
  height: auto;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: orange;
  cursor: pointer;
}

#userinput {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  outline: none;
  width: 220px;
  transition: 0.3s;
}

#userinput::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

#userinput:focus {
  border-color: rgba(255, 165, 0, 0.7);
  background: rgba(255, 255, 255, 0.13);
}

#Add_Task {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: rgba(210, 130, 0, 0.75);
  color: white;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 8px;
}

#Add_Task:hover {
  background: rgba(255, 160, 0, 0.9);
  transform: scale(1.05);
}

#ToDoListbox {
  background: rgba(120, 70, 0, 0.28);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 200, 100, 0.2);
  color: white;
  border-radius: 16px;
  padding: 40px 36px;
  margin: 8% auto;
  width: 500px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

#ToDoListbox h1 {
  margin-bottom: 24px;
  font-size: 26px;
  color: #ffe8b0;
  text-shadow: 0 0 12px rgba(255, 160, 0, 0.4);
}

#Tasklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 200, 100, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  transition: 0.3s;
  color: #ffe8b0;
  text-shadow: 0 0 12px rgba(255, 160, 0, 0.4);
}

#Tasklist li:hover {
  background: rgba(255, 200, 100, 0.1);
  border-color: rgba(255, 200, 100, 0.3);
}

#Tasklist li span {
  flex: 1;
  font-size: 15px;
  color: #fff;
  transition: 0.3s;
}

#Tasklist li button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  border-radius: 6px;
  transition: 0.3s;
  opacity: 0.6;
}

#Tasklist li button:hover {
  background: rgba(255, 80, 80, 0.2);
  opacity: 1;
  transform: scale(1.2);
}

input[type="checkbox"] {
  display: none;
}

#Tasklist li.checked::before {
  content: "✓";
  color: orange;
  font-weight: bold;
  margin-right: 6px;
}
