body {
  height: 100vh;
  background: url(img/moon.jpg) no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
#add-task-container {
  width: 350px;
  padding: 20px 10px;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 3px;
  display: flex;
}
input {
  flex: 5;
  margin-right: 10px;
  border-radius: 10px;
  font-size: 1.2rem;
  padding: 5px;
}
#add-task {
  flex: 1;
  transition: 0.3s;
  font-size: 1.2rem;
  padding: 5px;
  background-color: #fff;
  color: green;
  border: green solid 2px;
  border-radius: 10px;
}
#add-task:hover {
  background-color: green;
  color: #fff;
}

/* styling for the task which are addded  to do list*/

.task {
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 3px;
  margin-bottom: 5px;
  padding: 5px;

  display: flex;
  justify-content: space-between;
}
.task li {
  list-style: none;
  flex: 1;
  padding: 5px;
  font-size: 1.3rem;
  margin: 10px;
}
.task button {
  flex: 1;
  border-radius: 10px;
  background-color: #fff;
  cursor: pointer;
}
.task .checkTask {
  color: orange;
  margin-right: 5px;
  border: solid 2px orange;
  font-size: 1.5rem;
}
.task .checkTask:hover {
  background-color: orange;
  color: #fff;
}

.task .deleteTask {
  color: red;
  border: solid 2px red;
  font-size: 1.3rem;
}
.task .deleteTask:hover {
  background-color:red;
  color: #fff;
}
#task-container {
  max-height: 400px; /* Adjust as needed */
  overflow-y: auto;
}
