body {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #1e1e1e;
  color: #fff;
}

form {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

label,
input,
textarea {
  margin-bottom: 10px;
}

button {
  width: 150px;
  height: 40px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-buttons {
  display: flex;
}

.delete-task {
  background-color: #f44336;
}

.delete-task:hover {
  background-color: #d32f2f;
}

.add-bug-issue {
  background-color: #3672f4;
}

.add-bug-issue:hover {
  background-color: #2f68d3;
}

.add-subtask,
.delete-task,
.add-bug-issue {
  width: auto;
  padding: 5px 10px;
  margin-left: 5px;
}

.subtask {
  background-color: #333;
  padding: 10px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 5px;
}

input,
textarea {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: #fff;
  padding: 5px 10px;
}

.subtask .task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-title {
  font-size: 20px; /* larger font size */
  flex-grow: 1;
  margin-left: 10px;
  margin-right: 10px;
  background-color: transparent;
  border: none;
  color: #fff;
  text-decoration: none;
}

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

.task-title:focus {
  outline: none;
  border-bottom: 1px solid #fff;
}

.subtask {
  border-color: #ddd; /* default border color */
}

/* add different border colors for each level of subtask */
.subtask .subtask {
  border-color: #ff5733;
}

.subtask .subtask .subtask {
  border-color: #6b3a76;
}

.subtask .subtask .subtask .subtask {
  border-color: #3a9c9c;
}

.subtask .subtask .subtask .subtask .subtask {
  border-color: #fbc02d;
}

.subtask .subtask .subtask .subtask .subtask .subtask {
  border-color: #ef6c00;
}

.subtask .subtask .subtask .subtask .subtask .subtask .subtask {
  border-color: #008cba;
}

.subtask .subtask .subtask .subtask .subtask .subtask .subtask .subtask {
  border-color: #9e9e9e;
}

.bug-issue.resolved {
  text-decoration: line-through;
  opacity: 0.5;
}

.bug-issue label {
  display: block;
  margin-top: 10px;
}

.bug-issue textarea {
  display: block;
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
  padding: 5px;
  box-sizing: border-box;
}

.bug-issue button {
  width: 100px;
  margin-right: 10px;
  margin-top: 10px;
}

.bug-issue h4,
.bug-issue p {
  margin-top: 20px;
  margin-bottom: 10px;
}

@media screen and (max-width: 393px) {
  body {
    padding: 10px;
    font-size: 14px;
  }

  input,
  textarea {
    font-size: 14px;
  }

  .task-title {
    font-size: 18px;
  }

  button {
    width: 120px;
    height: 30px;
  }

  .add-subtask,
  .delete-task,
  .add-bug-issue {
    padding: 5px;
    font-size: 12px;
  }

  .bug-issue h4,
  .bug-issue p {
    margin-top: 10px;
    margin-bottom: 5px;
  }
}
