
:root {
--background:#000430;
--secondaryBackground: #171c48;
--text: #fff;
--purple: #828dff;
--teal: #24feee;
}
*{
    margin:0px;
    padding: 0px;
    box-sizing: border-box;
}



body{
  font-family: 'Montserrat', sans-serif;


    background-color: var(--background);
    color: var(--text);
}
form{
    margin-top: 60px;
    width:100%;
    display:flex;
    gap: 10px;
}
input{
    flex:1;
    padding:16px;
    background: var(--secondaryBackground);
    border :1px solid var(--purple);
    border-radius:10px ;
    outline: none;
    color: var(--teal);
}
button{
    width:50px ;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    background-color: var(--purple);
    justify-content: center;
    color: rgb(246, 246, 246);
    font-size: 30px;
    font-weight: bold;
}

.container{
    display:flex ;
    flex-direction:column ;
    align-items:center ;
    justify-content:center ;
    margin: top 120px; 
    max-width: 600px;
    margin: 120px auto 0 auto; ;
}
.stats{
    padding: 10px;
    border-radius: 10px;
    border: 2px solid var(--purple);
    display: flex;
    gap:50px;
    width:100%;
}
.details{
    width: 100%;
    
}
.task{
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 10px;
    /* border-radius: 10px;
    background-color: var(--secondaryBackground); */
}
.task input{
    width: 20px;
    height: 20px;


}
.taskItem{
    display: flex;
    align-items: center;
    border-radius: 10px;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--secondaryBackground);
    align-items: center;
    
}
.taskItem img{
    width: 24px;
    height: 24px;
    margin:"0 10px";
    cursor: pointer;
}
/* Add line-through to completed tasks */
.task.completed p {
    text-decoration: line-through;
    color: #888;
}
.task.completed {
    background-color:  null;
}
#task-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    width: 100%;
    list-style: none;
}
#progress{
    width:50%;
    height:20px;
    background-color: var(--teal);
    border-radius: 10px;
    transition: width 0.5s ease;
}
#progress-bar{
    width:100%;
    height:20px;
    background-color: var(--secondaryBackground);
    border-radius: 5px;
    margin-top: 2px;
}
#numbers{
    width:100px ;
    height: 100px;
    background-color: var(--purple);
    display:flex;
    align-items: center ;
    justify-content: center;
    border-radius:50%;
    font-size:30px;
    font-weight:bold;
}