*{
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-sizing: border-box;
}

.container {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(144deg, #fb7fff, #4fffff);
    padding: 1rem;

}

#todoList{
    background-color: beige;
    border-radius: 10px;
    padding: 1rem;
    margin: 6.25rem auto 3rem;
    height: 100%;
    width: 50%;

}

h2{
    margin: 1rem auto;
    margin-left: 3rem;
}

#input-task{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 2rem;
    padding-left: 2rem;
    padding-right: 4rem;
}

#input{
    flex: 1;
    font-size: 1rem;
    border: none;
    outline: none;
    background: white;
    padding: 1rem;
    border-radius: 30px;
}

#addButton{
    border-radius: 30px;
    margin-left: 1rem;
    background-color: rgb(85, 0, 155);
    cursor: pointer;
    border: none;
    outline: none;
    padding: 1rem 3rem;
    color: #ffffff;
}

#List{
    margin: 0 auto;
    padding-top: 2rem;
    padding-left: 3rem;
    padding-right: 5rem;
}

#List li{
    list-style: none;
    font-size: 1rem;
    padding: .8rem .5rem .8rem 3rem;
    user-select: none;
    cursor: pointer;
    position: relative;
}

#List li::before{
    content: '';
    position: absolute;
    height: 25px;
    width: 25px;
    border-radius: 8px;
    background-image: url(images/uncehcked.png);
    background-size: cover;
    background-position: center;
    top: 10px;
    left: 8px;
}

#List li.checked{
    color: #555;
    text-decoration: line-through;
}

#List li.checked::before{
    background-image: url(images/checked.png);
}

#List li span{
    position: absolute;
    right: 0px;
    top: 5px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: #555;
    line-height: 40px;
    text-align: center;
}

#List li span:hover{
    background: #edeef0;
}
