@charset "UTF-8";
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;
}

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;
}



body{
	font-family: 'Oswald', sans-serif;
}

p{
	line-height: 1.5em;
	font-size: 1.2em;
}

img{
	width: 100%;
}

header{
	background-image: url("images/2222.jpg");
	background-size: cover;
	height: 600px;
}
h1{
	font-weight: 600;
	font-size: 3em;
	text-align: center;
	padding: 1em 0;
	color:white;
}
h2{
	font-size: 2em;
	font-weight: 600;
	padding: 1em 0;
}

nav{
	background-color: rgb(255, 0, 0);
}

ul{
	padding: 2em 0 2em 0;
	text-align: center;
}

ul a{
	color: white;
	text-decoration: none;
}

li{
	display: inline;
	padding: 3em;
}

li:hover {
	background-color: rgb(255, 196, 0);
}

li a:hover {
	color: black;
}

.flexbox{
	display: flex;
}
.flexdirection{
	flex-direction: row;
}
.padding3em{
	padding: 3em;
}
.fondogris{
	background-color: red;
}
footer{
	background-color: red;
	padding: 5em 0 5em 0;
	text-align: center;
	color: white;
}

@media screen and (orientation:portrait){
	
	.flexdirection{
		flex-direction: column;
	}
	
	li{
	display: block;
	
}
	h1{
		padding: 3em 0;
	}
	
	p{
		font-size: 1.8em;
	}
	
	
}
