html, body {
  height: 100%;
}

body {
  font-family: 'Roboto', sans-serif; 
  background: #c2e59c;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #64b3f4, #c2e59c);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #64b3f4, #c2e59c); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  display: flex;
  align-items: center;
}

h1 {
  background-color: #2980b9;
  color: white;
  margin: 0;
  padding: 10px 20px;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 400; /* h1 is bold by default */
  line-height: 24px;
}

.fa-plus {
  float: right;
}

ul {
  list-style: none; /* remove the bullet points */
  margin: 0;
  padding: 0;
}

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

li:nth-child(2n) {
  background-color: #f7f7f7; 
}

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

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

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

input:focus {
  background-color: #fff;
  border: 3px solid #2980b9;
  outline: none; /* remove the default border */
}

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

.completed {
  color: gray;
  text-decoration: line-through;
}