@font-face {
    font-family: 'sansation';
    src: url('../font/Sansation-Light-webfont.eot');
    src: url('../font/Sansation-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/Sansation-Light-webfont.woff2') format('woff2'),
         url('../font/Sansation-Light-webfont.woff') format('woff'),
         url('../font/Sansation-Light-webfont.ttf') format('truetype'),
         url('../font/Sansation-Light-webfont.svg#sansation_lightlight') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'sansation';
    src: url('../font/Sansation-Regular-webfont.eot');
    src: url('../font/Sansation-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/Sansation-Regular-webfont.woff2') format('woff2'),
         url('../font/Sansation-Regular-webfont.woff') format('woff'),
         url('../font/Sansation-Regular-webfont.ttf') format('truetype'),
         url('../font/Sansation-Regular-webfont.svg#sansationregular') format('svg');
    font-weight: 400;
    font-style: normal;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    text-rendering: optimizeLegibility;
    /* -moz-osx-font-smoothing: grayscale; */
    -webkit-font-smoothing: subpixel-antialiased;
    /* -webkit-font-smoothing: antialiased; */
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

h1,h2,h3,body {
	margin: 0;
	padding: 0;
}

body {
	background: #484c4f;
	color: #676456;
	font-family: 'sansation', Helvetica Neue, Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 1px;
	text-align: center;
}

a {
	text-decoration: none;
}

.text-green {
	color: #3b802e;
}

.page {
	align-self: center;
	background-color: white;
	background-image: url(../img/bg-hd.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	box-shadow: 0 0 10px 4px rgba(0,0,0,0.6);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0 auto;
	min-height: 100vh;
	max-width: 992px;
	width: 100%;
}

header {
	padding-top: 5%;
}
header div {
	margin: 0 auto;
	width: 400px;
}
header img {
	float: right;
}
header h1 {
	color: white;
	clear: both;
}
header h1 span {
	display: block;
}
header h1 span:first-child {
	font-size: 54px;
	letter-spacing: 2px;
}
header h1 span:last-child {
	font-size: 18px;
	font-weight: 300;
}

.main {
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 10%, rgba(255,255,255,1) 100%);
    padding: 5%;
    position: relative;
}
.main h2 {
	font-size: 32px;
	margin-top: 2.5%;
}
.main .info {
	align-items: center;
    background-image: url(../img/bg-info.svg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100%;
    color: white;
    display: flex;
	flex-direction: column;
    font-size: 16px;
    height: 143px;
    justify-content: center;
    padding-bottom: 9px;
    width: 260px;
}
.main .info span {
	display: block;
	font-size: 22px;
}

footer {
	background-image: url(../img/bg-foo.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100%;
	display: flex;
	justify-content: center;
}
footer ul {
	display: flex;
	margin: 0;
	list-style: none;
	padding: 15px;
}
footer ul li {
	padding: 0 10px;
}
footer ul li a {
	color: #676456;
}
@media(min-width: 641px){
	.main .info {
		position: absolute;
		right: 25px;
		top: -150px;
		transform: rotate(14deg);
	}
}
@media(max-width: 640px){
	header div {
		max-width: 400px;
		width: 100%;
	}
	header img {
		height: 60px;
		width: 60px;
	}
	body {
		font-size: 14px;
	}
	header h1 span:first-child {
		font-size: 32px;
		letter-spacing: 2px;
	}
	.main {
		background: #fff !important;
	}
	.main h2 {
		font-size: 22px;
	}
	.main .info {
		position: relative;
		margin: 0 auto;
		transform: translateY(-25%);
	}
	.page {
		/* background-position: 5% center; */
		background-image: url(../img/bg-xs.jpg);
	}
}