@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans:100,700|Bitter:700);

@keyframes slidein{
	from{
		opacity: 0;
		transform: translateX(-100%);
	}
	to{
		opacity: 1;
		transform: translateX(0%);
	}
}

*{
	margin: 0;
	padding: 0;
}

html{
	font-size: 16px;
	min-height: 100%;
}

body{
	font-family: Alegreya Sans, sans-serif;
	font-weight: 100;
	background: url('img/bruno-fondo.jpg') fixed no-repeat center right / cover;
	color: #012;
	padding-bottom: 5rem;
	line-height: 1.5;
	min-height: 100%;
}
h1,h2,h3,h4,h5,h6{
	font-family: Bitter, serif;
	font-weight: 700;
}
a{
	text-decoration: none;
	color: #210;
	transition: 100ms;
	font-weight: bold;
}
a:hover{
	opacity: 0.75;
}
a:active{
	opacity: 0.5;
}


header{
	max-width: 24rem;
	margin-left: 2rem;
	margin-top: 0.5rem;
}
header nav{
	font-size: 0.7rem;
	display: flex;
	align-content: stretch;
	text-align: center;

}
header nav a{
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 100;
	padding: 0.25rem;
	background: rgba(0,0,0,0.25);
	flex: 1 1 auto;
	color: #ffd;
}
main{
	display: block;
}

main section{
	max-width: 24rem;
	margin-top: 2rem;
	margin-left: 2rem;
	border-bottom: 1px solid #421;
	text-align: right;
	animation: slidein 1s ease-out;	
}

h1{
	font-size: 3rem;
	border-bottom: 1px solid #421;
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
	margin-left: -2rem;
	padding-left: 2rem;
	line-height: 1.25;
	letter-spacing: 0.025em;
}
h2{
	border-bottom: 1px solid #421;
	letter-spacing: 0.025em;
	margin: 0.5rem 0;
}

dl{
	padding-bottom: 0.75rem;
}
dt{
	float: left;
	padding-top: .5rem;
	font-weight: bold;
}
dt:after{
	content: ":";
}
dd{
}
dt+dd{
	padding-top: .5rem;
}
strong{
	font-weight: bold;
}

footer{
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.75);
	color: #fff;
	padding: 0.25rem 2rem;
	font-size: .8rem;
	text-align: center;
}

@media screen and (orientation: portrait){
	html{
		font-size: 14px;
	}
	body{
		background: url('img/bruno-fondo-vertical.jpg') no-repeat top center / cover;
		padding-top: 75%;
		padding-bottom: 0;
	}	
	header, main section{
		max-width: none;
		margin: 1rem;
	}
	footer{
		position: static;
		margin-top: 2rem;
		text-align: justify;
		padding: 0.5rem 1rem;
	}
}