@import url('https://fonts.googleapis.com/css?family=Kristi|Alegreya+SC:400,900');
@font-face {
	font-family: 'effone-connect';
	src: url('../font/effone-connect.eot?61880467');
	src: url('../font/effone-connect.eot?61880467#iefix') format('embedded-opentype'), url('../font/effone-connect.woff?61880467') format('woff'), url('../font/effone-connect.ttf?61880467') format('truetype'), url('../font/effone-connect.svg?61880467#effone-connect') format('svg');
	font-weight: normal;
	font-style: normal;
}

body{
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#layer {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100vh;
}

#layer img {
	/* These properties make sure that the "background image" covers all available space. */
	position: absolute;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
	/* This bit centers the image. */
	left: 50%;
	transform: translateX(-50%);
	/* Here, we make sure that nothing sticks out on the side that shouldn't. */
	overflow-x: hidden;
}

.icon {
	font-family: "effone-connect";
	font-style: normal;
	font-weight: normal;
	font-size: 20px;
	display: inline-block;
	text-decoration: inherit;
	text-align: center;
	/* For safety - reset parent styles, that can break glyph codes*/
	font-variant: normal;
	text-transform: none;
	/* fix buttons height, for twitter bootstrap */
	line-height: 1em;
	/* Animation center compensation - margins should be symmetric */
	/* remove if not needed */
	/* You can be more comfortable with increased icons size */
	/* font-size: 120%; */
	/* Font smoothing. That was taken from TWBS */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #f6d365;
	fill: currentColor;
	height: 32px;
	width: 32px;
	-webkit-transition: .5s;
	transition: .5s;
}

#container {
	height: 100vh;
	width: 100vw;
	background: rgba(0, 0, 0, .6) url(../img/shed.png) repeat;
	position: fixed;
	top: 0;
	left: 0;
	color: #FFF;
	text-align: center;
	z-index: 10;
	font-family: 'Kristi', cursive;
}

#content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	min-height: 100vh;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 320px;
	margin: 0 auto;
}

.matter {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

a {
	text-decoration: none;
}

h1 {
	font-weight: 900;
	font-size: 60px;
	font-family: 'Alegreya SC', serif;
	letter-spacing: -5px;
	margin: 0;
	margin-left: -20px;
	-webkit-animation: color-change 5s infinite;
	animation: color-change 5s infinite;
}

h2 {
	font-weight: 400;
	font-size: 28px;
	margin: 0;
	margin-left: 100px;
	margin-top: -20px;
	-webkit-transform: rotate(-20deg);
	transform: rotate(-20deg);
}

form {
	margin: 20px;
	margin-top: 40px;
	border: 1px solid #f6d365;
	padding: 1px;
	border-radius: 6px;
}

#response {
	text-align: center;
	font-family: 'Alegreya SC', serif;
	margin-top: 10px;
}

input[type="email"],
input[type="submit"] {
	width: 100%;
	display: block;
	border: 0;
	margin: 0;
	padding: 10px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

input[type="email"] {
	color: #FFFFFF;
	background: rgba(0, 0, 0, .5);
	border-radius: 4px 4px 0 0;
}

input[type="submit"] {
	text-align: center;
	font-family: 'Alegreya SC', serif;
	text-transform: uppercase;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;
	background-image: -webkit-gradient(linear, left top, right top, from(#f6d365), color-stop(51%, #fda085), to(#f6d365));
	background-image: linear-gradient(to right, #f6d365 0%, #fda085 51%, #f6d365 100%);
	border-radius: 0 0 4px 4px;
}

input[type="submit"]:hover {
	background-position: right center;
}

input[type="email"]:focus,
input[type="submit"]:focus {
	outline: none;
}

.error {
	color: orangered;
}

.alert {
	color: gold;
}

.success {
	color: lightgreen;
}

.icon:hover {
	color: #fda085;
}

.contact {
	padding: 10px 0;
	border-top: 1px dashed #442C0E;
}

.contact:hover .icon {
	opacity: 0.2;
}

.contact .icon:hover {
	opacity: 1;
}

@-webkit-keyframes color-change {
	0% {
		color: #fda085;
	}
	50% {
		color: #f6d365;
	}
	100% {
		color: #fda085;
	}
}

@keyframes color-change {
	0% {
		color: #fda085;
	}
	50% {
		color: #f6d365;
	}
	100% {
		color: #fda085;
	}
}

@media only screen and (max-width: 767px) {
	.icon {
		font-size: 16px;
	}
}