@charset "utf-8";
/* CSS Document */
/*
<link href="https://fonts.googleapis.com/css?family=Baloo" rel="stylesheet">
<style type="text/css">
<link href="https://fonts.googleapis.com/css?family=Indie+Flower&display=swap" rel="stylesheet"> 

si lo pongo se reajusta toda la pagina y desaparece el Flex de las imagenes¿? 
*/

@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Baloo');
@import url('https://fonts.googleapis.com/css?family=Indie+Flower&display=swap');

section {
	display:grid;
	margin-bottom:5em;	
}
nav {
	text-transform: uppercase;
}

/*NAV*/
nav{
	background-color: white;
	border: 1px solid #666;
	padding: 2px;
	margin-right: 2px;
	margin-bottom: 5px;
}
ul{ 
	background-color: #FAAC58;
	list-style-type:none;/* quita los puntos de lista */
	margin:0.9px;
	padding:0.9px;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

li{
	background-color: LightGray; /* color celda tabla */
	margin: 0.2em;
	flex-grow: 1;
}
  a {
	display:block;
	padding:0.5em;	
	text-align:center;
	margin:0em;
	text-decoration:none;
	color:#000000; /*color letras */
}
a:hover {
	background-color:LightCoral; 
}
/*article*/
#contenedor{
	background-color: #F8E0E0;
	border: 1px solid #666;
	display:grid;
	grid-gap: 1rem;
	padding:1.5rem;
}
.bloqueV{
	box-shadow: 3px 5px 28px 0px rgba(0,0,0,0.75);
}
.bloqueV video {
	width:100%;
	height:all;
}
.bloqueV iframe {
	width:100%;
	
}
.bloqueV .textos {
	margin-left: 0.5rem;
	margin-right: 0.5rem;
	padding-bottom: 0.5rem;
	border-width: 1px;
	border-style: solid;
	border-color: #FFF;	

}
.textos h2{
	font-family: 'Roboto', sans-serif;
	font-size: 1.2rem;
	font-weight: 100;
	margin-top: 1rem;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #19191B;
	
}
.textos a{
	font-family: 'Baloo', sans-serif;
	font-size: 1.2rem;
	font-weight: 100;
	margin-top: 0;
	border-bottom-width: 0.2px;
	border-bottom-color: #19191B;
	text-align: left;
	
}
.textos p{
	font-family: 'Baloo', sans-serif;
	font-size: 1.2rem;
	font-weight: 100;
	margin-top: 0;
	border-bottom-width: 1px;
	border-bottom-color: #19191B;
	text-align: left;
	
}
/*aside*/
aside {
	display: flex;
	flex-direction: column;
	padding:0.5rem;
	background-color:LightGray ;
}

.card img {
	width:70%;
	height:auto;
	transition:all 1s;
}

.card img:hover {
	filter:invert(100%);
}
/*footer*/
footer {
	
	font-family: 'Indie Flower', cursive;
	font-size: 0.8em;
	color: #FFFFFF;
	background-color: #666;
	padding: 0.3rem;
	padding-left: 2.2em;
}


@media (orientation: landscape) {
section {
	grid-template-columns: 3fr 1fr;
    grid-template-rows: auto;
}
#contenedor {
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
}
aside {
	grid-template-columns: 1fr;
	grid-template-rows: auto auto auto;
}
nav ul {
	flex-direction: row;
}
a {
	margin-right:0.2em;
}
}
@media (orientation: portrait) {
section {
	grid-template-columns: 1fr;
    grid-template-rows: auto auto;
}
#contenedor {
	grid-template-columns: 1fr;
	grid-template-rows: auto auto auto;
}
aside {
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
}
nav ul {
	flex-direction: column;
}
nav a {
	margin-bottom:0.2em;
}
aside .card image{
	flex-direction: column;
}
}