@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


:root{
    --bg-color:#090113;
}

.todo-container{
    display: flex;
    align-items: self-start;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-image: url('../images/background.jpg');
    background-size: cover;
    padding: 40px;
    position: relative;
}
.main-todo{
    border-radius: 10px;
    width: 600px;
    height: 450px;
    border: 1px solid #ffffff;
    background-color: aliceblue;
    padding: 20px;
    position: relative;
    overflow-y: auto;
}
.main-todo{
    border-left: 5px solid rgb(255, 82, 1);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}


.input-task{
    max-width: 500px;
    position: relative;
    padding: 5px;
    margin-bottom: 30px;
    margin-left: 30px;
    z-index: 100;
}
.input-task button{
    position: absolute;
    right: 6.5px;
    top: 6px;
    border-radius: 35px;
    padding: 12.5px 30px;
    font-size: 20px;
    color: #482c69;
    outline: none;
    cursor: pointer;
    border: 1px solid rgba(26, 11, 78, 0.993);
   background-color: transparent;
   transition: all 0.5s ease;
}

.input-task button:hover{
    background-color: rgb(255, 82, 1);
    color: #ffffff;
    border: 1px solid rgb(255, 255, 255);
}







.input-task input{
    width: 100%;
    padding: 15px 15px;
    border-radius: 30px;
    outline: none;
    background: rgba(30, 27, 43, 0.178);
    font-weight: 500;
    font-size: 18px;
    transition: 0.3s;
    border: 1px solid rgba(12, 7, 58, 0.685);
}
::placeholder{
    position: relative;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 1px;
    color: rgb(20, 10, 65);
    text-transform: capitalize;
}

.input-task input:focus{
    border: 1px solid rgb(255, 82, 1);
}

.task-display{
    padding: 5px;

}
ul{
    list-style: none;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}
ul li{
    cursor: pointer;
    position: relative;
    display: flex;
    margin-left: 20px;
    gap: 0 10px;
    font-size: 20px;
    font-weight: 500;
    opacity: 1;
    text-shadow: 1px 1px 1px rgba(20, 10, 65, 0.774);
}

ul li::before{
    content: '';
    position: absolute;
    background-image: url('../images/noncheck.png');
    height: 22px;
    width: 22px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-left: -32px;
    margin-top: 5px;

}



/* ul li span img{
    position: relative;
    top: 3px;
    filter: drop-shadow(1px 2px 4px rgb(27, 14, 87));
} */

ul li.checked{
    text-decoration: line-through 2px;
    text-decoration-color: #482c69;
}

ul li.checked::before{
    background-image: url('../images/check.png');
}

.del{

    position: absolute;
    right: 10px;
    font-size: 23px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    row-gap: 5px;
    transition: 0.3s;
}

.del:hover{
    background-color: rgb(220, 209, 238);
    color: #ffffff;
}

.del::after{
    content: '';
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: #090113;
    transform: rotate(45deg);
}

.del::before{
    content: '';
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: #090113;
    transform: rotate(135deg);
}





@media (max-width:500px) {
    .input-task button{
        border-radius: 35px;
        padding: 12.5px 10px;
    }
    


.todo-container{
    padding: 20px;
}
}

@media (max-width:376px) {
.input-task label{
    display: none;
}
}

::selection{
    color: #ffffff;
    background-color: rgb(255, 82, 1);
    padding: 5px 15px;
}

.h2{
    font-size: 25px;
    font-weight: 700;
    text-shadow: 0px 0px 3px rgb(255, 82, 1);
}