/***************************************************
			      Reset
***************************************************/

html, body, div, span, h1, h2, h3, h4, h5, h6, p, ol, ul, li, form, label, legend, caption, aside, details, figcaption, figure, footer,header, hgroup, menu, nav, section, summary {
    margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

ol, ul {
	list-style: none;
}


a img {border:none}
a:link, a:visited{color:#fff ;text-decoration:none;border: 0;}
a:hover {text-decoration:none;}

aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block}


/***************************************************
			      Global styles
***************************************************/
	
html {
		height: 100%;
}
body {
	background-color: #333;
	color: #fff;
	font-family: 'Bitter', serif;
	text-align: center;
	height: 100%;
}
h1 {
	font-size: 80px;
}
#wrapper {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 100%;
	background: url('img/forest.jpg') no-repeat #333 center fixed;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#wrapper:before {
	content: "";
	display: block;
	margin: 3em;
	border: 1px solid #fff;
	background: transparent;
	position: absolute;
	width: calc(100% - 6em);
	height: calc(100% - 6em);
	left: 0;
	top: 0;
	opacity: 0;
	-webkit-animation: bgfill 2s ease-in-out 300ms forwards;
	-moz-animation:    bgfill 2s ease-in-out 300ms forwards;
	-o-animation:      bgfill 2s ease-in-out 300ms forwards;
	animation:         bgfill 2s ease-in-out 300ms forwards;
}

@media screen and (max-width: 768px) {
	#wrapper:before {
		margin: 1em;
		width: calc(100% - 2em);
		height: calc(100% - 2em);
	}
}

@keyframes bgfill {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
.content {
	flex: 1;
	margin-top: 30%;
	z-index: 9;
	opacity: 0;
	-webkit-animation: logoFill 2s ease-in-out 100ms forwards;
	-moz-animation:    logoFill 2s ease-in-out 100ms forwards;
	-o-animation:      logoFill 2s ease-in-out 100ms forwards;
	animation:         logoFill 2s ease-in-out 100ms forwards;
	position: relative;
	width: 100%;
	max-width: 350px;
}
@keyframes logoFill {
	0% {
		opacity: 0;
		top:10%;
	}
	50% {
		top: 0;
	}
	100% {
		opacity: 1;

	}
}
.logo {
	max-width: 300px;
}
.footer {
	position: relative;
	margin-bottom: 3em;
	color: white;
	opacity: 0;
	-webkit-animation: logoFill 2s ease-in-out 300ms forwards;
	-moz-animation:    logoFill 2s ease-in-out 300ms forwards;
	-o-animation:      logoFill 2s ease-in-out 300ms forwards;
	animation:         logoFill 2s ease-in-out 300ms forwards;
}