* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(26, 26, 129);
}
.main-box {
  border-radius: 10px;
  width: 100%;
  max-width: 350px;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
}
.heading {
  width: 90%;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.add-field {
  width: 90%;
  border-radius: 30px;
  display: flex;
  margin-top: 5px;
  background-color: rgb(238, 238, 238);
  justify-content: space-between;
}
.input {
  border: none;
  outline: none;
  height: 40px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  padding-left: 10px;
  background-color: rgb(238, 238, 238);
  font-size: 15px;
  color: black;
}
.add-btn {
  height: 100%;
  width: 90px;
  border-radius: 30px;
  border: none;
  background-color: rgb(255, 104, 34);
  font-size: 20px;
  color: white;
  cursor: pointer;
}
.list-box {
  width: 85%;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: column;
  margin-top: 10px;
  overflow: scroll;
  height: 100%;
}
.list-box::-webkit-scrollbar {
  display: none;
}
.list {
  display: flex;
  border: 2px solid black;
  border-radius: 20px;
  width: 100%;
  height: 40px;
  padding-left: 5px;
  padding-right: 10px;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.delete {
  border: none;
  outline: none;
  background-color: transparent;
  font-size: 20px;
  cursor: pointer;
  transition: 1s;
}
.delete:hover {
  color: red;
  transition: 0s;
}
li .checkbox:has(input:checked) ~ p {
  color: #b8b6b6;
  text-decoration: line-through;
}
