@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap");

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle, #0f0f0f, #050505);
  font-family: 'Orbitron', sans-serif;
  color: #00ffe5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  width: 90%;
  max-width: 500px;
  background: rgba(25, 25, 25, 0.9);
  padding: 20px;
  border: 2px solid #ff00ff;
  box-shadow: 0 0 20px #00ffe5;
  border-radius: 16px;
}

h1 {
  text-align: center;
  color: #ff00ff;
}

.new-task {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.new-task input[type="text"], .new-task input[type="time"] {
  flex: 1;
  padding: 8px;
  background: #111;
  border: 1px solid #00ffe5;
  color: #00ffe5;
  border-radius: 8px;
}

.new-task button {
  background: #ff00ff;
  color: black;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}
.new-task button:hover {
  box-shadow: 0 0 10px #00ffe5;
}

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

.task {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 10px;
  border: 1px solid #00ffe5;
  border-radius: 10px;
  margin-bottom: 10px;
}

.task.done {
  text-decoration: line-through;
  opacity: 0.5;
}

.task input[type="checkbox"] {
  transform: scale(1.5);
}

.filters {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.filters button {
  flex: 1;
  margin: 0 5px;
  background-color: #222;
  color: #00ffe5;
  border: 1px solid #ff00ff;
  padding: 5px;
  border-radius: 8px;
  cursor: pointer;
}
.filters button:hover {
  background-color: #ff00ff;
  color: black;
}

.clear-btn {
  width: 100%;
  background-color: red;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

@media screen and (max-width: 500px) {
  .new-task {
    flex-direction: column;
  }
}
