*{
    margin: 0;
    padding: 0;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #213bb0, #a26ded);
    width: 100vw;

}

#container{
    width: 40%;
    background-color: rgba(255, 255, 255, 0.473);
    padding: 20px 15px 40px;
    border-radius: 3ch;
    max-height: 70vh;
    overflow-y: scroll;
    position: absolute;
    top: 150px;
    box-shadow: 0 0 50px rgb(15, 2, 255);
    border: 0.5px solid white;
}

h1{
    font-size: 1.5rem;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    margin-left: 15px;
    padding-bottom: 10px;
}

.addlist{
    position: sticky;
    top: 0; 
    margin: 7px 10px;
    display: flex;
    border-radius: 4ch;
    background-color: rgb(255, 255, 255);
}

#adding{
    width: 90%;
    height: 50px;
    border: none;
    border-top-left-radius: 4ch;
    border-bottom-left-radius: 4ch;
    border-top-right-radius: 4ch;
    padding-left: 20px;
    background: transparent;
    outline: none;
}

.add{
    width: 150px;
    height: 50px;
    border: none;
    border-radius: 4ch;
    background-color: rgb(255, 0, 0);
    font-size: 18px;
    font-weight: bold;
}

.task{
    background-color: white;
    margin: 10px;
    padding: 10px 20px 10px 20px;
    border-radius: 3ch;
    background: linear-gradient(to top right, #c083c2, #5034cf);
    overflow-x: scroll;
}

.taskk{
    display: flex;
    justify-content: space-between;
}

.check{
    display: flex;
}

#tick{
    width: 15px;
    accent-color: red;
}

#addtask{
    font-size: 17px;
    padding-left: 8px;
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#adddate{
    font-size: 15PX;
    padding-left: 29px;
    padding-top: 2px;
}

@media(max-width:768px){
    #container{
        width: 70vw;
    }
}

@media(max-width:425px){
    .addlist{
        flex-direction: column;
    }
    .add{
        width: 100%;
    }
}







