@charset "UTF-8";

/* Empieza el RESET */
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;
}

/* Termina el RESET */

body{
	font-family: 'Open Sans', sans-serif;
	background-color:#3E3B39 
}

p{
	line-height: 2em;
	font-size: 1.2em;
}

.img{
	width: 100%;
	/* Esto hace las imágenes responsive */
}

header{
	background-image: url("images/PORTADA.png");
	background-size: cover;/* Esto hace que la imagen de fondo cubra todo */
	height: 700px;
}
h1{
	font-weight: 600;
	font-size: 3em;
	text-align: center;
	padding: 1em 0;
}
h2{
	font-size: 2em;
	font-weight: 600;
	padding: 1em 0;
}
/* Empieza el menú */
nav{
	background-color:aliceblue;
	opacity:  0.4;
}

ul{
	padding: 2em 0 2em 0;
	text-align: right;
}

ul a{
	color: #3E3B39;
	font-size: 1.2em;
	opacity:  1;
	text-decoration: none;
	font-weight: 200;
	font-family: 'Open Sans',sans-serif;
}

li{
	display: inline;
	padding: 1em;
}

li:hover {
	background-color:white;
}

li a:hover {
	color: black;
}

.flexbox{
	display:flex;
}
.iconos{
	width:33%;
	;
}

.flexdirection{
	flex-direction:row;
}
.padding3em{
	padding:7em;
	color:darkgray;
}
.fondogris{
	background-color: darkgray;
}
footer{
	background-color: #3E3B39;
	color: darkgray;
	padding: 5em 0 5em 0;
	text-align: center;
}

@media screen and (orientation:portrait){
	
	.flexdirection{
		flex-direction: column;
	}
	
	li{
	display: block;
	
}
	h1{
		padding: 3em 0;
	}
	
	p{
		font-size: 1.8em;
	}
	
	
}
