*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #000430;
    --secondartBackground: #171c48;
    --text: #fff;
    --purple: #828dff;
    /* --purple: rgb(8, 0, 255); */
    --teal: #24feee;
    --container: #000430;

}
.dark_theam {
    --background: rgb(220, 219, 219);
    --secondartBackground: #fff;
    --text: black;
    --purple: rgb(22, 241, 226);
    /* --purple: rgb(8, 0, 255); */
    --teal:red;
    --container: white;
    


  }
body{
    background-color: var(--background);
    color: var(--text);
    /* height: 100vh;  */
    display: flex; 
    justify-content: center; 
    margin: 0;
    
}

.container{
    display: flex;
    /* background-color: var(--container); */
    flex-direction: column;
    align-items:center ;
    justify-content: center;
    margin: 50px;
    max-width: 500px;
    
}

.stats-container{
    padding: 30px;
    border-radius: 20px;
    border: 2px solid white;
    display: flex;
    gap: 10px;
    justify-content:space-between ;
    gap: 20px;
    width: 100%;
    background-color: var(--container);
    box-shadow: rgb(52, 51, 51) 5px 10px 20px;


}
.details{
    width: 100%;
}
#progress{
    width: 0%;
    height: 10px;
    background-color: var(--teal);
    
    border-radius: 10px;
    transition: all 0.3s ease;
}

#numbers{
    width: 70px;
    height: 70px;
    background: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;

}

#progressBar{
    width: 100%;
    height:10px ;
    background-color: var(--secondartBackground);
    border-radius: 5px;
    margin-top: 20px;
    border: 0.1px solid rgb(200, 194, 194);

}

form{
    margin-top: 60px;
    width: 100%;
    display: flex;
    gap: 10px;
    
    

}

input{
    flex: 1;
    padding: 16px;
    background: var(--secondartBackground);
    border:  1px solid var(--purple);
    border-radius: 10px;
    outline: none;
    color:var(--text) ;
    
   

}

button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    color: var(--text);
    font-size: 30px;
    font-weight: bold;
    outline: none;
    border: none;

}

#task-list{
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
    list-style: none;
}

.taskItem{
    width: 100%;
    display: flex;
    background-color: var(--secondartBackground);
    padding: 10px;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgb(76, 75, 75) 8px 10px 15px;

}
.task{
    display: flex;
    align-items: center;
    gap: 10px;

}
.task input{
    width: 20px;
    height: 20px;
}
.taskItem img{
    width: 24px;
    height: 24px;
    margin: 0 10px;
    cursor: pointer;
}
.task{
    display: flex;
    align-items: center;
    gap: 10px;
}

.task input {
    width: 20px;
    height: 20px;
}

.completed p{
    text-decoration: line-through;
    color: var(--teal);

}













.darkbtn{
    width: 70px;
    height: 70px;
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
}
#sun{
    font-size: 40px;
    /* display: none; */
    /* color: black; */
}
#moon{
    font-size: 40px;
    display: none;
    
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#0a1a32;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    animation-delay: 3s;
  }
  
  #preloader img {
    width: 900px; /* Adjust the size as needed */
    height: 500px;
  } 
  