@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

body {
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    max-height: 100vh;
    max-width: 100vw;
    margin: auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background-color: rgb(0, 0, 0);
}
.main{
    height: 90vh;
    width: 600px;
    background-image: url('Assets/bg1.jpg');
    background-size: cover;               
    background-repeat: no-repeat;        
    background-position: center; 
    border: none;
    padding: 30px;
    border-radius:20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}
.count {
    display: flex;
    justify-content: space-around;
    height: 40px;
    align-items: center;
}
h1, .total ,.complete{
    text-align: center;
    margin: 10px;
}

.todo-item {
    display: grid;
    grid-template-columns: 35px 1fr 50px 50px 50px;
    align-items: center;
    gap: 10px;
    font-size: 27px;
    width: 100%;
    margin: 1px 0;
    height: 50px;
}


.done-btn {
    width: 34px;
    height: 34px;
    background-image: url('Assets/notdone.png');
    background-size: cover;               
    background-repeat: no-repeat;        
    background-position: center;  
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 12px;
   background-color: transparent;
}

.done{
    width: 36px;
    height: 36px;
    background-image: url('Assets/done.png');
    background-size: cover;               
    background-repeat: no-repeat;        
    background-position: center;  
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 12px;
    background-color: transparent;
}

.completed {
    text-decoration: line-through;
    transition: opacity 0.3s;
}

input {
    padding: 8px;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 18px;
    border: 2px solid black;
    border-radius: 6px;
    background-color: white;
    color: black;
    outline: none;
    width:7rem;
}

button#addBtn {
    padding: 8px 16px;
    font-size: 18px;
    font-family: "Pixelify Sans", sans-serif;
    border: 2px solid black;
    background-color: #e3accc;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

button#addBtn:hover {
    background-color: #5c1533;
    color: white;
}
.delete-btn {
    width: 55px;
    height: 55px;
    background-image: url('Assets/delete.png'); /* Add your icon */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 12px;
    background-color: transparent;
     /* Push it to the right */
}
.timeSpan {
    font-family: sans-serif;
    font-size: 15px;
    color: #5c1533;
    
}
.dateSpan {
    font-family: sans-serif;
    font-size: 15px;
    color: #5c1533;
    
}