/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* -- FIN DEL RESET DE CSS -- */

/* Comienza el CSS */
html {
	/*font-size: 18px;*/
	/*font-family: Roboto;*/
	font-family: Arapey, serif;
	font-weight: 200;
	font-size: 16px;
}
body {
	background: #a0f;
	font-size: 1rem;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;

	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAASElEQVQYV2NkQAf/9/5nYHRmRBdGFQApggE0xQiFMEUgBchsqEaIQiwS6GJYdcOtRzIAohCL49EVY/gOIxSgTiNOIVAx9RUCADSBIIESgIWIAAAAAElFTkSuQmCC") top center;
}
#ver_menu {
	display: none;
}
#container {
	width: 100%;
	max-width: 960px;
	height: 100%;
	margin:auto;
	position: relative;
}
header {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	min-height: 90px;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAJCAYAAAALpr0TAAAAU0lEQVQYV42Qyw0AIAhDy2rurashatAGONgTKY+vQLuCpGgQDLZ2LAwuyBXhCzq0AI5foY2uEtETNZ0d8l4Mb7CCfOSDw9XpXDPOJz7A9J6qm3sTiSQtHyBqUWUAAAAASUVORK5CYII=") top center;
}
header h1 {
	display: block;
	font-size: 3rem;
	color: #00f;
	margin: auto;
	width: 200px;
	text-align: center;
	font-weight: 800;
	text-shadow: 0 .2rem 0 #fff;
}
#navegacion {
	margin: auto;
	width: 100%;
	max-width: 768px;
	text-align: center;
}
#navegacion>a {
	display: none;
}
#navegacion>ul {
	width: 100%;
}
#navegacion>ul>li {
	display: inline-block;
	width: auto;
	padding: 5px 10px;
	margin: 5px;
	text-decoration: none;
	text-align: center;
	background: #fff;
	border-radius: 1rem;
	-webkit-border-radius: 1rem;
	-moz-border-radius: 1rem;
}
#navegacion>ul>li a {
	text-decoration: none;
	font-size: 1rem;
	color: #00f;
}
#navegacion>ul>li.selected a {
	color: #000;
	text-decoration: line-through;
}
main {
	position: absolute;
	top: 90px;
	bottom: 70px;
	left: 0;
	right: 0;
}
main section.cara {
	width: 400px;
	height: 400px;
	position: absolute;
	top: 50%;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	margin-top: -200px;
	background: #000;
	cursor: pointer;
}
main section.cara #foto {
	width: 150px;
	height: 150px;
	position: absolute;
	bottom: -20px;
	left:-20px;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	overflow: hidden;
	border: 6px solid #000;
}
main section.cara #foto>img {
	width: 100%;
	height: 100%;
}
#borde {
	position: absolute;
	top: 6px;
	left:6px;
	bottom:6px;
	right: 6px;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAJCAYAAAALpr0TAAAAU0lEQVQYV42Qyw0AIAhDy2rurashatAGONgTKY+vQLuCpGgQDLZ2LAwuyBXhCzq0AI5foY2uEtETNZ0d8l4Mb7CCfOSDw9XpXDPOJz7A9J6qm3sTiSQtHyBqUWUAAAAASUVORK5CYII=") center center;
	back
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-z-index: -1;
	overflow: hidden;
	transition: all .5s;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
}

aside#mensaje {
	display: block;
	background: #fff;
	position: absolute;
	left: 425px;
	right: 25px;
	top:50%;
	margin-top: -190px;
	padding: 30px 50px;
	border-radius: 80px;
	-webkit-border-radius: 80px;
	-moz-border-radius: 80px;
}
#mensaje h2 {
	text-align: center;
	font-size: 2rem;
	color: #00f;
	text-shadow: 0px 2px 0px #00ffbd;
	margin-bottom: .75rem;
}
#mensaje h3 {
	text-align: center;
	font-size: 1.2rem;
	margin-bottom: 1rem;
	font-weight: 700;
	text-transform: uppercase;
}
#mensaje article:last-child h3 {
	padding-top:10px;
	margin-top: 1rem;
	border-top: 1px solid #000;
}
#mensaje p {
	/*font-family: 'Prata', serif;*/
	font-family: Arapey, serif;
	line-height: 1.1;
	font-style: italic;
	font-size: 1rem;
	margin-bottom: .5rem;
	color: #838383;
	text-align: center;
}
#mensaje p>strong {
	/*font-family: 'Prata', serif;
	/*font-size: 1em;*/
	font-size: 1em;
	font-style: normal;
	font-weight: 600;
	color: #000;
	margin-right: 6px;
	text-transform: uppercase;
}
footer {
	position: absolute;
	bottom: 0;
	height: 50px;
	left: 0;
	right: 0;
	padding: 10px 20px;
	background: #fff;
	vertical-align: top;
}
footer p {
	font-size: .8rem;
	max-width: 75%;
	display: inline-block;
	vertical-align: middle;
	margin-left: 4%;
	margin-top:10px;
}
footer svg {
	height: 50px;
	width: 20%;
	display: inline-block;
	vertical-align: top;
}

@media all and (max-width: 768px) {
	header {
		position: relative;
	}
	body {
		position: relative;
	}
	main {
		position: relative;
		height: auto;
		left: auto;
		top: auto;
		right: auto;
		bottom: auto;
	}

	main section.cara {
		position: relative;
		margin:auto;
		margin-top:20px;
	}
	main aside#mensaje {
		position: relative;
		margin: auto;
		margin-top: 60px;
		width: 60%;
		height: auto;
		left: auto;
		top: auto;
		right: auto;
		bottom: auto;
	}
	
	footer {
		position: relative;
		left: auto;
		top: auto;
		right: auto;
		bottom: auto;
		height: auto;
		margin-top: 30px;
	}

}


@media all and (max-width: 480px) {
	header {
		left: auto;
		top: auto;
		right: auto;
		bottom: auto;
		height: auto;
		background: none;
		
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		width: 200px;
		background: #fff;

		z-index: 3;
		box-shadow: 0 0 6px #00f;
		transition: all .5s;
		-webkit-transition: all .5s;
		-moz-transition: all .5s;	
	}
	header.closed {
		left: -220px;
	}
	#ver_menu {
		display: block;
		width: 60px;
		height: 60px;
		margin-top: 10px;
		margin-left: 10px;
		margin-bottom: 10px;
		text-indent: -99999px;
		background: #fff url('../img/bot_menu.png') no-repeat center center;
		border-radius: 30px;
		-moz-border-radius: 30px;
		-webkit-border-radius: 30px;
	}
	main section.cara {
		width: 300px;
		height: 300px;
		margin-top: -10px;
	}
	main section.cara #cara {
		transform: scale(.5);
	}
	#navegacion {
		width: 100%;
	}
	header h1 {
		display: inline-block;
		font-size: 2rem;
		margin: 40px auto;
		padding: 20px;
		margin-left: 40px;
		border: 3px solid #000;
		width: auto;
		color: #000;
	}
	#navegacion>ul {
		width: 100%;
	}
	#navegacion>ul>li {
		display: block;
		text-align: center;
		width: auto;
	}
	#navegacion>a {
		text-align: center;
		display: block;
		margin: auto;
		margin-top: 80px;
	}
	footer p {
		font-size: .8rem;
		max-width: 80%;
		margin-left: 10%;
		display: inline-block;
		text-align: center;
		vertical-align: middle;
		margin-top:10px;
	}
	footer svg {
		height: 60px;
		width: 160px;
		margin: auto;
		display: block;
		vertical-align: top;
	}
}


/* DIBUJO DE LA CARA */
#cara {
	transform: scale(.65);
	background: #fff;
	width: 300px;
	height: 450px;
	border-radius: 150px 150px 150px 0;
	-webkit-border-radius: 150px 150px 150px 0;
	-moz-border-radius: 150px 150px 150px 0;
	top: 50%;
	left: 50%;
	position: absolute;
	margin-top: -240px;
	margin-left: -150px;
	transition: all .5s;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
}
#cuello {
	height: 350px;
	width: 220px;
	position: absolute;
	left: 0;
	top: 250px;
	background: #fff;
}
#cuello>.sombra {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 40px;
	background: #efefef;
}
#pelo {
	background: none;
	position: absolute;
	top: -10px;
	left: -10px;
	width: 320px;
	height: 630px;
	border-radius: 160px;
	-webkit-border-radius: 160px;
	-moz-border-radius: 160px;
	overflow: hidden;
}
#pelo>li {
	background: #00f;
}
#pelo>li#raya_der {
	position: absolute;
	width: 200px;
	height: 400px;
	border-radius: 100px;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	left: -125px;
	top: -20px;
	overflow: hidden;
}
#pelo>li#raya_der .sombra {
	position: absolute;
	width: 60px;
	left: 50%;
	top: 0;
	bottom: 0;
	background: #0000ec;
}
#pelo>li#raya_izq {
	position: absolute;
	width: 400px;
	height: 400px;
	border-radius: 200px;
	-webkit-border-radius: 200px;
	-moz-border-radius: 200px;
	left: 50px;
	top: -200px;
	transition: all .5s;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
}
#oreja {
	width: 40px;
	height: 60px;
	border-radius: 30px 0 0 30px;
	-moz-border-radius: 30px 0 0 30px;
	-webkit-border-radius: 30px 0 0 30px;
	background: #fff;
	position: absolute;
	top: 190px;
	left: 30px;
}
#ojos {
	position: absolute;
	top: 210px;
	left: 140px;
	right: 20px;
	height: 20px;
}
#ojos>li {
	position: absolute;
	height: 20px;
	width: 40px;
	border-radius: 0 0 20px 20px;
	-webkit-border-radius: 0 0 20px 20px;
	-moz-border-radius: 0 0 20px 20px;
	background: #00f;
	transition: all .5s;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
}
#ojos>li.izq {
right: 0;
}
#nariz {
	width: 50px;
	height: 50px;
	border-radius: 25px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	background: #fff;
	position: absolute;
	left: 195px;
	top: 230px;
}
#barba {
	background: #00f;
	width: 330px;
	height: 230px;
	position: absolute;
	top: 250px;
	top: 250px;
	left: 50px;
	border-radius: 60px 115px 115px 170px;
	-webkit-border-radius: 60px 115px 115px 170px;
	-moz-border-radius: 60px 115px 115px 170px;
}
 
#barba>#boca {
	position: absolute;
	background: #fff;
	width: 80px;
	height: 60px;
	top: 50%;
	left: 50%;
	margin-left: -40px;
	margin-top: -30px;
	border-radius: 10px 10px 40px 40px;
	-moz-border-radius: 10px 10px 40px 40px;
	-webkit-border-radius: 10px 10px 40px 40px;
}
#barba>#boca>div {
	width: 40px;
	height: 20px;
	border-radius: 0 0 20px 20px;
	-webkit-border-radius: 0 0 20px 20px;
	-moz-border-radius: 0 0 20px 20px;
	background: #00f;
	top: 20px;
	left: 20px;
	position: absolute;
	transition: all .5s;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
}

.cara:hover #cara #boca>div {
	width: 40px;
	height: 40px;
	left: 20px;
	top:10px;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
}
.cara:hover #ojos>li {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	top: -5px;
}
.cara:hover #borde {
	position: absolute;
	top: 20px;
	left:20px;
	bottom:20px;
	right: 20px;
}
.cara:hover #cara {
	margin-left: -170px;
}
.cara:hover #pelo>li#raya_izq { 
	top: -230px;
	left: 20px;
}