html * {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: sans-serif;
	background: #fff;
	color: #333;
	font-size: 18px;
}

div.container {
	margin: 0 auto 3rem;
	padding: 1rem;
	max-width: 30rem;
}

h1 {
	margin: 0;
	font-size: 150%;
	font-weight: bold;
	line-height: 120%;
}

p {
	font-size: 100%;
	line-height: 140%;
	margin: 0;
}

h1 input {
	margin-bottom: .5rem;
}

p input {
	margin-top: .5rem;
}

table {
	margin: 1rem -1rem 2rem;
	border-collapse: collapse;
}

th {
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: .1em;
	text-align: left;
	font-size: 75%;
	padding: .25rem 1rem;
}

td {
	padding: .5rem 1rem;
	margin: 0;
	background: #eee;
}

tr:nth-child(2n) td {
	background: #fff;
}

td.item {
	width: 60%;
	line-height: 140%;
}

.item-title {
	width: 100%;
	min-height: 1rem;
}

td.person {
	width: 40%;
}

input[type=text] {
	font-size: 100%;
	padding: .25rem .5rem;
	border: solid 1px #999;
	border-radius: 3px;
	color: #333;
	width: 100%;
}

div.add {
	text-align: center;
}

#add {
	text-decoration: none;
	margin: 0 auto;
	display: inline-block;
	padding: .75rem 1rem;
	border-radius: .25em;
	background: #ddd;
	color: #333;
	font-size: 100%;
	border: none;
	cursor: pointer;
}

.button-container {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, .5);
}

.button-container .container {
	margin-top: 0;
	margin-bottom: 0;
}

.button {
	display: block;
	padding: .75rem;
	width: 100%;
	background: orange;
	border: none;
	cursor: pointer;
	border-radius: 99px;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #000;
	-webkit-appearance: none;
}

#reset {
	background: #ecb5b5;
	color: #000;
	border-radius: .5em;
	border: none;
	padding: .5em 1em;
	margin-top: .5em;
}

#reset:active {
	background: green;
	color: white;
}

.message {
	padding: .75rem 1rem;
	background: seagreen;
	color: #fff;
	font-weight: bold;
	line-height: 140%;
	margin: 1rem -1rem;
	border-radius: .2rem;
}
