* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Popins', sans-serif;
}
.container {
  width: 100%;
  min-height: 100vh;
  background-image: url('./img/login.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 15px;
}
.to-do-list {
  width: 100%;
  max-width: 500px;
  background-color: rgba(250, 250, 250, 0.25);
  margin: 100px auto 25px;
  padding: 40px 25px 60px;
  border-radius: 15px;
}
.to-do-list h3 {
  color: midnightblue;
  font-weight: bold;
  font-family: papyrus;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 25px;
}
.to-do-list h3 img {
  width: 50px;
  border-radius: 10px;
  margin-left: 15px;
}
.box-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 15px;
  margin-bottom: 20px;
}
input {
  color: midnightblue;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  flex: 1;
  border-style: none;
  padding: 15px;
  border-radius: 20px;
  background-color: rgb(250, 250, 250);
  margin-right: 10px;
}
button {
  background-color:snow;
  border-style: none;
  margin: 10px;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
}
button#add {
  color: green;
  font-weight: bold;
}
button#reset {
  color: red;
  font-weight: bold;
}
ul li {
  list-style-type: none;
  user-select: none;
  font-size: 18px;
  padding: 15px 10px 10px 60px;
  cursor: pointer;
  position: relative;
  color: navy;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
}
ul li::before {
  content: '';
  background-image: url('./img/uncheck.png');
  background-size: cover;
  background-position: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  left: 15px;
}
ul li.check {
  text-decoration: line-through;
  color: gray;
  font-style: italic;
}
ul li.check::before {
  background-image: url('./img/checked.png');
}
ul li span {
  position: absolute;
  right: 10px;
  top: 14px;
  width: 25px;
  height: 25px;
  color: rgba(255, 0, 0, 0.5);
}
ul li span:hover {
  color: black;
  text-decoration: line-through;
}
button#add:hover {
  background-color:green;
  color: white;
}
button#reset:hover {
  background-color:yellow;
  color: green;
}

@media (max-width: 768px) {
  .to-do-list {
    margin: 50px auto;
    padding: 25px 15px;
  }

  .to-do-list h3 {
    font-size: 20px;
    flex-direction: column;
  }

  .to-do-list h3 img {
    width: 40px;
    margin-left: 0;
    margin-top: 10px;
  }

  .box-content {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-left: 0;
  }

  input {
    width: 100%;
    margin-right: 0;
    padding: 12px;
    font-size: 16px;
  }

  button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin: 5px 0;
  }

  ul li {
    font-size: 16px;
    padding-left: 50px;
  }

  ul li::before {
    width: 20px;
    height: 20px;
    top: 14px;
    left: 10px;
  }

  ul li span {
    right: 5px;
    top: 12px;
  }
}

.benefit p::before {
    content:none;
}
