@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  font-size: 62.5%;
}
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #153677, #4e085f);
}

.container {
  width: 100%;
  min-height: 100vh;
  padding: 1rem;
}
.todo-app {
  width: 100%;
  max-width: 540px;
  background: #fff;
  margin: 10rem auto;
  border-radius: 2rem;
  padding: 2rem;
}
.heading {
  margin: 1rem;
  text-align: center;
}
.heading h2, i{
  font-size: 2rem;
  display: inline-block;
  margin: 0.5rem;
}
.todo-app i{
  color: #153677;
}
.todo-app .input-data{
  display: flex;
  justify-content: space-between;
  align-items: center;

}
.input-data input{
  flex: 1;
  border-radius: 1rem;
  outline: none;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 600;

}
.btn{
  width: 100px;
  padding: 1rem;
  border-radius: 1rem;
  border: 2px solid  #4e085f;
  background: linear-gradient(135deg, #153677, #4e085f);
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover{
  background: none;
  color: #4e085f;
}

.todo-app ul{
  list-style: none;
  font-size: 1.6rem;
  padding: 1rem;
  font-weight: 500;

}
ul li{
  padding: 0.5rem;
  margin-left: 1rem;
  cursor: pointer;
  position: relative;

}
ul li::before{
  content: "";
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  border: 2px solid black;
  position: absolute;
  left: -20px;
  top: 10px;
}

li.checked{
  text-decoration: line-through;
  font-weight: 600;
}
li.checked::before{
  background: crimson;
}
li span{
  position: absolute;
  right: 0;
  top: 5px;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 2rem;
  text-align: center;
  line-height: 3rem;
  transition: all 0.3s ease;
}
li span:hover{
  background: lightgray;

}