@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
* 
{
  margin: 0;
  padding : 0;
  box-sizing: border-box;
}
#empty-image
{
  margin: -36px 28px 0 -28px;
  width: 80%;
  height: 70%;
  opacity: 88%;
}
body {
  font-family:"jost",serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: url("images/background.jpg") no-repeat center center/cover;
} 
.container 
{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.todo-app 
{
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column ;
  gap: 30px;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 100px rgba(0 ,0,0,0.5);
  border: 3px solid rgba(255,255,255,0.18);
  backdrop-filter: blur;

}
.todo-app h1{
  font-size: 2rem;
  color:#ff0033;
}
.input-area 
{
  display: flex;
  justify-content: center;
  align-items:center;
  width:100%;
}
.input-area input 
{
  flex: 1;
  padding: 8px 9px;
  font-size: 1.2rem;
  border: none;
  outline: none;
  border-radius: 22px;
  background:rgba(249, 175, 193, 0.8);
  color: #1b1a1a;
}
.input-area input::placeholder
{
  color:rgb(169, 57, 57);
}
.input-area button
{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 8px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  background: rgba(212, 91, 121, 0.9);
  border: 2px solid rgba(93, 89, 89, 0.18);
  cursor: pointer;
  transition:  all 0.2s ease;
}
.input-area button:hover
{
  transform: scale(1.1);
  background-color: #ef4466;
}
.todo-container
{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.task-list
{
  width: 100%;
  color:white;
}
.task-list li 
{
  flex:1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2rem;
  background: #d72f5f;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 30px;
  position: relative;
  transition: box-shadow 0.2s ease;
} 
.task-list li:hover 
{
  box-shadow: 0 0 10px rgba(0 ,0,0,0.5);
}
.task-list li .checkbox 
{  
  min-width: 20px;
  height: 20px;
  border: 2px solid #5c5b5b;
  background: transparent;
  border-radius: 50%;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.task-list li .checkbox:checked
{
  background: #ec1653;
  transform: scale(1.1);
}
.task-list li .checkbox:checked::before
{
  content: '\2713';
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-style: 1rem;
}
.task-list li span 
{
  flex:1;
  margin-left: 10px;
  word-wrap: break-word;
}
.task-buttons 
{
  display: flex;
  gap: 10px;
  
}
.task-buttons button 
{
  background:#ec768e;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: #fff;
  font-style: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.task-buttons .edit-btn 
{
  background:#ec1653;
}
.task-buttons .delete-btn 
{
  background:#ec1653;
}
.task-list li.completed span 
{
  text-decoration: 3px line-through #5e4048;
}
.stat-container 
{
  padding: 15px 10px;
  border-radius: 20px;
  border :2px solid rgba(66, 20, 20, 0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%; 
  backdrop-filter: blur;
}
.details h3 {
  color:#e20909;
}
.progressbar {
  width: 100%;
  height: 7px;
  background:rgba(163, 159, 159, 0.738);
  border-radius: 20px;
  border: 1px solid grey;
  position: relative;
  margin-top: 15px; 
}
.progress{
 width:0%;
 height:100%;
 background:#f90248;
 border-radius: 2px;
 transition: width o.3s ease;
}
#numbers 
{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  background:#ec1653;
  height: 80px;
  border-radius: 50%;
  border: 2px solid grey;
  font-weight: bold;
  font-size: 1.5rem;
}