/*
color key
lightgray: rgb(211,211,211);
2nd lightgray: rgb(231, 231, 231)
darkgray: rgb(105, 105, 105);
dark purple: rgb(86,34,93);
offwhite: rgb(247, 247, 247);
*/

* {
	font-family: 'Roboto', sans-serif;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: rgb(105, 105, 105);
}

body {
	width: 400px;
	margin: 100px auto;
	background: #4568DC; /* fallback for old browsers */
	background: -webkit-linear-gradient(to left, #4568DC , #B06AB3); /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to left, #4568DC , #B06AB3); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
	box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);    
}

.container {
	background: rgb(247, 247, 247);
}

h1 {
	background: rgb(86,34,93);
	color: rgb(255, 255, 255);
	font-weight: normal;
	padding: 10px;
	padding-left: 20px;
	text-transform: uppercase;
	font-size: 24px;
	margin: 0;
	display: flex;
	justify-content: space-between;
	height: 50px;
}

.fa-plus {
	padding-top: 3px;
}

input {
	margin: 0;
	width: 100%;
	border: none;
	padding: 10px;
	padding-left: 20px;
	border: 2px solid rgb(247, 247, 247);
	background: rgb(255, 255, 255);
	font-size: 18px;
	color: rgb(86,34,93);
}

input:focus {
	outline: none;
	border: 2px solid rgb(86,34,93);
}

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

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

li {
	height: 30px;
	line-height: 30px;
}

li:nth-child(2n) {
	background: rgb(255, 255, 255);
}

i {
	color: white;
}

span {
	//visibility: hidden;
	background: rgb(101,105,208);
	width: 0;
	height: 30px;
	margin-right: 20px;
	text-align: center;
	display: inline-block;
	transition: 0.2s linear;
	opacity: 0;
	vertical-align: middle;
}

li:hover span {
	width: 30px;
	opacity: 1;
}
