/*
	Transparencias
	rgba(255, 255, 255, 0.2); 20%

	#ebebeb	(235, 235, 235) claro_01
	#d4d4d4	(212,212,212) claro_02
	#656464	(101,100,100) medio_01
	#2b2a2a	(43,42,42) medio_02
	#181717	(24,23,23) oscuro_01
	#b50513	(181,5,19) color_01
*/

:root {
	--blanco_20: rgba(255, 255, 255, 0.2);
	--blanco_90: rgba(255, 255, 255, 0.9);

	--claro_01: #ebebeb;
	--claro_02: #d4d4d4;
	--medio_01: #656464;
	--medio_02: #2b2a2a;
	--oscuro_01: #181717;
	--color_01: #b50513;
}

@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Noto+Serif:wght@400;700&family=Roboto+Condensed:wght@700&display=swap');
/*
font-family: 'Fjalla One', sans-serif;
font-family: 'Noto Serif', serif;
font-family: 'Roboto Condensed', sans-serif;
*/

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

body {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 100%;
	background-color: var(--oscuro_01);
}

.container {
	display: grid;
	grid-template-areas: 
	'header' 'header' 'header' 'header' 'header' 'header'
	'nav' 'nav' 'nav' 'nav' 'nav' 'nav'
	'main' 'main' 'main' 'main' 'main' 'main'
	'aside' 'aside' 'aside' 'aside' 'aside' 'aside'
	'footer' 'footer' 'footer' 'footer' 'footer' 'footer'
}

a {
	color: var(--claro_02);
	text-decoration: none;
	transition: 0.5s;
}

a:hover {
	color: var(--color_01);
}

/* //////// Header ////// */
header {
	grid-area: header;
	background: var(--oscuro_01);
	color: var(--claro_01);
	height: 120px;
	display: flex;
	justify-content: center;
	align-items: center;
}

header h1 {
	font-family: 'Staatliches', sans-serif;
	font-size: 5.0em;
	font-weight: 100;
}


/* /////// Hamburguesa //////// */
#hamburguer {
	position: absolute;
	width: 100%;
	z-index: 2;
	top: 5px;
	right: 0px;
}

#menu_on {
	display: inline-block;
	width: 30px;
	height: 20px;
	position: absolute;
	z-index: 2;
	right: 18px;
	top: 18px;
}

#menu_on span {
	width: 100%;
	background: var(--claro_01);
	height: 4px;
	display: block;
	border-radius: 4px;
	position: absolute;
	transition: all 0.35s ease;
	transform-origin: 0px 100%;
}

#menu_on span:nth-child(2){
	top:  calc(50% - 2px);
}

#menu_on span:nth-child(3){
	bottom: 0;
}

.visibleMenu span:nth-child(1){
	transform: rotate(45deg) translate(-2px, 1px);
}

.visibleMenu span:nth-child(2){
	opacity: 0;
}

.visibleMenu span:nth-child(3){
	transform: rotate(-45deg) translate(-3px, 3px);
}

/* ////////// Nav ////////// */
nav {
	position: fixed;
	bottom: 100px;
	top: -200px;
	height: 200px;
	background: var(--color_01);
	width: 100%;
	z-index: 1;
	grid-area: nav;
	overflow-y: auto;
	opacity: 0;
	transition: all 0.75s ease;
}

.visibleMenu nav {
	top: 0;
	opacity: 1;
}

ul.navegador {
	list-style-type: none;
	width: 100%;
	height: auto;
	margin-top: 20px;
}

.enlacesNavegador ul.navegador {
	margin-top: 0px;
}

ul.navegador a {
	display: block;
	padding: 10px 20px;
	color: var(--claro_01);
	text-decoration: none;
	transition: all 1.5s ease;
}


/* ////////// Main ///////// */
main {
	background: var(--oscuro_01);
}

main section {
	padding: 0px;
}

/* //// Spotify //// */ 

.iframeSpotify {
	display: flex;
	justify-content: center;
	align-items: center;
} 

.iframeyoutube {
	display: flex;
	justify-content: center;
	align-items: center;
}

.youtube {
	width: 100%;
	height: 500px;
}

.spotify {
	margin: 10px auto 10px;
	width: 100%;
	height: 80px;
}
/* ------ article ------ */
main section article {
	padding: 15px;
	background: var(--blanco_90);
	border-radius: 10px;
	max-width: 1000px;
	margin: 5px;
	box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

article h3 {
	padding-bottom: 2px;
	font-size: 2.6em;
	color: var(--medio_02);
	border-bottom: 1px solid var(--medio_01);
	margin-bottom: 15px;
	font-weight: lighter;
}

article h5 {
	margin-top: -12px;
	margin-bottom: 10px;
}


main section article p {
	column-width: 400px;
}

/* ----- imagenes ---- */

article img {
	width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

article figure {
	position: relative;
}

#contador {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 0.8em;
	color: var(--claro_01);
}

figcaption {
	margin: 0 25px 10px 0;
	font-size: 0.6em;
	text-align: right;
}

.centrarImagenVertical {
	 object-position: 0 -100px;
}

/* -------- Parrafo --------- */

article p {
	font-size: 1em;
	font-weight: lighter;
}

/* ---- botón ----- */
article button {
	border: none;
	background: var(--color_01);
	color:  var(--claro_01);
	padding: 10px 20px;
	border-radius: 20px;
	margin: 15px 0;
	cursor: pointer;
	transition: 0.5s ease;
}

article button:hover {
	background: var(--medio_02);
}

/* /////////// Up ////////// */
.cajaUp {
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--medio_02);
}


a.up {
	width: 30px;
	height: 30px;
	display: block;
	position: relative;
	margin: 12px auto 2px;
}

div.cajaUp a.up div {
	position: absolute;
	display: block;
	background: var(--claro_02);
	width: 80%;
	height: 4px;
	border-radius: 4px;
}

div.cajaUp a.up div.arribaLeft {
	transform: rotate(-45deg) translate(-8px, 4px);
}

div.cajaUp a.up div.arribaRight {
	transform: rotate(45deg) translate(14px, -2px);
}

/* ////////// Aside ///////// */

aside {
	grid-area: aside;
	display: flex;
	flex-direction: column;
}

aside section {
	background: var(--color_01);
	width: 100%;
}

aside section:not(:last-child){
	border-bottom: 1px solid var(--blanco_20);
}

aside section.enlacesNavegador a {
	transition: none;
	font-weight: lighter;
	padding: 25px 20px;
}

aside section.enlacesNavegador a:hover {
	background: var(--color_01);
}

aside section.socialMedia ul {
	list-style-type: none;
}

aside section.socialMedia ul li a {
	color:  var(--claro_01);
	text-decoration: none;
	display: block;
	padding: 25px 20px;
	transition: all 0.35s ease;
	font-weight: lighter;
}

aside section.contacto ul {
	list-style-type: none;
}

aside section.contacto ul li a {
	color:  var(--claro_01);
	text-decoration: none;
	display: block;
	padding: 25px 20px;
	transition: all 0.35s ease;
	font-weight: lighter;
}

/* ///////// Footer ///////// */
footer {
	background: var(--medio_02);
	grid-area: footer;
	color: var(--medio_01);
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

footer p a {
	color: var(--medio_01);
}

/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 576px){
	header h1 {
	font-size: 5.5em;
	}

	article img {
		height: 300px;
	}

	main section article {
		padding: 40px;
		margin: 10px;
	}

	.spotify {
		padding: 0px 10px 0 10px;
	}

	.youtube {
		height: 500px;
	}
}

/* Medium devices (tablets, 768 and up) */ 
@media only screen and (min-width: 768px){
	header h1 {
		font-size: 6.0em;
	}

	article img {
		height: 300px;
	}

	main section article {
		margin: 15px;
	}

	#contador {
		font-size: 1.5em;
	}

	.spotify {
		padding: 0px 15px 0 15px;
	}

	.youtube {
		height: 500px;
	}
}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px){
	header {
		height: 160px;
	}	

	header h1 {
		white-space: nowrap; 
		font-size: 14.5em;
	}

	.navPrincipal ul.navegador {
		margin: 0;
		overflow: hidden;
	}

	#menu_on {
		display: none;
	}

	.navPrincipal ul.navegador li {
		float: left;
		width: 25%;
	}

	.navegador li a {
		padding: 16px 20px;
		text-align: center;
	}

	.navegador li a:hover {
		background: rgba(0, 0, 0, 0.8);
		color: var(--claro_02);
	}

	nav {
		position: relative;
		top: 0;
		height: 50px;
		z-index: 10;
		padding: 0 0px;
		transition: none;
		opacity: 1;
		max-width: 1200px;
		margin: auto;	
		box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);	
	}

	aside .enlacesNavegador li a {
		text-align: left;
	}

	.slideshow .slideshow-container{
		margin-top: 20px;
	}

	main section article {
		margin: 20px 15px;
		max-width: 1200px;
	}

	article img {
		height: 400px;
	}

	#contador {
		font-size: 2em;
	}

	aside {
		flex-direction: row;
	}

	aside section:not(:last-child){
		border-bottom: none;
		border-right: 1px solid var(--blanco_20);
	}

	.spotify {
		padding: 0px 0 5px 0px;
		max-width: 1200px;
		height: 85px;
	}

	.youtube {
		max-width: 1200px;
		height: 800px;
	}

}

/* Extra large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px){
	header {
		height: 180px;
	}

	header h1 {
		white-space: nowrap; 
		font-size: 17.5em;
	}

	nav.navPrincipal {
	border-radius: 3px;
	}

	main section article {
		margin: 10px auto;
	}

	article img {
		height: 500px;
	}
}


