/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 15px;
  width: 300px;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */

   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4),
              0 0 15px rgba(98, 0, 234, 0.4); /* Outer glow */
  transform: perspective(1000px) translateZ(0);
}

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

.input-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

input[type="text"] {
  width: 70%;
  padding: 10px;
  background-color: #333333;
  border: none;
  border-radius: 5px;
  color: #fff;
  outline: none;
}

button {
  width: 25%;
  padding: 10px;
  background-color: #6200ea;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  /* transition: background-color 0.3s; */
   transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

button:hover {
  background-color: #3700b3;
    /* background: linear-gradient(145deg, #6200ea, #3700b3); */
 
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  background-color: #333333;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease,box-shadow 0.2s ease;
}

li.completed {
  text-decoration: line-through;
  opacity: 0.7;

   box-shadow: 0 0 10px rgba(98, 0, 234, 0.5);
  transform: scale(1.02);
}

li button {
  background-color: #d32f2f;
  border: none;
  padding: 5px;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

li button:hover {
  background-color: #b71c1c;
}
