@charset "UTF-8";
/* CSS Document */

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

/* CSS Reset */

*{
	box-sizing: border-box;
}

img{
	max-width: 100%;
}

body{
	
	font-family:'Roboto', sans-serif;
	font-size: 14pt;
	background-color: #003361;
}

.modulo{
	position: relative;
	overflow: hidden;
}

.titulo{
	font-family: Baskerville;
	font-size: 52pt;
}

.subtitulo{
	font-family: Baskerville;
	font-size: 24pt;
}

.red{
	color: #d22c1f;
}

.blue{
	background-color: #003361;
}

.textos{
	width: 50%;
	padding: 20px;
	position: absolute;
	float: left;
	margin-top: -200px;
	background-color: rgba(255,255,255,0.70);
}

.primario{
	width: 50%;
	float: left;	
}

h1{
	padding: 20px;
	color: white;
	z-index: 2;
	position: absolute;
}

#hero{
	overflow: visible;
}
#img-hero{
	z-index: 2;
	
}
#txt1{
	width: 70%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: -100px;
	color: white;
}

#slide{
	margin-top: 100px;
}

ul, li{
	list-style: none inside;
}

ul.slider {
        position: relative;
        }

ul.slider li {
        opacity: 0;
        transition: opacity .5s;
        position: absolute;
}

ul.slider li:first-child {
            opacity: 1;
        }

        ul.slider li:target {
            opacity: 1;
        }

nav{
	position: relative;
}

#menu nav ul{
	display: flex;
	justify-content: space-around;
	align-content: center;
	padding: 50px;
	
	
}

#menu nav ul li {
	text-align: center;
	margin-top: -50px;
	
}

#menu a{
	text-decoration: none;
	font-family: Baskerville;
	color: white;
}

#menu span{
	font-size: 60pt;
}

footer{
	position: relative;
	padding-top: 950px;
	color: white;
	
}

#txt-f{
	padding: 50px;
}

#lgo{
	padding: 20px;
	
}

#lgo img{
	margin-left: 250px
}


#menu ul  :hover,
#menu ul  :active{
	color: #003361;
	background-color: white;
}

/* Responsive */

@media screen and (max-width:1550px){
	footer{
		padding-top: 900px;
	}
	
	#lgo img{
	margin-left: 200px;
}
}

@media screen and (max-width:1450px){
	footer{
		padding-top: 830px;
	}
	
	#lgo img{
	margin-left: 150px;
}
}

@media screen and (max-width:1350px){
	footer{
		padding-top: 750px;
	}
	
	#lgo img{
	margin-left: 100px;
}
}

@media screen and (max-width:1250px){
	footer{
		padding-top: 680px;
	}
	
	#lgo img{
	margin-left: 50px;
}
}
@media screen and (max-width:1130px){
	footer{
		padding-top: 620px;
	}
	
	#lgo img{
	margin-left: 30px;
}
}

@media screen and (max-width:1052px){
	
	body{
		font-size: 12pt;
	}
	
	footer{
		padding-top: 580px;
	}
	
	.titulo{
		font-size: 46pt;
	}
	
	.textos{
		width: 45%;
	}
	
	#lgo img{
	margin-left: 20px;
		margin-top: 15px;
}
}
@media screen and (max-width:935px){
	
	
	
	footer{
		padding-top: 500px;
	}
	
	.textos{
		font-size: 11pt;
	}
	
	#txt-f{
		font-size: 11pt;
	}
	
	#lgo img{
	margin-left: 10px;
		margin-top: 20px;
}
}

@media screen and (max-width:830px){
	
	body{
		font-size: 11pt;
	}
	.titulo{
		font-size: 40pt;
	}
	footer{
		padding-top: 450px;
	}
	
	#lgo img{
	margin-left: 0px;
	}
}

@media screen and (max-width:500px){
	body{
		font-size: 10pt;
	}
	.titulo{
		font-size: 22pt;
	}
	
	#txt1{
		width: 90%;
		margin-top: -75px;
	}
	
	#menu nav ul{
		flex-wrap: wrap;
		flex-grow: 1;
		padding:0px;
		justify-content:space-around;
		
	}
	
	#menu nav ul li{
		margin-top: 10px
	}
	
	#slide{
		margin-top: 25px;
		
	}
	
	#galeria{
		margin-top: 20px;
	}
	
	#menu span{
	font-size: 40pt;
}
	
	.textos{
		width: 95%;
		font-size: 9pt;
		padding: 7px;
		margin-top: -110px;
	}
	
	#txt-f{
		font-size: 8pt;
		padding: 10px;
		line-height: 1.3;
	}
	
	#lgo img{
		margin-top: 5px;
	}
	footer{
		padding-top: 290px;
	}
}

@media screen and (max-width:355px){
	.titulo{
		font-size: 16pt;
		padding: 10px;
	}
	
	#txt1{
		font-size: 7pt;
		margin-top: -45px
	}
	
	#menu nav ul{
		
		font-size: 9pt;
}
	
	.textos{
		margin-top: 10px;
		width: 100%;
	}
	
	.primario{
		width: 100%;
		float: none;
	}
	
	footer{
		padding-top: 320px;
	}
}