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

html {
  font-size: 62.5%;
}

.container {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(145deg, #4e08, #153677);
  padding: 1rem;
}

.todo-app {
  width: 100%;
  max-width: 54rem;
  background: white;
  margin: 5rem auto 2rem;
  padding: 4rem 3rem 7rem;
  border-radius: 1rem;
}

.todo-app h2 {
  color: #002765;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #edeef0;
  border-radius: 3rem;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 1rem;
  font-weight: 14px;
}

button {
  border: none;
  outline: none;
  padding: 16px 50px;
  background: #ff5945;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4rem;
}

ul li {
  list-style: none;
  font-size: 17px;
  padding: 12px 8px 12px 40px;
  user-select: none;
  cursor: pointer;
  position: relative;
}

ul li::before {
  content: "❌";
  position: absolute;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  top: 12px;
  left: 10px;
}

ul li.checked {
  color: #555;
  text-decoration: line-through;
}

ul li.checked::before {
  content: "✔";
}

ul li span {
  position: absolute;
  right: 0;
  top: 5px;
  color: #555;
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
  line-height: 4rem;
  text-align: center;
  border-radius: 50%;
  transition: 0.3s;
}

ul li span:hover {
  background: #edeef0;
}
