* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#container {
  width: 100%;
  height: 100vh;
  background-color: rgb(255, 202, 255);
  padding: 10px;
}
.to-do-app {
  width: 100%;
  max-width: 540px;
  margin: 100px auto 20px;
  padding: 40px 30px 70px;
  background: #fff;
  border-radius: 10px;
}
.header {
  font-family: 'Press start 2p';
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: #92112d;
}
.header img {
  width: 50px;
}
.bar {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  height: 3rem;
  background: #e65484;
  border-radius: 30px;
}
input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 19px;
  font-size: 22px;
  font-family:Cedarville Cursive ;
  color: #fff5f5;
}
input::placeholder {
  color: #fff5f5;
  font-size: 18px;
}
ul li {
  justify-content: space-around;
  gap:4px;
  list-style: none;
  font-size: 22px;
  padding: 12px 8px 12px 50px;
  user-select: none;
  cursor: pointer;
  position: relative;
  font-family: Cedarville Cursive;
}
ul li::before {
  content: " ";
  position: absolute;
  width: 28px;
  height: 28px;
  background-image: url(unchecked.png);
  background-size: cover;
  background-position: center;
  left: 9px;
  top: 18px;
}
ul li.checked {
  color: rgb(0, 0, 0);
  text-decoration: line-through;
}
ul li.checked::before {
  background-image: url(checked.png);
}
ul li span {
  position: absolute;
  right: 10px;
  top: 20px;
  width: 25px;
  height: 25px;
  font-size: 30px;
  color: rgb(238, 65, 160);
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
}
button {
  background-color:#e65484;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .to-do-app {
    width: 95vw;
    padding: 30px 20px 60px;
  }

  .header {
    font-size: 14px;
    gap: 0.5rem;
  }

  .header img {
    width: 35px;
  }

  input {
    font-size: 18px;
    padding: 14px;
  }

  input::placeholder {
    font-size: 16px;
  }

  ul li {
    font-size: 18px;
    padding: 10px 8px 10px 45px;
  }

  ul li::before {
    width: 24px;
    height: 24px;
    top: 14px;
    left: 8px;
  }

  ul li span {
    font-size: 24px;
    top: 16px;
    right: 8px;
  }

  button {
    width: 25px;
    height: 25px;
    margin-top: 1.5rem;
  }
}