body{ 
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main {
	padding: 1em 5em;
}

main h1 {
	margin-top: 0;
}

#list-controls {
	border: 1px solid #5a5a5a;
	background-color: #f7f7f7;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	margin-bottom: 1em;
}

.radio-selector {
	padding: 1em;
}

.radio-selector + .radio-selector {
	border-left: 1px solid #5a5a5a;
}

.radio-selector .select-line {
	margin-top: 0.5em;
}

.radio-selector input[type="text"] {
	width: 2em;
}

@keyframes octocat-wave {
	0%, 100% {
		transform:rotate(0)
	}
	20%, 60% {
		transform:rotate(-25deg)
	}
	40%, 80% {
		transform:rotate(10deg)
	}
} 

#list-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

#list-form button {
    margin: 1em 1em 1em 0em;
	padding: 0.5em 1em;
	background-color: #eee;
	border: 1px solid #aeaeae;
	transition: .3s;
	cursor: pointer;
}

#list-sort-area #list-input {
	height: 80%;
	width: -webkit-fill-available;
	outline: none;
	border: 1px solid #555555;
	padding: 1em;
	font: inherit;
	height: 50vh;
}

#sorted-list-area #sorted-list {
	border: 1px solid #555555;
	height: 80%;
	padding: 1em;
	overflow: auto;
	height: 50vh;
}

@media only screen and (max-width: 992px) {
	main {
		padding: 1em;
	}

	#list-controls {
		display: grid;
		grid-template-rows: 1fr 1fr 1fr 1fr;
		grid-template-columns: 1fr;
		width: 25%;
		float: left;
	}

	.radio-selector + .radio-selector {
		border-left: none;
		border-top: 1px solid #5a5a5a;
	}

	#list-form {
		display: grid;
		grid-template-rows: 1fr 1fr;
		grid-template-columns: 1fr;
		width: 70%;
		float: right;
	}
}

/* Dang two media queries, aren't we fancy */
@media only screen and (max-width: 650px) {
	main {
		padding: 1em;
	}

	#list-controls {
		display: grid;
		grid-template-rows: 1fr 1fr;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.radio-selector + .radio-selector {
		border:none
	}

	.radio-selector:nth-child(2n) {
		border-left: 1px solid #5a5a5a
	}

	.radio-selector:nth-last-of-type(-n+2) {
		border-top: 1px solid #5a5a5a
	}

	#list-form {
		display: grid;
		grid-template-rows: 1fr 1fr;
		grid-template-columns: 1fr;
		width: 100%;
		float: right;
	}
}

#sorted-list-op{
	white-space: pre-line;
	white-space: pre-wrap;
	border: none;
	width: 100%;
	height: 100%;
	padding: none;
	margin: none;
	outline: none;
	overflow: hidden;
}

#sorted-list-area #sorted-list{
	overflow: hidden;
}


.article {
	padding: 5% 10%;
}