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

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

header{
	max-width: 100%;
	text-align: center;
}

header img{
	padding: 1em;
}

header nav ul{
	margin: 0;
	padding-bottom: 1em;
}
	
header nav ul li{
	display:block;
	padding-top: 1em;
	padding-bottom: 0,5em;
	list-style-type: none;

}

header nav ul li a{
	display: block;
    font-size: 18px;
    text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: black;
}

.slider{
	background: url("images/cuenca.jpg");
	background-position-x: 65%;
    background-repeat-y: no-repeat;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
	text-align: center;
	width: 100%;
    height: 400px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    float: left;
    background-size: cover;	
	margin-bottom: 2em;

}

.slider h1 {
	color: white;
	float: left;
	position: absolute;
	margin-top: 250px;
	margin-left: 1rem;
	font-size: 2em;
	font-style: bold;
	background: #afc32e; 
   	padding: 10px;
	text-align: left;

}


h2{
	color: white;
	float: left;
	position: absolute;
	margin-top: 14.8em;
	margin-left: em;
	font-size: 1.8em;
	font-style: bold;
	background: #afc32e; 
	background-margin: 1em;
	background-margin-left: 1em;
   	padding: 10px;
	text-align: center;
	
}

section{
	text-align: center;
	margin-left: 0.5em;
	margin-right: 0.5em;
}



.texto-cuenca p{
	clear: both;
	font-style: normal;
	margin-top: 1em;
	}


.texto-cuenca{
	clear: both;
	padding-top: 3em;
}
	


.iconos-cuenca{
	clear: both;
	text-align: center;
	margin-top: 1em;
}

.iconos-cuenca img{
	max-width: 60%;
	margin-bottom: 1em;
	
}

h3{
	font-size: 4em;
	margin-bottom: -0.2em;
	font-style: bold;
	font-weight: 900;
	padding-bottom: -1em;
	margin-top: 1.8em;
	text-decoration: none;
	color: black;
	}



.enlaces{
	clear: both;
	padding-left: 1em;
	padding-right: 1em;
}

h5{
	color: black;
	font-size: 1em;
	font-style: italic;
	background: #f4de4a; 
   	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 6em;
	margin-bottom: -2em;	
}


a{
	text-decoration: none;
}

h6{
	font-size: 1.5em;
	margin-bottom: -0.2em;
	font-style: bold;
	padding-bottom: -1em;
	margin-top: 1.8em;
	text-decoration: none;
	color: black;
	}


.enlaces p{
	margin-top: 0;
	font-style: italic;
	
}

footer {
	background: black;
	padding-top: 1em;
	margin-top: 1em;
	
}

footer p {
	font-size: 0.8em;
	color: white;
	font-style: italic;
	padding: 1em;
	margin: 1em;
	padding-bottom: 1em;
	text-align: center;
}

.footer-logos{
	text-align: center;
	word-spacing: 1em;
	
}

footer img{
	max-width: 70%;	
	margin: -0.5em;
	padding-top: 1em;
		
}




/*----------------Responsive 1---------------*/

@media screen and (min-width: 500px) {

	header{
		
	}
	
	
header img{
	margin-top: 1em;
	padding: 1em;
	float: left;
	clear: both;
}

header nav ul{

	padding-top: 3em;


	}	
	
header nav ul li{
	display:block;
	padding-top: 1em;
	padding-bottom: 0,5em;
	list-style-type: none;
	
}

header nav ul li a{
	display: block;
    font-size: 11px;
	text-align: right;
	text-transform: uppercase;
	text-decoration: none;
	color: black;
	padding-right: 4em;
}


.sublista {
	display: block;
}	
	
	
	
	
	h2{
		color: white;
	float: left;
	position: absolute;
	margin-top: 14.8em;
	margin-left: em;
	font-size: 1.8em;
	font-style: bold;
	background: #afc32e; 
	background-margin: 1em;
	background-margin-left: 1em;
   	padding: 10px;
	text-align: center;
	width: calc(70%);
	
	}
	
	

/*----------------Responsive 2---------------*/

@media screen and (min-width: 800px) {
	
	header{
		height: 15em;
	}

	header img{
		margin-left: 5em;
		float: left;
		width: 200px;
	}

	
	header nav ul{
		margin-top: 7em;
		width: 65%;
		text-align: right;
		float: right;
		
		
		}
	
	header nav ul li{

		display: inline-block;
				
	}
		
	header nav ul li a{
		text-decoration: none;
		font-size: 11px;
		margin-left: 1em;
		padding-right: 2em;
		
	}
  
    
    #contenedor{
        width: 100%;
        margin: auto;
        text-align: center;
    }
	
	.slider{
		background: url("images/cuenca.jpg");
		background-position-y: 45%;	
		text-align: center;
		width: 100%;
		height: 500px;
		margin-top: 5px;
		margin-right: auto;
		margin-bottom: 0px;
		margin-left: auto;
		float: left;
		background-size: cover;	
		margin-bottom: 2em;

		}

	
.slider h1 {
	color: white;
	float: left;
	position: absolute;
	margin-top: 300px;
	margin-left: 1em;
	font-size: 4em;
	font-style: bold;
	background: #afc32e; 
   	padding: 10px;

}



h2{
		color: white;
		float: left;
		position: absolute;
		margin-top: 16.3em;
		margin-left: em;
		font-size: 2em;
		font-style: bold;
		background: #afc32e; 
		background-margin: 1em;
		background-margin-left: 1em;
		padding: 10px;
		text-align: center; 
		width: calc(60%);
	
	
	}
	
	section{
		text-align: center;
		width: 90%;
		padding: 0;
		margin: 0;
		
	}

	
	.texto-cuenca {
		clear: both;
		line-height: 1.3em;
		font-size: 1em;
		float: left;
		font-size: 17px;
		width: 30%;
		margin-left: 5em;


	}

	.texto-cuenca p{	
		text-align: left;
		font-style: normal;
		margin-top: 1em;
		}


	.iconos-cuenca{
        display: inline-block;
        width: 30%; 
		
	}
	
	.iconos-cuenca img{
		position: relative;
		width: 50%;
		
		
	}
	
	
		.enlaces{
		padding-top: 1em;
		margin-left: 1em;	
		clear: both;
		text-align: left;
}
	
	
		
	h5{
	color: black;
	font-size: 1em;
	font-style: italic;
	background: #f4de4a; 
   	padding: 10px;
	padding-right: 2em;
	margin-bottom: 1em;	
	padding-top: 1em;
	
	}
	
	
	h6{
		color: black;
		font-size: 1.5em;
		margin-top: 0.5em;

	}

	a{
		text-decoration: none;
	}


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
