* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(270deg, #4418f6, #08e481e0);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e4e7e5f8;
}


.container {
    display: flex;
    flex-direction: column;
    background: rgba(150, 189, 236, 0.918);
    background-attachment: scroll;
    width: 500px;
    height: auto;
    justify-content: center top;
    align-items: center;
    border-radius: 30px;
    flex-wrap: wrap;

}

.inputContainer input {
    flex: 1;
    color: black;
    border: none;
    outline: none;
    background: transparent;
    font-weight: 14px;
}

.inputContainer {
    background-color: rgba(244, 246, 248, 0.927);
    padding: 0.5rem 1.5rem;
    width: 50%;
    max-width: 100%;
    display: flex;
    justify-content: center space-between;
    border-radius: 20px;
    height: 40px;
    overflow: hidden;
}

 button {
   
    border: none;
    outline: none;
    padding: 0.5rem 1.5rem;
    font-size: 16px;
    background: white;
    color: black;
    border-radius: 20px;
    height: 40px;
    width: 2rem;
    align-items: center;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}
button:hover{
    background: black;
    color: white;
}

.container h1 {
    display: flex;
    color: rgb(47, 37, 37);
    justify-content: center;
    flex-direction: row;
    gap: 9px;
    margin: 20px 0;
}

.container h1 img {
    width: 30px;
    align-items: center;
    height: 30px;
}

.liContainer {
    width: 50%;
    margin-top: 1.5%;
    display: flex;
    justify-content: center top;
    padding-left: 5%;
    justify-content: space-between;
    list-style: none;
    flex-direction: column;
}
ul li{
    position: relative;
    padding: 12px 8px 12px 50px;
    user-select: none;
    cursor: pointer;
    color: black;
}
ul li::before{
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-image: url(images/unchecked.png);
    background-size: cover;
    background-position: center;
    top: 12px;
    left: 8px;
    flex: wrap;
}
ul li.checked{
    color: rgb(40, 33, 33);
    text-decoration: line-through black;
}
ul li.checked::before{
    background-image: url(images/checked.png);

}
ul li span{
    position: absolute;
    right: 0;

}

@media(max-width:624px){
    .container{
        width: 80%;
    }
}
@media(max-width:307px){
    .container{
        width: 50vw;
    }
    .wrap{
        flex-direction: column;
    }
}

span{
    text-align: center;
    width: 15px;
    border-radius: 50%;
    height: auto;
    transition: all 0.3s ease-in-out;
}

ul li span:hover{
    background-color: blanchedalmond;
    
}
.wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}