body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #a2c2e8, #f0f4f8);
}

.todo-container {
  max-width: 400px;
  width: 90%;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#title {
  font-size: 2.5em;
  color: #fff;
  text-align: center;
  margin: 20px 0;
  text-shadow: 0 0 5px rgba(255, 105, 180, 0.8),
    0 0 10px rgba(255, 105, 180, 0.7), 0 0 15px rgba(255, 105, 180, 0.6),
    0 0 20px rgba(255, 105, 180, 0.5), 0 0 25px rgba(255, 105, 180, 0.4);
}

h1 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  font-size: 16px;
  margin-bottom: 5px;
  color: #333;
}

input[type="text"],
input[type="date"],
input[type="time"],
select,
button {
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

button {
  background-color: #ff6f61;
  color: white;
  cursor: pointer;
}

button:hover {
  background-color: #d17d8b;
}

#taskList {
  max-height: 300px;
  overflow-y: auto;
}

ul {
  padding: 0;
  list-style-type: none;
}

li {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.low-priority {
  border-left: 5px solid green;
}

.medium-priority {
  border-left: 5px solid orange;
}

.high-priority {
  border-left: 5px solid red;
}

.completed {
  text-decoration: line-through;
  color: grey;
}

@media (max-width: 1024px) {
  .todo-container {
    width: 95%;
    padding: 15px;
  }

  h1 {
    font-size: 2em;
  }

  input[type="text"],
  input[type="date"],
  input[type="time"],
  select,
  button {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .todo-container {
    width: 100%;
    padding: 10px;
  }

  h1 {
    font-size: 1.8em;
  }

  input[type="text"],
  input[type="date"],
  input[type="time"],
  select,
  button {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .todo-container {
    padding: 5px;
  }

  h1 {
    font-size: 1.5em;
  }

  input[type="text"],
  input[type="date"],
  input[type="time"],
  select,
  button {
    font-size: 12px;
  }
}
