  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }

  body {
    background: linear-gradient(135deg, #0f0f0f, #1c1c1c);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    }

  .todo-container {
    background: rgba(30, 30, 30, 0.85);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.15), 0 0 40px rgba(0, 255, 204, 0.1);
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 204, 0.1);
    animation: fadeDrop 1.2s ease;
  }

  @keyframes fadeDrop {
    0% {
      transform: translateY(-30px) scale(0.9);
      opacity: 0;
    }
    100% {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }

  h1 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
  }

  .input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
  }

  .input-section input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    transition: 0.3s ease;
  }

  .input-section input:focus {
    border-color: #00ffcc;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
  }

  .input-section button {
    background: linear-gradient(to right, #00ffcc, #00bfa6);
    color: #121212;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.4s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.3);
  }

  .input-section button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 255, 204, 0.4);
  }

  ul.task-list {
    list-style: none;
  }

  ul.task-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: bounceIn 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
  }

  ul.task-list li:hover {
    box-shadow: 0 4px 12px rgba(0, 255, 204, 0.1);
    transform: translateX(5px);
  }


  .task-actions button {
    background: none;
    border: none;
    color: #00ffcc;
    font-size: 18px;
    margin-left: 12px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .task-actions button:hover {
    color: #ff5e5e;
    transform: scale(1.2);
  }
  .todo-container {
  background: rgba(30, 30, 30, 0.85);
  padding: 35px;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 204, 0.1);
  

  box-shadow: 0 0 25px rgba(0, 255, 204, 0.25), 0 0 60px rgba(0, 255, 204, 0.15);
  animation: floatBox 3s ease-in-out infinite, glowMove 4s ease-in-out infinite;
}


@keyframes floatBox {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}


@keyframes glowMove {
  0%, 100% {
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.25), 0 0 60px rgba(0, 255, 204, 0.15);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 204, 0.4), 0 0 80px rgba(0, 255, 204, 0.25);
  }
}
ul.task-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.4s ease;
  animation: taskFloat 4s ease-in-out infinite;
}


 li{
  
  display: flex;
  justify-content: space-between;
  
  border: 1px solid rgba(10, 197, 135, 0.884);
  border-radius: 5px;
  padding: 8px;
  margin-bottom:7px;
  margin-top: 10px;
  
}
.delete-btn {
  background: none;
  border: none;
  color: #00ffcc;
  font-size: 18px;
  margin-left: 12px;
  cursor: pointer;
  transition: 0.3s ease;
}

.delete-btn:hover {
  color: #ff5e5e;
  transform: scale(1.3);
}

.task-text.editing {
  outline: 1px dashed #00ffcc;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Tablets (768px and down) */
@media (max-width: 768px) {
  .todo-container {
    padding: 25px;
    max-width: 90%;
  }

  .input-section {
    flex-direction: column;
    gap: 12px;
  }

  .input-section input,
  .input-section button {
    width: 100%;
  }

  .task-actions button {
    font-size: 16px;
    margin-left: 8px;
  }
}

/* Mobile Phones (480px and down) */
@media (max-width: 480px) {
  h1 {
    font-size: 22px;
  }

  .todo-container {
    padding: 20px;
  }

  .input-section input {
    font-size: 14px;
    padding: 10px 12px;
  }

  .input-section button {
    font-size: 14px;
    padding: 10px;
  }

  ul.task-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .task-actions {
    margin-top: 10px;
  }
}
