body {
    font-family: 'Roboto', sans-serif;
    background: #005AA7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #FFFDE4, #005AA7);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #FFFDE4, #005AA7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

h1 {
    background: #2980b9;
    color: white;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
    padding: 10px 20px;
    text-transform: uppercase;
}

input {
    background: #f7f7f7;
    border: rgba(0, 0, 0, 0);
    color: #2980b9;
    box-sizing: border-box;
    font-size: 18px;
    padding: 13px 13px 13px 20px;
    width: 100%;    
}

input:focus{
    background: white;
    border: 3px solid #2980b9;
    outline: none;
}

li {
    background: white;
    color: #666;
    height: 40px;
    line-height: 40px;
}

li:hover span {
    opacity: 1;
    /* set width = 0
    when we hover over an li. we want to select the span that is within an li.
    then we set the width to 40px */
    width: 40px;
}

/* every other li */
li:nth-child(2n) {
    background: #f7f7f7;
}

span {
    background: #e74c3c;
    color: white;
    display: inline-block;
    height: 40px;
    margin-right: 20px;
    opacity: 0;
    text-align: center;
    transition: 0.2s linear;
    width: 0;    
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}



#container {
    background: #f7f7f7;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    margin: 100px auto;
    width: 360px;
}

.complete {
    color: grey;
    text-decoration: line-through;    
}