body {
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 20px;
}

.input-section {
  display: flex;
  justify-content: start;
  gap: 30px;
  margin-bottom: 30px;
}

input, select, button {
  padding: 10px;
  font-size: 16px;
}

#itemName {
  width: 30%;
}

#deadline {
  width: 20%;
}

#priority {
  width: 20%;
}

#addItem {
  width: 20%;
}

button {
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
}

.task-section {
  margin: 30px 0;
  text-align: left;
}

.task-section h2 {
  border-bottom: 2px solid black;
  padding-bottom: 5px;
}

.task-list {
  list-style-type: none;
  padding: 0;
}

.task {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  color: white;
  padding: 12px 15px;
  border-radius: 4px;
  margin: 8px 0;
}

.task-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.task-name {
  width: 40%;
}

.task-date {
  width: 20%;
}

.task-priority {
  width: 20%;
}

.task-priority.High {
  color: red;
}

.task-priority.Medium {
  color: orange;
}

.task-priority.Low {
  color: green;
}

.task-buttons {
  width: 20%;
  text-align: right;
}

.task-buttons button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-left: 10px;
}

.completed {
  color: black;
  background-color: white !important;
  border: 1px solid #ccc;
}
