*,
*::before,
*::after {
    box-sizing: border-box;
}

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

#container {
    display: relative;
    color: rgb(186, 202, 196);
    box-shadow: 6px 6px 9px rgba(154, 198, 173, .2);
    max-width: 500px;
    margin: 100px auto;
}

h1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(141, 157, 15);
    color: white;
    margin: 0;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 3px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    letter-spacing: .5px;
}

span, li {
    cursor: pointer;
}

.fa-trash {
    cursor: grab;
}

#plus::after {
    content: "\2b";
    display: inline-block;
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    font-style: normal;
    font-variant: normal;
    font-size: 1.75em;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-bottom: .25em;
}

#plus:hover {
    color: rgb(24, 44, 42);
}

/* Little experiment */
#plus {
    -moz-transition: all .25s linear;
    -webkit-transition: all .25s linear;
    transition: all .25s linear;
}

#plus.down {
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* End of little experiment */

li {
    background: rgb(24, 44, 42); 
    height: 2.5em;
    line-height: 40px;
}

li:nth-child(2n) {
    background: darkslategray;
} 

li span {
    background: rgb(141, 157, 15);
    height: 40px;
    margin-right: 20px;
    text-align: center;
    color: white;
    width: 0;
    display: inline-block;
    transition: 0.2s linear;
    opacity: 0;
}

li:hover span {
    width: 40px;
    opacity: 1.0;
}

input {
    font-size: 18px;
    color: rgb(24, 44, 42);
    background-color: rgb(186, 202, 196);
    width: 100%;
    padding: 13px 13px 13px 20px;
    box-sizing: border-box;
    border: 3px solid rgba(0,0,0,0);
}

input:focus {
    background: #ffffff;
    border: 3px solid rgb(141, 157, 15);
    outline: none;
}

.completed {
    color: rgb(141, 157, 15);
    text-decoration: line-through;
}

.fa-plus {
    float: right;
}

.hidden {
    display: none;
}