body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

.todo-container {
  max-width: 400px;
  margin: auto;
}

h1 {
  text-align: center;
}

input[type='text'] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}

button {
  padding: 8px 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

.todo-list-container {
  margin-top: 20px;
  border: 1px solid #ccc;
}

.todo-list {
  max-height: 300px;
  overflow-y: auto;
}

.todo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-bottom: 1px solid #ccc;
}

.completed {
  text-decoration: line-through;
}

button.delete-button {
  background-color: #dc3545;
}

button.delete-button:hover {
  background-color: #b02a37;
}

button.edit-button {
  background-color: #ffc107;
}

button.edit-button:hover {
  background-color: #cc9a06;
}

#counter {
  text-align: center;
}

.filter-buttons {
  margin-top: 10px;
  text-align: center;
}
select {
  padding: 8px;
}

/* Priority styling */
.todo-item {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 5px;
}

.priority-low {
  border-left: 5px solid #3fbf66; /* Green color for low priority */
}

.priority-medium {
  border-left: 5px solid #f3af37; /* Yellow color for medium priority */
}

.priority-high {
  border-left: 5px solid #f34336; /* Red color for high priority */
}

.completed {
  text-decoration: line-through;
}
