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

body{
	font-family: 'Didact Gothic', sans-serif;
	font-size: 20pt;
}

img{
	max-width: 100%;
}

#img-mob{
	display: none;
}

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

.primario{
	width: 50%;
	float: left;
}
.tarjeta{
	width: 50%;
	float: left;
	padding: 0px 30px;
	line-height: 1.1;
}

header{
	background-color: #ed1c24;
	height: 270px;
	width: 100%;
	
}
header img{
	width: 25%;
	padding: 20px;
	
}
	
h1{
	font-family: 'Alegreya Sans SC', sans-serif;
	font-size: 45pt;
	width: 45%;
	margin-left: auto;
	padding: 20px;
	position:relative;
	margin-top: 50px;
	border-bottom: solid 9px;
}

h1 span{
	
	color: #a4a4a4;
}
#img-hero img{
	margin-top: -350px;
}





#contenedor{
	padding: 35px 30px;
}

#img1{
	position: absolute;
	bottom:  0;
	width: 50%;
}



#modulo2{
	margin-top: -5px
}



#modulo3, #modulo4{
	margin-top: 30px;
}

#tarjeta-txt1{
	border-right: solid 4px;
}

#modu5{
	padding: 30px 48px;
	
}

#cta{
	padding: 20px;
	background-color: black;
	width: 20%;
	margin-left: auto;
	margin-right: auto;
	border-radius: 20px;
	
	
}
#cta a{
	text-decoration: none;
	color: white;
}


footer{
	background-color: #a4a4a4;
	display: flex;
	align-items: center;
	justify-content:space-around;
	margin-top: 20px;
}

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

#legales{
	font-size: 12pt;
	padding: 30px;
	line-height: 1.2;
}

#legales a{
	text-decoration: none;
	color: gray;
}

#legales  span{
	font-family: 'Open Sans', sans-serif;
}

/* Responsive*/

@media screen and (max-width:1490px){
	h1{
		font-size: 42pt;
	}
	
	header{
		height: 240px;
	}
	
	#cta{
		width: 25%;
	}
	
	
}

@media screen and (max-width:1400px){
	h1{
		font-size: 38pt;
	}
}

@media screen and (max-width:1275px){
	h1{
		font-size: 34pt;
		border-bottom: solid 7px;
	}
	
	header{
		height: 220px;
	}
	
	#img-hero img{
	margin-top: -300px;
}
	#cta{
		width: 30%;
	}
	footer img{
		width: 20%
	}
}

@media screen and (max-width:1150px){
	h1{
		font-size: 32pt;
	}
	
	#img-hero img{
	margin-top: -250px;
}
}

@media screen and (max-width:1090px){
	
	h1{
		font-size: 28pt;
		border-bottom: solid 5px;
	}
	
	body{
		font-size: 17pt;
	}
	
	header{
		height: 180px;
	}
	
	#legales{
		font-size: 10pt;
	}
}

@media screen and (max-width:970px){
	
	h1{
		font-size: 26pt;
	}
	
	header{
		height: 120px;
	}
	
	body{
		font-size: 15pt;
	}
	
	#hero img{
		margin-top: -200px;
	}
	
	#txt1{
		padding-right: 20px;
	}
	
	footer img{
		width: 18%;
	}
}

@media screen and (max-width:905px){
	h1{
		width: 50%;
	}
}

@media screen and (max-width:815px){
	h1{
		width: 60%;
		margin-top: 30px;
	}
	
	body{
		font-size: 12pt;
	}
	
	header{
		height: 80px;
	}
	
	#img-hero img{
		
		margin-top: -150px;
	}
	#txt1{
		padding: 5px;
	}
}

@media screen and (max-width:500px){
	h1{
		width: 90%;
		margin-top: 0px;
		font-size: 24pt;
		padding: 10px 40px;
		border-bottom: solid 3px;
	}
	
	body{
		font-size: 11pt;
		line-height: 1.2;
	}
	
	header{
		height: 60px;
	}
	
	header img{
		width: 35%;
		margin-top: -5px;
	}
	
	#img-hero img{
		margin-top: -100px
	}
	
	.primario{
		float: none;
		width: 100%;
	}
	
	.tarjeta{
		float: none;
		width: 100%;
		padding: 0px;
	}
	
	
	
	#img1{
		display: none;
	}
	
	#tarjeta2{
		display: none;
	}
	
	#modulo2{
		display: none;
		
	}
	
	#img-mob{
		display: block;
		margin-top: 30px;
	}
	
	#tarjeta-txt1{
		border-right: none;
	}
	
	#modulo4{
		margin-top: 0px;
	}
	
	#cta{
		width: 45%;
	}
	
	footer img{
		width: 25%;
	}
	
	#legales{
		font-size: 8pt;
	}
}

@media screen and (max-width:385px){
	h1{
		font-size: 16pt;
		border-bottom: none;
		padding: 5px 20px 30px 80px
	}
	
	header img{
		width: 40%;
		margin-top: -7px;
	}
	
	#cta{
		width: 60%;
	}
	
	footer{
		font-size: 10pt;
	}
}

@media screen and (max-width:330px){
	h1{
		padding: 5px 20px 40px 20px;
	}
	
	header img{
		width: 50%;
	}
	
	#cta{
		width: 75%;
	}
}