*{
    padding: 0;
    margin: 0;
}

body{
    background-color: #E6425E;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper{
    margin: 120px auto;
    max-width: 400px;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
}

.wrapper .inputs{
    display: flex;
    height: 35px;
    width: 100%;
    margin: 20px 0;
}

.inputs input{
    width: 85%;
    height: 100%;
    border: 1px solid #ccc;
    font-size: 17px;
    border-radius: 3px;
    padding-left: 15px;
}

.inputs button{
    width: 40px;
    height: 100%;
    border: none;
    outline: none;
    background-color: violet;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 5px;
    opacity: 0.7;
    pointer-events: none;
}
.inputs button.active{
    opacity: 1;
    pointer-events: auto;
}

.wrapper .todolist{
    max-height: 250px;
    overflow-y: auto;
}

.todolist li{
    list-style: none;
    height: 45px;
    line-height: 45px;
    position: relative;
    background-color: #f2f2f2;
    border-radius: 3px;
    margin-bottom: 8px;
    padding: 0px 15px;
    cursor: default;
    overflow: hidden;
}


.todolist li span{
    position: absolute;
    right: -40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.todolist li:hover span{
    right: 0px;
}

.footer{
    display: flex;
    width: 100%;
    margin-top: 20px;
    justify-content: space-between;
}

.footer button{
    border: none;
    outline: none;
    background-color: violet;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    padding: 6px 10px;
    opacity: 0.6;
    pointer-events: none;
}

.footer button.active{
    opacity: 1;
    pointer-events: auto;
}