.task {
  display: block;
  font-size: 35px;
  color: red;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}


/* Style for the actual checkboxes alignment */
input[type="checkbox"] {
  transform: scale(1.5);
  vertical-align: middle;
  margin-bottom: 20px;
}

body {
  background-color: black;
  font-family: Arial, sans-serif;
  padding: 20px;
}

#h1 {
  color: whitesmoke;
  margin-top: 30px;
}

/* New Input Styles */
.input-container {
  margin-bottom: 30px;
}

#taskInput {
  font-size: 20px;
  padding: 10px;
  width: 300px;
  background-color: #222;
  color: white;
  border: 1px solid #444;
  border-radius: 5px;
}

#addBtn {
  font-size: 20px;
  padding: 10px 20px;
  background-color: green;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 10px;
}

#addBtn:hover {
  background-color: darkgreen;
}
/* Layout container for each individual row */
.task-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

/* Ensure margins on individual tasks match your old look */
.task {
  display: inline-block;
  font-size: 35px;
  color: red;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 0px; /* Reset original margin bottom since row handles it */
}

/* Styling for the delete button */
.delete-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Make delete button pop out a bit on hover */
.delete-btn:hover {
  opacity: 1;
  transform: scale(1.2);
}
