html {
	background-color: rgb(245, 255, 252);
}

html body * {
	box-sizing: border-box;
	font-family: Montserrat;
}

header, #js-results {
	min-width: 280px;
}

header {
	height: 100vh;
	background:
  linear-gradient(
   to bottom,
   rgba(255, 255, 255, 0.8),
   rgba(255, 255, 255, 0)
  ),url('http://static.adweek.com/adweek.com-prod/wp-content/uploads/files/2016_Jan/watching-tv-hed-2016.png');	
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 60%;
	padding-left: 2em;
	padding-right: 2em;
}

.bottom-margin {
	margin-bottom: 2em;
}

#header-content {
	padding-top: 4em;
}

form {
	display: flex;
	flex-direction: column;
	padding-left: 1.5em;
	padding-right: 1.5em;
	margin-top: 4.5em;
}

h1 {
	font-weight: 400;
	margin-top: 0;
	margin-left: 0.8em;
	padding-bottom: 0;
}

h1 span {
	font-weight: 700;
}

form label, form input, form button {
	font-size: 1.4em;
	margin-bottom: 1em;
}

form input {
	font-weight: 700;
	background-color: rgba(255, 255, 255, 0);
	color: purple;
	border: none;
	border-bottom: 3px solid darkgray;
}

form input::placeholder {
	color: rgba(128, 0, 128, 0.6);
}

#js-search {
	border: none;
	background-color: rgba(128, 0, 128, 0.7);
	color: rgba(255, 255, 255, 1);
	border-radius: 10px;
	padding: 0.5em 0;
	transition: background-color .4s;
}

#js-search:hover, #js-search:active {
	background-color: rgba(97, 188, 255, 0.95);
	cursor: pointer;
}

#js-results {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	background-color: rgb(245, 255, 252);
}

#js-results h2 {
	text-align: center;
}

#js-results img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.result-show {
	display: flex;
	flex-direction: column;
	background-color: white;
	border: 1px solid lightgrey;
	border-radius: 5px;
	padding: 0 2em 1em;
	margin: 0 1em 2em;
}

.result-show button {
	border: none;
	background-color: rgba(128, 0, 128, 0.7);
	color: rgba(255, 255, 255, 1);
	display: block;
	border-radius: 10px;
	padding: 0.5em 0;
	transition: background-color .4s;
	width: 212px;
	margin: 0.8em auto;
}

.result-show button:hover, .result-show button:active {
	background-color: rgba(97, 188, 255, 0.95);
	cursor: pointer;
}

.result-show p {
	margin: 1em 2em;
}

.result-show p:first-of-type {
	margin-top: 2em;
	font-weight: 700;
}

a {
	text-decoration: none;
}

footer {
	text-align: center;
	padding-bottom: 0.5em;
	background-color: rgb(245, 255, 252);
}

@media only screen and (min-width: 767px) {
	#header-content {
		padding-top: 0;
	}

	#header-content h1 {
		font-size: 2.5em;
		padding-top: 1.5em;
		margin-left: 0.6em;
	}

	form label, form input, form button {
		font-size: 2em
	}
}

@media only screen and (min-width: 1080px) {
	#header-content {
		padding-top: 0;
		transform: translate(0, 50%);
	}

	br {
		display: none;
	}

	h1 {
		text-align: center;
	}

	form {
		flex-direction: row;
		justify-content: center;
	}

	form label {
		padding-top: 0.4em;
		padding-right: 0.4em;
	}

	#js-search {
		border-radius: 10px 10px 10px 0;
		padding-left: 2em;
		padding-right: 2em;
	}
}