/* Normalize.css */
@import 'normalize.css';

/* Typography */
@import url('https://fonts.googleapis.com/css?family=Rubik:400,500,500i,700');

body {
	font-family: Rubik, sans-serif;
}

.h2 {
	font-size: 105px;
	font-weight: 700;
	line-height: 1.238;
}

.h3 {
	font-size: 50px;
	font-weight: 700;
	line-height: 1.238;
	text-transform: uppercase;
}

main p {
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

input {
	font-size: 25px;
	color: #373737;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	border-radius: 0;
}
input[type="text"] {
	-webkit-appearance: none;
}

::-webkit-input-placeholder {
	color: #373737;
	opacity: 1;
	transition: opacity .25s ease-in-out;
}
::-moz-placeholder {
	color: #373737;
	opacity: 1;
	transition: opacity .25s ease-in-out;
}
:-ms-input-placeholder {
	color: #373737;
	opacity: 1;
	transition: opacity .25s ease-in-out;
}
:-moz-placeholder {
	color: #373737;
	opacity: 1;
	transition: opacity .25s ease-in-out;
}

input:focus::-webkit-input-placeholder {
	opacity: 0;
}
input:focus::-moz-placeholder {
	opacity: 0;
}
input:focus:-ms-input-placeholder {
	opacity: 0;
}
input:focus:-moz-placeholder {
	opacity: 0;
}

input[type="submit"] {
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

footer p {
	font-size: 15px;
	font-weight: 500;
	font-style: italic;
}

footer p.copyright {
	font-style: normal;
}

/* Colors */
main p {
	color: #373737;
	line-height: 1.2;
}

footer p {
	color: #a5a5a5;
}

footer p.copyright {
	color: #ccc;
}

/* Style */
* {
	box-sizing: border-box;
}

body {
	background: #fff url(../img/bg.jpg) top center repeat-x;
}

.container {
	width: 100%;
	max-width: 1250px;
	margin: 0 auto;
	position: relative;
	padding: 0 40px;
	min-height: 100vh;
}

.container:before {
	content: '';
	display: table;
}
.container:after {
	content: '';
	display: table;
	clear: both;
}

header {
	width: 100%;
	padding-top: 60px;
	padding-bottom: 40px;
}

.site-link {
	display: block;
}
.site-title {
	display: none;
}
.site-logo {
	width: 100%;
	height: auto;
	max-width: 370px;
}

main {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	padding-bottom: 80px;
}

.text-wrapper-wrapper {
	width: 100%;
	overflow: hidden;
	box-sizing: content-box;
	padding-right: 40px;
}

.text-wrapper {
	overflow: hidden;
	box-sizing: content-box;
	margin-right: -40px;
}

main svg {
	display: inline-block;
	width: 100%;
	height: auto;
	max-width: 670px;
}

main svg .desktop {
	display: none;
}

main svg .mobile {
	display: block;
}

main p {
	margin: 2em 0 .8em 0;
}

input {
	display: inline-block;
	vertical-align: bottom;
	background-color: transparent;
	border: none;
	border-bottom: solid 2px #000;
	padding: 0;
	width: 370px;
	height: 60px;
	margin-right: 30px;
	max-width: 100%;
}
input:focus {
	outline: none;
}

input[type="submit"] {
	display: inline-block;
	vertical-align: bottom;
	width: 300px;
	border: solid 2px #000;
	border-radius: 30px;
	cursor: pointer;
	margin: 25px 0 0;

	transition: color .25s ease-in-out, background .25s ease-in-out;
}

input[type="submit"]:hover, input[type="submit"]:focus {
	color: #fff;
	background-color: #000;
}

.error-msg {
	display: none;
	margin: .5em 0 0;
	font-size: 20px;
	font-weight: 400;
	max-width: 370px;
	color: #0e36b7;
	text-transform: none;
}

.success-msg {
	display: none;
	text-transform: none;
	margin-bottom: 0;
}

footer {
	position: absolute;
	bottom: 0;
	padding: 20px 0;
	width: auto;
}

footer p {
	display: inline-block;
	margin: 0;
}

@media (max-width: 699px) {
	.error-msg.desktop {
		display: none !important;
	}
}

@media (min-width: 700px) {
	.error-msg.mobile {
		display: none !important;
	}
}

@media (min-width: 1170px) {

	header {
		float: left;
		width: 33.33333%;
		min-height: 100vh;
		padding: 90px 0 60px;
		overflow: hidden;
	}

	main {
		float: left;
		width: 66.66666%;
		padding: 80px 0 60px 30px;
	}

	.text-wrapper-wrapper {
		padding: 0;
	}

	.text-wrapper {
		margin-right: 0;
	}

	main svg {
		margin-bottom: -60px;
	}

	main svg .desktop {
		display: block;
	}

	main svg .mobile {
		display: none;
	}

	input[type="submit"] {
		margin: 0;
	}

	footer {
		left: 33.33333%;
		width: 66.66666%;
		padding-left: 45px;
	}
}
