/* alegreya-regular - latin */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/alegreya-v19-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/alegreya-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/alegreya-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/alegreya-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/alegreya-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/alegreya-v19-latin-regular.svg#Alegreya') format('svg'); /* Legacy iOS */
}
/* alegreya-500 - latin */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/alegreya-v19-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/alegreya-v19-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/alegreya-v19-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/alegreya-v19-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/alegreya-v19-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/alegreya-v19-latin-500.svg#Alegreya') format('svg'); /* Legacy iOS */
}
/* alegreya-italic - latin */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/alegreya-v19-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/alegreya-v19-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/alegreya-v19-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/alegreya-v19-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/alegreya-v19-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/alegreya-v19-latin-italic.svg#Alegreya') format('svg'); /* Legacy iOS */
}
/* alegreya-500italic - latin */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/alegreya-v19-latin-500italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/alegreya-v19-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/alegreya-v19-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/alegreya-v19-latin-500italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/alegreya-v19-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/alegreya-v19-latin-500italic.svg#Alegreya') format('svg'); /* Legacy iOS */
}


/* -- CSS Reset -- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}



/* -- Content -- */
@-webkit-keyframes fadein {
  from {
    opacity: 0; }
  to {
    opacity: 1; } 
}

@keyframes fadein {
  from {
    opacity: 0; }
  to {
	opacity: 1; } 
}

html {
	background-image: url("../../images/background.jpg");
	background-position: center center;
	background-size: cover; }

body {
	height: 100vh;
	font-family: 'Alegreya', sans-serif;
	font-weight: 400;
	font-size: 45px;
	line-height: 60px;
	letter-spacing: -0.5px;
	color: #443C39;
 }
  
p {
	margin-bottom: 28px;
	color: #443C39;
}

.wrapper {
	text-align: center; 
}

.header {
	padding: 5%;
	text-align: center;
}

.logo {
	margin: 0 2%;
	width: 55%;
}

.bock {
	margin: 0 2%;
	width: 20%;
}


.bio {
	-webkit-box-flex: 1;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-animation: fadein 4s;
	animation: fadein 4s;
	letter-spacing: -1px;
	max-width: 100%;
}

  
.bio a {
	color: #443C39;
	-webkit-transition: 1s;
	transition: 1s; 
}

.bio a:hover {
	color: #000;
	-webkit-transition: 0.1s;
	transition: 0.1s;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5); 
}

.social {
	-webkit-box-flex: 1;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-animation: fadein 6s;
	animation: fadein 6s;
	margin-top: auto; 
}

.social ul {
	-webkit-animation: fadein 6s;
	animation: fadein 6s;
	margin-top: auto; 
}

.social ul li {
	display: inline-block;
	margin-right: 8px; 
}

.social ul li a {
	display: inline-block;
	width: 50px;
	height: 50px;
	cursor: pointer; 
}

.social ul li a img {
	padding: 4px;
	width: 42px;
	height: 42px;
	margin: 0;
	display: block;
	opacity: .7;
}

.social ul li a img:hover {
	opacity: 1;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5); 
}

.credit {
	margin-bottom: 0;
	-webkit-animation: fadein 8s;
	animation: fadein 8s; 
}

.credit p.copyright {
	margin-top: 30px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	opacity: 1; 
}

.credit a {
	color: #443C39;
}

.credit a:hover {
	color: black
}

.legals {
	width: 80%;
	margin: 0 auto;
}

.legals p, .legals ul {
	font-size: 20px;
	line-height: 28px;
}

.legals h2 {
	font-size: 28px;
}

.legals h3 {
	font-size: 24px;
}

.legals h4 {
	font-size: 24px;
}


@media (max-width: 800px) {
	.bio {
		max-width: none; 
	}
	p {
		font-size: 32px;
		line-height: 40px;
	}
	.logo {
		margin: 0 2%;
		width: 100%;
	}
	
	.bock {
		margin: 0 2%;
		width: 30%;
		margin-top: 25px;
	}
}



