@charset "utf-8";


/**
 *	Fonts:
 *	------
 */
@font-face {
	font-family: 'Bradley Hand';
	src: url('../font/bradley_hand.eot');
	src: url('../font/bradley_hand.woff2') format('woff2'),
		 url('../font/bradley_hand.woff') format('woff'),
		 url('../font/bradley_hand.ttf') format('truetype'),
		 url('../font/bradley_hand.svg#svgFontName') format('svg'),
		 url('../font/bradley_hand.eot?#iefix') format('embedded-opentype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Mank Sans';
	src: url('../font/mank_sans.eot');
	src: url('../font/mank_sans.woff2') format('woff2'),
		 url('../font/mank_sans.woff') format('woff'),
		 url('../font/mank_sans.ttf') format('truetype'),
		 url('../font/mank_sans.svg#svgFontName') format('svg'),
		 url('../font/mank_sans.eot?#iefix') format('embedded-opentype');
	font-weight: normal;
	font-style: normal;
}


/**
 *	General:
 *	--------
 */
html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

* {
	margin: 0;
	padding: 0;
	font-size: 9px;
	line-height: 1;
	font-family: 'Mank Sans', Arial, Helvetica, sans-serif;
}

body {
	background-color: #444242;
}

body.home {
	background-image: url(../img/bg-2.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	background-size: cover;
}


/**
 *	Header:
 *	-------
 */
header {
	position: sticky;
	z-index: 3;
	top: 0;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
	border-bottom: 0.2em solid #EDEEF0;
	padding: 2em;
	background-color: #444242;
}

header h1 {
	width: initial;
}

header h1 a {
	display: inline-block;
	font-size: 5em;
	font-family: 'Bradley Hand';
	text-decoration: none;
	color: #EDEEF0;
}

header > ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	width: initial;
	list-style: none;
}

header ul li:nth-child(2), header ul li:nth-child(3) {
	padding: 0.5em 0;
}

header ul li:nth-child(5) {
	display: none;
}

header ul li a, header ul li button {
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.5s ease;
	border: 0.1em solid #AEADB3;
	border-radius: 1em;
	width: 2em;
	height: 2em;
	background: none;
	cursor: pointer;
	font-size: 1.5em;
	text-decoration: none;
	color: #AEADB3;
}

header ul li a:hover, header ul li button:hover {
	border-color: #FFFFFF;
	color: #FFFFFF;
}

header ul li a span {
	display: none;
}

body.home > header {
	background-color: rgba(0, 0, 0, 0.8);
}


/**
 *	Navbar:
 *	-------
 */
body > nav {
	position: fixed;
	z-index: 2;
	transition: initial;
	border-bottom: 0.2em solid #EDEEF0;
	width: 100%;
	padding: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

ul.menu {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 0;
	list-style: none;
}

ul.menu > li {
	display: inline-block;
	padding: 0 4em;
	background-color: #87868A;
	cursor: pointer;
}

ul.menu > li > a {
	display: inline-block;
	font-size: 2.2em;
	line-height: 1.5;
	font-weight: bold;
	text-decoration: none;
	color: #EDEEF0;
}

ul.menu > li:hover {
	background-color: rgba(0, 0, 0, 0.5);
}

ul.menu > li:nth-child(2) {
	margin: 0 4em;
}

ul.menu > li.active {
	background-color: rgba(0, 0, 0, 0.5);
}

ul.menu > li > ul {
	position: absolute;
	display: none;
	margin-left: -4em;
	padding: 1em 0.5em;
	background-color: rgba(0, 0, 0, 0.5);
	list-style: none;
}

ul.menu > li > ul > li {
	border-bottom: 1px solid #EDEEF0;
	padding: 0 0.5em;
	cursor: pointer;
	font-size: 2.1em;
	line-height: 1.5;
	font-weight: bold;
	color: #EDEEF0;
}

ul.menu > li > ul > li > a {
	display: inline-block;
	padding-left: 1.2em;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	text-decoration: none;
	color: inherit;
}

ul.menu > li > ul > li:hover {
	background-color: #000000;
}

ul.menu > li:hover > ul {
	display: block;
}

ul.menu > li > ul > li.active {
	background-color: #000000;
}

/**
 *	Main:
 *	-----
 */
main {
	z-index: 2;
	margin: 5.5em auto 0 auto;
	margin-bottom: 5em;
	max-width: 960px;
	padding: 1em;
	background-color: #444242;
}

main#biography h2 {
	font-size: 3.6em;
	line-height: 1.5;
	font-family: 'Bradley Hand';
	color: #EDEEF0;
}

main#biography p {
	margin: 1em 0;
	font-size: 1.8em;
	line-height: 1.2;
	font-weight: bold;
	text-align: justify;
	color: #EDEEF0;
}

main#biography p:nth-last-child(2) {
	font-style: italic;
}

main#biography p:nth-last-child(1) {
	text-align: right;
}

main#gallery {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	max-width: initial;
	margin-top: 3.5em;
	padding: 0;
}

main#gallery section {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	width: 78%;
	padding: 1em 1em;
}

main#gallery section ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	flex-grow: 1;
	list-style: none;
}

main#gallery section ul li {
	display: inline-block;
	margin: 1em;
}

main#gallery section ul li a {
	display: inline-block;
	width: 100%;
	text-decoration: none;
}

main#gallery section ul li a img {
	width: 100%;
}

ul.amarillos li {
	width: 20%;
}

ul.azules {
	width: 50%;
}

ul.azules li {
	width: 40%;
}

ul.azules:nth-child(2) li {
	width: 100%;
}

#gallery ul.horizontes:nth-child(1) {
	justify-content: start;
}

ul.horizontes:nth-child(1) li {
	width: 30%;
}

ul.horizontes:nth-child(2) li {
	width: 12%;
}

ul.cintas {
	width: 50%;
}

ul.cintas:nth-child(2) {
	flex-direction: column;
}

ul.cintas li {
	width: 42%;
}

ul.cintas:nth-child(1) li:nth-child(1) {
	width: 90%;
}

ul.cintas:nth-child(2) li {
	width: 30%;
}
/*
ul.blancos li:nth-child(2) {
	width: 23%;
}
*/

ul.tiempo_inventado:nth-child(2) {
	width: 20%;
}

#gallery ul.tiempo_inventado:nth-child(3) {
	justify-content: start;
	align-items: center;
	width: 80%;
}

ul.tiempo_inventado:nth-child(1) li {
	width: 14%;
}

#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(1),
#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(2),
#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(13),
#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(14),
#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(18) {
	width: 10%;
	margin: 1em 2.9%;
}

ul.tiempo_inventado:nth-child(2) li {
	width: 50%;
}

ul.tiempo_inventado:nth-child(3) li {
	width: 20%;
}

ul.tiempo_inventado:nth-child(3) li:nth-child(1) {
	width: 14%;
}

ul.tiempo_inventado:nth-child(3) li:nth-child(2) {
	width: 18.3%;
}

ul.tiempo_inventado:nth-child(3) li:nth-child(3) {
	width: 24.5%;
}

ul.tiempo_inventado:nth-child(3) li:nth-child(4) {
	width: 12.8%;
}

ul.tiempo_inventado:nth-child(3) li:nth-child(6) {
	width: 13%;
}

#gallery ul.en_algun_lugar:nth-child(1) {
	align-items: start;
}

ul.en_algun_lugar:nth-child(n+2) {
	flex-direction: column;
	width: 50%;
}

ul.en_algun_lugar:nth-child(1) li {
	width: 20%;
}

ul.en_algun_lugar:nth-child(1) li:nth-child(2) {
	width: 17%;
}

ul.en_algun_lugar:nth-child(1) li:nth-child(3) {
	width: 23%;
}

ul.en_algun_lugar:nth-child(2) li {
	width: 60%;
}

ul.en_algun_lugar:nth-child(3) li {
	width: 90%;
}

ul.en_algun_lugar:nth-child(3) li:nth-child(2) {
	width: 20%;
}

#gallery ul.el_color_del_nuevo_tiempo {
	width: 30%;
}

#gallery ul.el_color_del_nuevo_tiempo:nth-child(1) li:nth-child(1) {
	width: 80%;
	margin: 1em 10%;
}

#gallery ul.el_color_del_nuevo_tiempo:nth-child(1) li:nth-child(n+2) {
	width: 44%;
}

#gallery ul.el_color_del_nuevo_tiempo:nth-child(1) li:nth-child(n+4) {
	width: 13%;
}

#gallery ul.el_color_del_nuevo_tiempo:nth-child(1) li:nth-child(5),
#gallery ul.el_color_del_nuevo_tiempo:nth-child(1) li:nth-child(6) {
	width: 22%;
}

#gallery ul.el_color_del_nuevo_tiempo:nth-child(1) li:nth-last-child(1) {
	width: 60%;
}

ul.el_color_del_nuevo_tiempo:nth-child(2) li:nth-child(1) {
	width: 24%;
}

ul.el_color_del_nuevo_tiempo:nth-child(2) li:nth-child(2) {
	width: 22%;
}

ul.el_color_del_nuevo_tiempo:nth-child(2) li:nth-child(n+3) {
	width: 50%;
}

ul.tea_time:nth-child(1) li:nth-child(1) {
	width: 45%;
}

ul.tea_time:nth-child(2) li:nth-child(n+1) {
	width: 18%;
}

ul.tea_time:nth-child(2) li:nth-child(n+3) {
	width: 10%;
}

ul.reyno_navarra:nth-child(1) {
	flex-direction: column;
	width: 30%;
}

ul.reyno_navarra:nth-child(2) {
	width: 70%;
}

ul.reyno_navarra:nth-child(1) li {
	width: 60%;
}

ul.reyno_navarra:nth-child(2) li {
	width: 45%;
}

#gallery ul.more {
	align-items: start;
}

#gallery ul.more:nth-child(1) {
	justify-content: space-between;
}

ul.more li {
	width: 40%;
}

ul.more:nth-child(1) li:nth-child(n+2) {
	width: 15%;
}

ul.more:nth-child(1) li:nth-child(2) {
	width: 12%;
}

ul.more:nth-child(1) li:nth-child(3) {
	width: 20%;
}

ul.more:nth-child(2) li {
	width: 30%;
}

ul.more:nth-child(2) li:nth-child(2) {
	width: 15%;
}

main#gallery aside {
	width: 22%;
	padding: 1em;
	background: #000000;
}

main#gallery aside ul {
	list-style: none;
}

main#gallery aside ul > li {
	border-bottom: 1px solid #EDEEF0;
	padding: .2em 0.5em;
	cursor: pointer;
	font-size: 1.8em;
	line-height: 1.2;
	font-weight: bold;
	color: #EDEEF0;
}

main#gallery aside ul > li > a {
	display: inline-block;
	width: 90%;
	padding-left: 1em;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	text-decoration: none;
	color: inherit;
}

main#gallery aside ul > li::after {
	content: ' • ';
	font-size: 1em;
	padding-right: 0;
	color: transparent;
}

main#gallery aside ul > li:hover {
	background-color: #87868A;
}

main#gallery aside ul > li:hover::after {
	color: #EDEEF0;
}

main#gallery aside ul > li.activo {
	font-size: 3em;
	padding-left: 0;
}

main#gallery aside ul > li.activo::after {
	color: #EDEEF0;
}

main#contact a {
	position: absolute;
	right: 0;
	padding: 1em 2em;
	background-color: #87868A;
	font-size: 2em;
	text-decoration: none;
	color: #000;
}

main#contact a:hover {
	background-color: #FFF;
}

main#contact h2 {
	margin-top: 4em;
	font-size: 2em;
	line-height: 1.5;
	color: #EDEEF0;
}

main#contact form {
	margin: 1em 0;
	padding: 2em;
	background-color: #87868A;
}

main#contact form input,
main#contact form textarea {
	margin: 0 0 0.5em 0;
	border: 1px solid #EDEEF0;
	width: 100%;
	padding: 0 1em;
	outline: none;
	background: none;
	font-size: 2em;
	line-height: 2;
	font-weight: bold;
	color: #000000;
}

main#contact form input[type='button'] {
	transition: .25s ease-in-out;
	margin-bottom: 0;
	border: none;
	background: #000000;
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	color: #EDEEF0;
}

main#contact form input[type='button']:hover {
	color: #FFFFFF;
}

main#contact form textarea {
	resize: none;
}

main#contact form > div {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background-color: #87868A;
	cursor: pointer;
}

main#contact form > div > p {
	cursor: default;
	font-size: 2em;
	line-height: 2;
	font-weight: bold;
	text-align: center;
	color: #EDEEF0;
}

footer {
	position: fixed;
	z-index: -1;
	bottom: 1em;
	left: 1em;
}

footer a {
	font-size: 1.4em;
	line-height: 2;
	text-decoration: none;
	color: #EDEEF0;
}

/**
 *	Media > Mobile:
 *	---------------
 */
@media screen and (max-width:960px) {

	/**
	 *	General:
	 *	--------
	 */
	body.home {
		background-attachment: fixed;
		background-position: top center;
	}


	/**
	 *	Header:
	 *	-------
	 */
	header {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 1em 0;
	}

	header h1 a {
		font-size: 4em;
	}

	header ul {
		flex-direction: row;
		justify-content: center;
		padding-top: 0.5em;
	}

	header ul li:nth-child(2), header ul li:nth-child(3) {
		padding: 0 0.5em;
	}

	header ul li:nth-child(5) {
		display: initial;
		padding-left: 0.5em;
	}


	/**
	 *	Navbar:
	 *	-------
	 */
	body > nav {
		right: 0;
		transition: right 0.5s ease;
		border-bottom: 0.1em solid #EDEEF0;
		width: initial;
		background-color: rgba(0, 0, 0, 0.75);
	}

	ul.menu {
		flex-direction: column;
	}

	ul.menu > li {
		width: 100%;
		padding: 0;
		background: none;
		border-bottom: 1px solid #EDEEF0;
	}

	ul.menu > li > a {
		width: 100%;
		padding: 0 0.5em;
		font-size: 1.8em;
		line-height: 1.4;
		font-weight: normal;
		color: #EDEEF0;
	}

	ul.menu > li > a:hover {
		background-color: #000000;
	}

	ul.menu > li:hover {
		background: none;
	}

	ul.menu > li:nth-child(2) {
		margin: 0;
		border-bottom: none;
	}

	ul.menu > li > ul {
		position: relative;
		display: block;
		margin-left: 0;
		padding: 0;
	}

	ul.menu > li > ul > li {
		padding: 0;
		font-size: 1.8em;
		line-height: 1.4;
		font-weight: normal;
	}

	ul.menu > li > ul > li > a {
		padding: 0 0.5em;
	}


	/**
	 *	Main:
	 *	-----
	 */
	main {
		margin-top: 2em;
	}

	main#gallery {
		flex-direction: column;
	}

	main#gallery section {
		width: 100%;
	}

	ul.amarillos li {
		width: auto;
	}

	ul.azules {
		width: auto;
	}

	#gallery ul.horizontes:nth-child(1) {
		justify-content: center;
	}
	
	ul.horizontes:nth-child(n) li {
		width: auto;
	}

	ul.cintas {
		width: auto;
	}

	ul.cintas:nth-child(2) {
		flex-direction: row;
	}

	section ul.cintas li {
		width: auto;
	}

	section ul.cintas:nth-child(2) li {
		width: auto;
	}
	
	ul.blancos li:nth-child(2) {
		width: auto;
	}

	#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(1),
	#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(2),
	#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(13),
	#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(14),
	#gallery ul.tiempo_inventado:nth-child(1) li:nth-child(18) {
		width: auto;
		margin: 1em;
	}
	
	ul.tiempo_inventado:nth-child(n+2) {
		width: auto;
	}

	ul.tiempo_inventado:nth-child(n) li {
		width: auto;
	}
	
	ul.tiempo_inventado:nth-child(3) li:nth-child(n+1) {
		width: auto;
	}
	
	ul.en_algun_lugar:nth-child(n+2) {
		flex-direction: row;
		width: auto;
	}

	ul.en_algun_lugar:nth-child(n) li {
		width: auto;
	}

	ul.en_algun_lugar:nth-child(3) li:nth-child(2) {
		width: auto;
	}
	
	#gallery ul.tiempo_inventado:nth-child(3)
	{
		justify-content: center;
		width: 100%;
	}
	
	#gallery ul.el_color_del_nuevo_tiempo {
		width: auto;
	}

	#gallery ul.el_color_del_nuevo_tiempo:nth-child(n+1) li:nth-child(n+1) {
		width: 60%;
		margin: 1em;
	}

	ul.tea_time:nth-child(n+1) li:nth-child(n+1) {
		width: auto;
	}

	ul.reyno_navarra:nth-child(n+1) {
		flex-direction: row;
		width: auto;
	}

	ul.reyno_navarra:nth-child(n+1) li {
		width: auto;
	}

	#gallery ul.more:nth-child(1) {
		justify-content: center;
	}

	ul.more:nth-child(n+1) li {
		width: auto;
	}

	ul.more:nth-child(n+1) li:nth-child(n+2) {
		width: auto;
	}

	main#gallery aside {
		width: 100%;
	}

}