*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url(bookimg.jpg)no-repeat center center/cover;
    font-family:'Segoe UI';
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 90%;
    padding: 0 10px;
}
.to-do-app{
    width: 100%;
    max-width: 400px;
    padding:2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    color: azure;
    border-radius: 20px;
    box-shadow: 0 0 100px;
    border: 3px solid;
    backdrop-filter: blur(5px);
}
.to-do-app h1{
    font-size: 2rem;
}
.input-area{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.input-area input{
    flex: 1;
    padding: 10px 10px;
    font-size: 1.1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    background-color: rgba(163, 127, 127, 0.904); 
}
.input-area input::placeholder{
    color: azure;
}
.input-area button{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-left: 10px;
    border-radius: 60px;
    color: azure;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background-color: rgba(168, 142, 142, 0.904); 
    border: 2px solid;
    cursor: pointer;
}
.input-area button:hover{
    transform: scale(1.1);
    background-color:rgba(163, 127, 127, 0.904) ;
}
.todos-container{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: medium;
}
#task-list{
    width: 100%;
}
#task-list li{
    align-items: center;
    display: flex;
    justify-content:space-between;
    background-color:rgba(201, 173, 173, 0.904) ;
    margin-bottom: 10px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    color: black;
    position: relative;
    transition: box-shadow 0.2s ease;
}
#task-list li:hover{
    box-shadow: 0 0 10px;
}
#task-list li .checkbox{
    min-width:19px;
    height:19px;
    border:1px solid;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
    transition: all 0.2s ease;
}
#task-list li.checkbox:checked{
    background: rgba(163, 127, 127, 0.904) ;
    transform: scale(1.0);
}
#task-list li .checkbox:checked::before {
    content:"\2713"; /* tick mark*/
    color:azure;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}
#task-list li span{
    flex:1;
    margin-left: 10px;
    word-wrap: break-word;
}
.task-buttons button{
    background-color: rgba(163, 127, 127, 0.904);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: azure;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.task-buttons{
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}
.task-buttons button:hover{
    transform: scale(1.2);
}
.task-buttons .edit-button{
    background-color: rgb(161, 93, 93);
}
.task-buttons .delete-button{
    background-color: rgb(161, 93, 93);
}
.completed span{
    text-decoration: line-through;
    color: black;
}