
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: "roboto mono", monospace;
}
*::selection {
    background-color: #000;
    color: #fff;
}
body{
    width: 100%;
    height: 100vh;
    background-color:#FF6767;
    background-image: url(assets/image.png);
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
}
#todoapp{
    width: 100%;
    max-width: 650px;
    margin: 100px auto 20px;
    background-color: #fff;
    padding:40px 30px 70px;
    border-radius: 10px;
}
#heading{
    display: flex;
    align-items: center;
    gap : 10px;
    margin-top: 10px;
    margin-bottom: 30px;
   
    justify-content: center;
}
#heading h1{
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    color: transparent;
    -webkit-text-stroke: 3px black;
}

#heading svg{
    width: 50px;
    height: 50px;
    
}
#dateandtime{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;

}
#date,#day{
    font-size: 20px;
    font-weight: 500;
    color: #000;
    font-family: 'roboto mono', monospace;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#inputbox{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-left: 20px;
    border-radius: 40px;
    background-color: #edeef0;
    font-family: 'roboto mono', monospace;
}
input{
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
}
#addbtn {
    border: none;
    outline: none;
    background: #ff5945;
    color: #fff;
    padding: 16px 50px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 30px;
    font-family: 'Roboto Mono', monospace;
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: moveInBottom 1s ease-out;
    animation-fill-mode: backwards;
}


#addbtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#addbtn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


#addbtn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #ff5945;
    border-radius: 30px;
    z-index: -1;
    transition: all 0.4s;
}

#addbtn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}


@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

ul li{
    list-style: none;
    font-size: 20px;
    padding:12px 50px 12px 50px ;
    user-select: none;
    cursor: pointer;
    position: relative;

}
ul li::before{
    content:'';
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-image: url(assets/unchecked.png);
    background-size: cover;
    background-position: center;
    left: 8px;
    top: 12px;
   
}
ul li.checked{
    color: #555;
    text-decoration: line-through;

}
ul li.checked::before{
    background-image: url(assets/checked.png);
    background-size: cover;
}
ul li span{
    position: absolute;
    right: 10px;
    top: 50%;
    font-size: 25px;
    width: 40px;
    height: 40px;
    color:#555;
    line-height: 40px;
    text-align: center;
}
ul li span:hover{
    background-color: #ff6767;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s ease;
}

footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    color: #555;
    font-weight: 500;   
}