* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

.container {
  min-width: 100%;
  min-height: 100vh;
  background-image: linear-gradient(
    90.2deg,
    rgba(1, 47, 95, 1) -0.4%,
    rgba(56, 141, 217, 1) 106.1%
  );
  padding: 10px;
}

.todo-app {
  width: 100%;
  max-width: 800px;
  background: #fff;
  margin: 100px auto 20px;
  padding: 30px 30px 90px;
  border-radius: 10px;
}

.todo-app h2 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: rgb(16, 91, 156);
  font-size: 30px;
  font-weight: bold;
}
.todo-app h2 img {
  width: 50px;
}
.row {
  display: flex;
  background-color: #dbdcde;
  border-radius: 20px;
  margin-top: 30px;
}
.row input {
  flex: 1;
  border-radius: 20px;
  padding-left: 20px;
  border: none;
  outline: none;
  background: transparent;
}
.row input::placeholder {
  font-size: 15px;
}
.row button {
  border: none;
  outline: none;
  background-color: #4bae4f;
  color: #fff;
  font-size: 18px;
  border-radius: 20px;
  padding: 15px 50px;
}
ul {
  list-style: none;
  font-size: 17px;
  color: black;
  padding-top: 50px;
}
ul li {
  margin-bottom: 30px;
  padding-left: 50px;
  padding-right: 100px; /* ✅ Add this line */
  position: relative;
  word-wrap: break-word; /* ✅ Allow word wrapping */
}
ul li::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-image: url(images/unchecked.png);
  background-size: cover;
  position: absolute;
  left: 0px;
}
ul li.checked::before {
  background-image: url(images/checked.png);
}
ul li.checked {
  text-decoration: line-through;
  color: #616161;
}
ul li span {
  position: absolute;
  right: 0;
  font-size: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
}

ul li span:hover {
  background-color: #dadcde;
}
ul li button {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  text-align: center;
  border: none;
  outline: none;
  background: transparent;
  color: black;
}
@media only screen and (max-width: 370px) {
  .row button {
    padding: 15px 45px;
  }
}

@media only screen and (max-width: 350px) {
  .row button {
    padding: 15px 40px;
  }
}
@media only screen and (max-width: 340px) {
  .row button {
    padding: 15px 35px;
  }
}
@media only screen and (max-width: 325px) {
  .row button {
    padding: 15px 30px;
  }
}
@media only screen and (max-width: 310px) {
  .row input {
    padding-left: 15px;
  }
}
@media only screen and (max-width: 300px) {
  .row input {
    padding-left: 12px;
  }
  .row button {
    padding: 15px 25px;
  }
}
