@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');
body{
    font-family: Poppins;
    margin: 0;
}

*{
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  cursor: default;
}
.logo{
  color: white;
}
.container{
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, lightblue , black);
  padding: 10px;
}

header{
  width: 1200px;
  max-width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  grid-template-rows: 50px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}
header .logo{
  font-weight: bold;
}
header .menu{
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
}

a{
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.todo-app{
  width: 100%;
  max-width: 80vw;
  background: white;
  margin: 100px auto 20px;
  padding: 40px 30px 70px;
  border-radius: 10px;
}

.todo-app h2{
  color: black;
  display: flex;
  align-items: center;
  margin-bottom: 20px;  
}

.row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(206, 206, 206);
  border-radius: 30px;
  padding-left: 20px;
  margin-bottom: 25px;
  padding-top: 5px;
  padding-bottom: 5px;
}

input{
  flex:1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px;
  font-size: 15px;
  cursor: pointer;
}

.btn{
  text-align: end;
  padding-right: auto;
  margin-bottom: 25px;
}

button{
  padding: 10px 30px;
  border: none;
  outline: none;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.507);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s;
}

button:hover{
  background:black ;
  
}

button:active{
  opacity: 0.65;
}

ul li{
  list-style: none;
  font-size: 17px;
  padding: 12px 8px 12px 50px;
  user-select: none;
  cursor: pointer;
  position: relative;
}

ul li::before{
  content: " ";
  position: absolute;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background-image: url(images/unchecked.png);
  background-size: cover;
  background-position: center;
  top: 12px;
  left: 8px;
}

ul li.checked{
  color:#555;
  text-decoration: line-through;
}

ul li.checked::before{
  background-image: url(images/Font_Awesome_5_solid_check-circle.svg.png);
}

ul li span{
  position: absolute;
  right: 0;
  top: 5px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: #555;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
}

ul li span:hover{
  background: #edeef0;

}