@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --gray: #333;
  --green: #4bae4f;
  --light-gray: #edeef0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--gray);
}

.container {
  min-width: 100vh;
  padding: 10px;
}

.todo-list {
  background-color: #fff;
  max-width: 560px;
  margin: 100px auto 20px;
  padding: 40px 30px 70px;
  border-radius: 10px;
}

.todo-list .title img {
  width: 37px;
  margin-left: 10px;
}

.todo-list .title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.raw {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.raw input {
  background-color: var(--light-gray);
  width: 80%;
  border: none;
  outline: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 14px;
}

.raw button {
  border: none;
  background-color: var(--green);
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.9s ease;
}

.raw button:hover {
    box-shadow: 0 0 10px #333;
    transform: scale(0.8);
}

#task-list li {
  list-style: none;
  font-size: 18px;
  padding: 12px 8px 12px 50px;
  position: relative;
}

#task-list li span {
  position: absolute;
  right: 19px;
  top: 5;
  cursor: pointer;
  text-align: center;
  font-size: 25px;
}

#task-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 10px;
  width: 18px;
  height: 18px;
  background: url("images/unCheck.PNG") center/cover;
  cursor: pointer;
}
#task-list li.checked::before {
  background: url("images/check.PNG") center/cover;
}

#task-list li.checked {
  text-decoration: line-through;
}
