/*-------------
 	load fonts
-------------*/
@font-face {
    font-family: 'youngserifregular';
    src: url('../fonts/youngserif-regular-webfont.woff2') format('woff2'),
         url('../fonts/youngserif-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

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

html{
	font: normal 16px sans-serif;
	background-color: #0E1C20;

}

ul, nav{
	list-style: none;
}

a{
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	color: #ffffff;
	opacity: 1;
	transition: all 0.3s ease-in-out 0s;
}

a:hover{
	opacity: 0.6;
}

hr{
	width: 150px;
	height: 2px;
	background-color: #2196F3;
	border: 0;
	margin-bottom: 80px;
}

section{
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 20px 40px;
}

@media (max-width: 1000px){

	section{
		padding: 20px 50px;
	}

}

@media (max-width: 600px){

	section{
		padding: 50px 30px;
	}

}

@media (max-width: 1000px){
	header{
		padding: 20px 50px;
	}
}


@media (max-width: 700px){
	header{
		flex-direction: column;		
	}

	header h2{
		margin-bottom: 15px;
	}
}



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

.hero{
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background-color: #0E1C20;
	text-align: left;
	display: flex;
	max-width: 1260px;
	margin:0 auto;
}
.white {
	color: #fff;
}
.hero h1, h2 {
	font: 45px 'youngserifregular', sans-serif;
	line-height: 59px;
	color: #63757A;
	display: inline!important; 
	float:left;
	margin-bottom: 20px;
	font-weight: 400;
}
h1.title { 
		margin-bottom:0;
}
h3 {
	font: 38px 'youngserifregular', sans-serif;
	line-height: 50px;
	margin-bottom: 15px;
	color: #63757A;

}

.hero div.copy {
	flex-basis: 58%;
}
.hero div.image {
	flex-basis: 42%;
}
.hero div.image img {
	display: block;
	width: 90%;
	margin-right: 20px;
}


@media (max-width: 1250px){
	.hero h1, h2 {
		font: 40px 'youngserifregular', sans-serif;
		line-height: 51px;
	}
	h3 {
		font-size: 30px;
		line-height:42px;
	}
}

@media (max-width: 1120px){
	.hero h1, h2 {
		font: 33px 'youngserifregular', sans-serif;
		line-height: 46px;
	}
	h3 {
		font-size: 25px;
		line-height:38px;
	}
}
@media (max-width: 980px){
	.hero h1, h2 {
		font: 33px 'youngserifregular', sans-serif;
		line-height: 46px;
		text-align: center;
	}
	h3 {
		font-size: 25px;
		line-height:38px;
		text-align: center;
		margin-bottom: 0;
	}
	.hero {
		flex-direction: column;
		justify-content: space-evenly;
	}
	.hero div.image {
		flex-basis: 100%;
	}
	.hero div.image img {
		margin: 0 auto 0px;
		max-width: 350px;
	}
	.hero div.copt {
		flex-basis: 100%;
		text-align: center;
	}
}

@media (max-width: 560px){
	.hero h1, h2 {
		font: 28px 'youngserifregular', sans-serif;
		line-height: 40px;
		text-align: center;
	}
	h3 {
		font-size: 20px;
		line-height:32px;
		text-align: center;
	}
	.hero div.image img {
		margin: 0 auto;
		max-width: 200px;
	}

}

.flex { display: flex;}
.column { flex-direction: column;}


