@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

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

html {
  font-size: 62.5%;
}

body {
  background: linear-gradient(135deg, #223276, #3c1051);
  display: flex;
  justify-content: center;
  padding: 10px;
}
.card {
  height: 100%;
  width: 100%;
  max-width: 540px;
  background-color: #fefefe;
  border-radius: 10 px;
  padding: 40px 30px 70px;
  margin-top: 70px;
  display: flex;
  /* align-items: center; */
  flex-direction: column;
  row-gap: 23px;
}
.header {
  display: flex;
  align-items: center;
  column-gap: 10px;
  align-self: flex-start;
}
.header img {
  width: 27px;
}
.search-box {
  display: flex;
  align-items: center;
}
.search-box input {
  border: none;
  outline: none;
  background-color: #ebedee;
  color: #787a7c;
  height: 45px;
  padding: 0 20px;
  border-radius: 40px;
  font-size: 1.2rem;

  width: 400px;
  margin-right: -94px;
}

.search-box button {
  font-size: 1.2rem;
  height: 45px;

  padding: 0 35px;
  border-radius: 30px;
  background-color: #ff643b;
  border: none;
  outline: none;
  color: #fff;
  transition: .4 all ease;
  cursor: pointer;
}

.search-box button:hover{
    opacity: .7;
}

ul li{
    list-style: none;
    font-size: 1.7rem;
    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);
left: 8px;
top: 12px;
background-size: cover; 
}


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

}

ul li.checked::before{
background-image: url(./images/checked.png);
}
ul li span{
  position: absolute;
  right: 0;
  top: 5px;
  width: 40px;
  height: 40px;
  font-size: 2.2rem; 
  color: #555;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
}

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


@media(max-width:510px){
  .card{
    max-width: 340px;
  }

}