@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css");
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
}
:root{
    font-size: 16px;
}
body{
    height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #153677 , #4e085f);
    display: flex;
    justify-content: center;
    align-items: center;

}

.container{
      background-color: #fff;
      width: 35rem;
      min-height: 18rem;
      max-height: 55rem;
      border-radius: 20px;
      display: flex;
      align-items: center;
      flex-direction: column;
      -webkit-border-radius: 20px;
      -moz-border-radius: 20px;
      -ms-border-radius: 20px;
      -o-border-radius: 20px;
}
.header{
    display: flex;
    justify-content: center;
    align-items: center;
}

h2{
    color: rgb(0, 0, 0);
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-right: 1rem;
}

.check{
    font-size: larger;
    font-weight: bolder;
}

.form{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #edeef0;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    width: 80%;
}

.input{
    flex: 1;
    padding-left: 20px;
    font-weight: 200;
    background-color: transparent;
    border: none;
    outline: none;
}


.add,.clear{
    color: #fff;
    background-color: rgb(255 88 69);
    border: none;
    outline: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    user-select: none;
}

input::placeholder{
    user-select: none;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
}



#taskSection{

    width: 80%;
    margin: 20px 0px 20px;
    margin-left: 1px;
    list-style-type: none;
    padding-bottom: 50px;
}
#taskSection>li{
    padding-bottom: 40px;
}
ul li{
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 55px;
}

ul li::before{
    content: "";
    height: 28px;
    width: 28px;
    position: absolute;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    background-image: url("../img/unchecked.png");
    background-size: cover;
    background-position: center;
    top: 0px;
    left: 0px;
}





ul li.checked{

    color : #555;

    text-decoration : line-through;
} 


ul li.checked::before{

    background-image: url("../img/checked.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;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
ul li span:hover{
    background-color: #edeef0;
}

