html{
	font-size: 100%;
	height:100%;
	background: #343434 url('../img/bg_800.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
*{
	margin: 0;
	padding: 0;
}
body{
	display: flex;
	background-color: transparent;
}

main{
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

h1{
	font-family: OpenSansExtraBold, arial, sans-serif;
	color: silver;
	font-size: 5rem;
	line-height: 5.5rem;
	opacity: 0.7;
}
h2{
	font-family: OpenSansLight, arial, sans-serif;
	font-size: 1.5rem;
	text-align: right;
	color: silver;
}
h3{
	font-family: OpenSansLight, arial, sans-serif;
	color: #333333;
	font-size: 2rem;
	line-height: 2rem;
	padding-bottom: 0.8rem;
}
h4{
	font-family: OpenSansBold, arial, sans-serif;
	color: #666666;
	font-size: 1.5rem;
	line-height: 2rem;
}
p{
	font-family: OpenSansRegular, arial, sans-serif;
	color: #999999;
	font-size: 1em;
}
article{
    display: block;
    
    width: 100vw;
    max-width: 800px;
}
article:first-child{
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
article:first-child i{
	color: silver;
	font-size: 3rem;
	position: absolute;
	bottom: 1rem;
	left: calc(50% - 1.5rem);
}
article:nth-child(2) img{
	animation: pulse 4s infinite;
	animation-direction: alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 0.9;
  }
}
@keyframes flow {
	0% {
		color: white;
		opacity: 0.1;
	}
	100% {
		color: silver;
		opacity: 0.9;
	}
  /*0% {
  text-shadow: 1px 1px 0px rgba(255,255,255,0.3), 1px 1px 0px rgba(0,0,0,0.8);
  }
  100% {
   text-shadow: 5px 5px 0px rgba(255,255,255,0.3), 1px 1px 0px rgba(0,0,0,0.8);
  }*/
}
article.position p:first-of-type strong{
	font-size: 1rem;
}

article:nth-child(2){
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

article:nth-child(n+3){
	padding: 2rem;
	background-color: #ffffff;
	border-radius: 6px;
	background: #f0f0f2;
	background-image: -webkit-linear-gradient(#f5f5f7,#e9e9ea);
    background-image: -moz-linear-gradient(#f5f5f7,#e9e9ea);
    background-image: -ms-linear-gradient(#f5f5f7,#e9e9ea);
    background-image: -o-linear-gradient(#f5f5f7,#e9e9ea);
    background-image: linear-gradient(#f5f5f7,#e9e9ea);
    border-top: 1px solid #fff;
    border-bottom: 1px solid #d3d3d4;
    display: block;
    margin-bottom: 3rem;
}
section{
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #d3d3d4;
	box-shadow: 0 1px 0 #fff;
	clear: both;
	overflow: auto;
	padding-bottom: 2rem;
}
section:last-child{
	border-bottom: none;
	box-shadow: none;
	padding-bottom: 0;
	margin-bottom: 0;
}
section.lasoca h4,
section.lasoca p{
	width: 40%;
	float: left;
}
section.lasoca p{
	clear: left;
}
section.lasoca img{
	float: right;
}

section.pinwheel iframe{
	width: 48%;
	height: calc((48vw - 4rem) * 0.75);
	max-width: 560px;
	max-height: 420px;
	float: left;
}
section.pinwheel h4{
	float: left;
	width: 48%;
	margin-left: 4%;

}
section.pinwheel p{
	float: left;
	width: 48%;
	margin-left: 4%;
}

section.other img:nth-child(1){
	width: 48%;
	float: right;
	margin-left: 1rem;
}
section.other img:nth-child(n+2){
	width: 48%;
	float: left;
	margin-right: 1rem;
}
section.other h4:nth-child(n+3){
	font-size: 1.1rem;
	line-height: 1.4rem;
	margin-bottom: 0.5rem;
	margin-top: 1.2rem;
}
section.other p{
	margin-bottom: 0.3rem;
}

article.oldweb h4{
	font-size: 1.1rem;
}
article.volunteer p{
	padding: 0.5rem 1rem 0 1rem;
}

article.volunteer p:before{
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f0a4";
	padding-right: 0.5rem;
}

article.skills img{
	width: 100%;
	margin-bottom: 1rem;
}
article.skills span:not(:last-child):after{
	content: "·";
	font-size: 2rem;
	line-height: 0rem;
	vertical-align: middle;
	color:#666666;
}
article.contact p.mail:before,
article.contact p.twitter:before,
article.contact p.linked:before,
article.contact p.medium:before,
article.contact p.insta:before{
	font: normal normal normal 14px/1 'FontAwesome';
	padding-right: 1rem;
	font-size: 1.5rem;
	width: 2.813rem !important;
	text-align: center !important;
	display: inline-block;
}
article.contact p.mail:before{
	content: "\f0e0";
}
article.contact p.twitter:before{
	content: "\f099";
}
article.contact p.linked:before{
	content: "\f08c";
}
article.contact p.medium:before{
	content: "\f23a";
}
article.contact p.insta:before{
	content: "\f16d";
}

@media (max-width: 799px){
	article{
		max-width: 92%;
		margin-left: 4%;
		margin-right: 4%;
	}
	section.other img{
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
	}
	article.photo img,
	section.lasoca h4,
	section.lasoca p,
	section.lasoca img,
	section.pinwheel iframe,
	section.pinwheel h4,
	section.pinwheel p{
		width: 100%;
		float: none;
	}
	section.pinwheel iframe{
		height: calc((92vw - 4rem) * 0.75);
	}

	article.volunteer p{
		padding: 0;
	}

}
@media (min-width: 801px), (min-height: 534px){
	html{
		background: #343434 url('../img/bg_1500.jpg') no-repeat center center fixed;
	}
}
@media (min-width: 1501px), (min-height: 1001px){
	html{
		background: #343434 url('../img/bg_3000.jpg') no-repeat center center fixed;
	}
}

