*{
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    
}
body{
    font-family: 'Poppins', sans-serif;
}



.cotainer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding-top: 10px;
}


/* dark mode */
.dark-div{
    background-color: #1F2137;
}


.dark{
    background: url("images/bg-desktop-dark.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.all{
    display: flex;
    width: 80vw;
    flex-wrap: wrap;
    max-width: 630px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 90vh;
    gap: 20px;
    
}

/* light mode */

.light-div{
    background-color: white;
}

.light-text{
    color: black;
}

.light{
    background: url(images/bg-desktop-light.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* .lightbtn{
    background-color: #ffffff85;
} */

.title{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.adress{
    text-transform: uppercase;
    color: white;
}

.darklight{
    outline: none;
    border-style: none;
    padding:0px;
    background-color: rgba(255, 255, 255, 0);
    cursor: pointer;
}

.darklight img{
    flex-basis:40px;
}

.in-task input{
    border-style: none;
    outline: none;
    background: none;
    padding: 10px;
    width: 100%;
    font-size: large;
    color: white;
}

.in-task button{
    border-style: none;
    outline: none;
    background: none;
    cursor: pointer;
    background-color: #ffffff85;
}

.in-task{
    display: grid;
    grid-template-columns: 3fr 1fr;
    width: 100%;
    justify-content: space-between;
}

.adress{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}



.recentaly-tasks{
    flex:1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    overflow: auto;
    scroll-behavior: smooth;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    

}

.re-task{
    align-items: center;
    display: flex;
    width: 100%;
}


.checked input{
    width: 0px;
    padding:0px;
    height: 0px;
    display: none;

}
.checked{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}



.checked span{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #aaa;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0px;
    outline: none;
}

.checked input:checked + span{
    background: linear-gradient(135deg, #75C8F0, #B57CF4);
    overflow: hidden;
}

.checked input:checked +span::after{
    content: "";
    width: 8px;
    height: 16px;
    border: solid white;
    border-width:   0px 3px 3px 0px;
    overflow: hidden;
    transform: rotate(45deg) ;

}




.footer{
    display: flex;
    justify-content: space-between;
    width: 100%;

}

.footer button{
    background:#ffffff85;
    outline: none;
    border-style: none;
    cursor: pointer;
    padding: 5px;
}

.footer p{
    font-weight: bolder;
}



.sd{
    color: white;
}



.text{
    color:white;
}

.taskk{
    width: 100%;
    text-align: center;
    font-size: 30px;
}

.cont-btns{
    display: flex;
    gap: 5px;
}

.clear-btn , .edit-btn{
    background-color: #E2e2e2;
    outline: none;
    border-style: solid;
    border-width: 2px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size:larger;
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}





.editt{
    display: flex;
    top: auto;
    justify-content: center;
    align-items: center;
    position: absolute;
    gap: 10px;
    background: #1f2137c4;
    width: 60%;
    height: 60%;
    display:none;
    
    
}

.editt input{
    background:none;
    border: none;
    outline: none;
    width: 100%;
    color: white;
    font-size: larger;
}

.editt div{
    display: grid;
    padding-left: 2px;
    grid-template-columns: 80% 20%;
    border: 2px solid black;
}

.editt button{
    outline: none;
    cursor: pointer;
    background-color: #aaa;
    border: none;
    color: white;
}


.cotainer.light .editt{
    background: #e2e2e2b4;
}

.cotainer.light .editt button{
    background: black;
}

.cotainer.light .editt input {
    color: black;
}