body {
  margin: 0;
  box-sizing: border-box;
  background-color: #abbbcd;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  padding: 20px;
}
.todo-container {
  background: linear-gradient(135deg, #abbbcd, #d9e2ec);
  padding: 20px;
  border: #333;
  border-radius: 9px;
  box-sizing: border-box;
  box-shadow: 10px 10px 20px #84888f, -10px -10px 20px #ffffff;
  width: 385px;
}
h2 {
  font-weight: bolder;
  font-family: "Bungee", sans-serif;
  font-weight: 400;
  font-style: normal;
}
input {
  width: 330px;
  height: 30px;
  border-radius: 9px;
  background-color: floralwhite;
  padding: 5px;
  font-size: 1rem;
  border: 2px solid #ddd;
  outline: none;
  transition: border-color 0.3s;
  box-shadow: 10px 10px 20px #a3b1c6, -10px -10px 20px #ffffff;
}
input:focus {
  border-color: rgb(97, 29, 161);
}
input::placeholder {
  padding-left: 5px;
}
.taskAddBtn {
  margin-top: 10px;
  /* margin-left: 150px; */
  background-color: blueviolet;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 7px;
  height: 41px;
  width: 92px;
  padding-left: 12px;
  transition: all 0.2s;
  box-shadow: 10px 10px 20px #a3b1c6, -10px -10px 20px #ffffff;
}
.taskAddBtn:hover {
  background-color: rgb(177, 26, 104);
  cursor: pointer;
  transform: translateY(-2px);
}
button:active {
  transform: translateY(0);
}
.tasksList {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tasksList li {
  margin-top: 20px;
  width: 313px;
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.tasksList li:hover {
  background-color: #f5f5f5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.task-text {
  border: 1.5px solid rgb(152, 145, 145);
  background-color: floralwhite;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 8px;
  border-radius: 9px;
  font-size: 1.3rem;
  flex-grow: 1;
  color: #333;
}
.tasksList li.completed .task-text {
  text-decoration: line-through;
  color: #999;
}
.task-actions {
  display: flex;
  gap: 5px;
  margin-left: 10px;
  width: 80px;
}
.task-btn {
  color: white;
  border: none;
  padding: 10px;
  height: 41px;
  width: 92px;
  padding-left: 12px;
  transition: all 0.2s;
  box-shadow: 10px 10px 20px #a3b1c6, -10px -10px 20px #ffffff;
  background-color: transparent;
  cursor: pointer;
  font-size: 1.2em;
  border-radius: 5px;
  transition: background-color 0.2s;
}
.complete-btn {
  color: #28a745;
}
.complete-btn:hover {
  background-color: #e2f4e5;
}
.delete-btn {
  color: #dc3545;
}
.delete-btn:hover {
  background-color: #f8e5e7;
}
#task-add {
  margin-bottom: 13px;
}
.summary {
  display: flex;
  justify-content: space-between;
  align-items: center; /* This centers the items vertically */
}
#task-count {
  padding: 5px;
  font-weight: bold;
}
#completedTask {
  padding-right: 8px;
  font-weight: bold;
}

@media (max-width: 480px) {
  .container {
    padding: 20px;
  }
  .input-group {
    flex-direction: column;
    gap: 15px;
  }
  #add-task-btn {
    width: 100%;
  }
}
