/*-------------
 	General
-------------*/

@font-face {
  font-family: 'Styrene A Web';
  src: url('../font/StyreneA-Thin-Web.eot');
  src: url('../font/StyreneA-Thin-Web.eot?#iefix') format('embedded-opentype'),
       url('../font/StyreneA-Thin-Web.woff2') format('woff2'),
       url('../font/StyreneA-Thin-Web.woff') format('woff');
  font-weight:  100;
  font-style:   normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'Styrene A Web';
  src: url('../font/StyreneA-Regular-Web.eot');
  src: url('../font/StyreneA-Regular-Web.eot?#iefix') format('embedded-opentype'),
       url('../font/StyreneA-Regular-Web.woff2') format('woff2'),
       url('../font/StyreneA-Regular-Web.woff') format('woff');
  font-weight:  400;
  font-style:   normal;
  font-stretch: normal;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-family: 'Styrene A Web';
  	font-weight:  100;
	color: #555;
	background-color: #222222;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.btn {
	cursor: pointer;
	color: #000;
	border: none;
	border-radius: 40px;
	background-color: #50e3c2;
	text-align: center;
	font-weight:  400;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	-webkit-transition-duration: 0.3s;
  	transition-duration: 0.3s;
	-webkit-transition-property: color, background-color, border-radius;
	transition-property: color, background-color, border-radius;
}

.btn:hover, .btn:focus, .btn:active {
  background-color: #fff;
  color: #222;
}

.btn.message {
	background-color: #fff;
 	color: #222;
 	border-radius: 0;
 	-webkit-transition-duration: 0s;
  	transition-duration: 0s;
}


.icon-link {
	position: relative;
    height: 30px;
    width: 30px;
    display: block;
}

.icon-link > img {
	position: absolute;
	width: 30px;
	left: 0;
    top: 0;
}

.icon-link > img:last-child {
	opacity: 0;
}

.icon-link:hover > img:last-child {
	opacity: 1;
}

section {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 125px 100px;
}

@media (max-width: 1000px) {
	section {
		padding: 100px 50px;
	}

}

@media (max-width: 600px) {
	section {
		padding: 10px 30px;
	}

}

ul.grid {
	width: 100%;
	max-width: 900px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.hidden {
	display: none;
}

/*----------------
 	Hero
----------------*/

.hero {
	position: relative;
	justify-content: center;
	min-height: 100vh;
	color: #fff;
	text-align: center;
	padding-bottom: 0;
}

.hero .background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-color: #222222;
	background-image: url('../img/background.jpeg');
	z-index: -1;
}

.hero .background-image:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #222222;
	opacity: 0.75;
}

.hero .call-to-action {
	flex: 1;
}

.hero .btn {
	padding: 20px 46px;
}

@media (max-width: 800px){
	.hero .btn {
		padding: 15px 40px;
	}
}

@media (max-width: 700px) {
	.hero .call-to-action {
		padding: 80px 15px;
	}
}

/*----------------------
 	Grid
----------------------*/
.grid {
	flex: 1;
}

.grid li {
	flex-basis: 25%;
	text-align: center;
}

.grid li span {
	color: #fff;
    font-size: 80px;
    margin-bottom: 25px;
}

@media (max-width: 1000px) {
	.grid li span {
		font-size: 55px;
	}
}

@media (max-width: 700px) {
	.grid li span {
		font-size: 40px;
	}
}

@media (max-width: 480px) {
	.grid {
    	flex: auto;
	}

	.grid li {
		flex-basis: 100%;
		margin-bottom: 35px;
	}

	.grid li:last-child {
		margin-bottom: 0;
	}

	.grid li span {
		font-size: 60px;
	}
}

/*----------------------
 	Footer
----------------------*/

.footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
}

.footer ul {
	display: flex;
	margin-bottom: 25px;
	font-size: 32px;
}

.footer ul li {
	margin: 0 8px;
}

.footer ul li:first-child {
	margin-left: 0;
}

.footer ul li:last-child {
	margin-right: 0;
}


/*----------------------
 	Modal
----------------------*/

.modal-overlay, .modal-overlay .tingle-modal-box {
	background: #222;
}

.tingle-modal__close {
	font-size: 4rem;
	background-color: #222;
}

@media (max-width: 540px) {
	.tingle-modal__closeIcon {
		font-size: 2rem;
	}
}

.tingle-modal__closeLabel {
	font-family: 'Styrene A Web';
  	font-weight:  100;
}

.tingle-modal__close, .tingle-modal__closeLabel {
	color: #50e3c2;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	-webkit-transition-duration: 0.3s;
  	transition-duration: 0.3s;
	-webkit-transition-property: color, background-color;
	transition-property: color, background-color;
}

.tingle-modal__close:hover, .tingle-modal__close:focus, .tingle-modal__close:active,
.tingle-modal__closeLabel:hover, .tingle-modal__closeLabel:focus, .tingle-modal__closeLabel:active {
  color: #fff;
}


/*-------------
 	Form
-------------*/

form input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 2.4375rem;
	margin: 0 0 1rem;
	padding: .5rem;
	border: 1px solid #BFBFBF;
	border-radius: 0;
	background-color: #fefefe;
	box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 100;
	color: #0a0a0a;
	transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #BFBFBF
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
	color: #BFBFBF
}

input::placeholder,
textarea::placeholder {
	color: #BFBFBF
}


.form-group {
	position:relative;
	padding: 40px;
}

.form-control {
	background:transparent;
	color: #fff;
	border: 1px solid #fff;
	border-top: none;
	border-left: none;
	border-right: none;
	border-radius:0;
	outline:none;
	box-shadow:none;
	height:56px;
	font-size:21px;
	line-height:32px;
	margin-bottom: 0;
	text-align: center;
}

.form-control:focus {
	border-color: #50e3c2;
}

.error-message {
	font-size: 14px;
	font-weight: 300;
	color: #ff0000;
	width: 100%;
	float: right;
	text-align: right;
}

.info-message {
	font-size: 14px;
	font-weight: 300;
	color: #fff;
	width: 100%;
	float: right;
	text-align: right;
	color: #BFBFBF;
}

form p {
	margin-top: 40px;
	text-align: center;
}

form .btn {
	padding: 20px 46px;
	font-size: 20px;
}

@media (max-width: 1000px) {
	.form-group {
		padding: 30px;
	}
	form {
		margin-top: 30px;
	}
	form p {
		margin-top: 60px;
	}
}

@media (max-width: 800px) {
	.form-group {
		padding: 20px 0;
	}
	form {
		margin-top: 40px;
	}
	form p {
		margin-top: 80px;
	}
}

