@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;
}



*{padding: 0;
margin:0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;}

body{background-color: rgb(185, 0, 0);
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    
}
.container{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 3em;

    display:grid; 
    

    }
    
    .item{background-color: white;

    
    cursor: pointer;
box-shadow: 0 0 5px 0 rgba(0,0,0,0.95);
float: center;
}


    .item-text{
        padding: 1em;

    }

.item-img{max-width: 100%;
display: block;
}

p{
	line-height: 1.5em;
	font-size: 1.2em;
}

img{
	width: 100%;
}

header{
	background-color: red;
	background-size: cover;
	height: 600px;
}
h1{
	font-weight: 600;
	font-size: 3em;
	text-align: center;
	padding: 1em 0;
	color: black;
}
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;
}



.fondo{
	background-color: red;
}



    
    .item-img{max-width: 100%;
        display: block;}
   
    
	 @media screen and (min-width:590px)   {.container{grid-template-columns: repeat(2,1fr);}}
		
	@media screen and (min-width
	:960px)   {.container{grid-template-columns: repeat(3,1fr);}}