body {
    background: rgba(92, 184, 92, 0.7);
    display: flex;
}

#todo {
    width: 400px;
    margin: 50px auto;
    border-radius: 30px;
    border: 1px solid #cfd8dc;
    box-shadow: 0 0 10px #ccc;
}

.todo-header {
    background-color: #428bca;
    color: #fff;
    height: 80px;
    border-radius: 30px 30px 0 0;
}

.todo-header h2 {
    margin: 0;
    text-align: center;
    line-height: 80px;
    font-size: 35px;
    font-family: sans-serif;
}

.tasks {
    margin: 0;
    padding: 0;
}

.task {
    list-style: none;
    border: 1px solid #cfd8dc;
    height: 50px;
}

.task:last-child {
    border-radius: 0 0 30px 30px;
}

.task:last-child .col-1 {
    border-radius: 0 0 0 30px;
}

.task:last-child .col-3 {
    border-radius: 0 0 30px 0;
}

.add-block {
    height: 50px;
    border-top: 1px solid #cfd8dc;
    border-bottom: 1px solid #cfd8dc;
}

.add-field {
    width: 80%;
    height: 50px;
    padding: 0 15px;
    box-sizing: border-box;
    float: left;
    outline: none;
    font-size: 18px;
    font-family: sans-serif;
}

.add-button {
    border: 0;
    padding: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    outline: none;
}

.col-1 {
    width: 10%;
    height: 100%;
    float: left;
    background-color: #5bc0de;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-2 {
    width: 70%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 10px;
    background-color: #fff;
    font-family: sans-serif;
    box-sizing: border-box;
    float: left;
}

.col-3 {
    width: 20%;
    height: 100%;
    float: left;
    background-color: #5bc0de;
}

.col-3:hover {
    background-color: #d9534f;
    cursor: pointer;
}

.task-remove {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.task-remove img {
    height: 40%;
    color: #fff;
    filter: brightness(0) invert(1);
}

.checked {
    text-decoration: line-through;
    color: #999;
}
