@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: Frutiger_Light;
	font-size: 23pt;
	background-color: #cf202d;
}

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

.primario{
	width: 50%;
}

.tarjeta1{
	display: flex;
	justify-content:space-between;
	align-items: center;
}

.tarjeta2{
	flex-direction: row-reverse;
	display: flex;
	justify-content: center;
	align-items: center;
}

.tarjeta3{
	display: flex;
	justify-content: center;
	align-items: center;
}

.pleca{
	display: flex;
	justify-content:center;
	align-items: center;
	
	}

.rojo{
	background-color: #cf202d;
}

.gris{
	background-color: #231f20;
}

.textos{
	padding: 30px;
}

.nombre{
	background-color:#231f20;
	font-size: 25pt;
	color: white;
	padding: 20px;
	width: 80%
}

.ocupasion{
	margin-left: 80px;
}

h1{
	font-family: 'Abril Fatface', cursive;
	font-size: 55pt;
	color: white;
}
#pleca{
	color: white;
	font-family: 'Abril Fatface', cursive;
	font-size: 30pt;
	padding: 20px;
}
#txt-hero{
	color: white;
}

#modulo1{
	color: white;
	margin-top: 50px;
}

#contenedor{
	background-color: white;
}

footer {
	padding: 20px;
}

/* Responsive*/

@media screen and (max-width:1195px){
	
	body{
		font-size: 18pt;
	}
	
	h1{
		font-size: 40pt;
	}
	
	.nombre{
		font-size: 20pt;
	}
	
	#pleca{
		font-size:24pt; 
	}
}

@media screen and (max-width:1024px){
	h1{
		font-size: 35pt;
	}
	body{
		font-size: 16pt;
	}
	
	#pleca{
		font-size:20pt; 
	}
	
	.nombre{
		font-size: 18pt;
		width: 90%
	}
}

@media screen and (max-width:770px){
	h1{
		font-size: 26pt;
	}
	
	body{
		font-size: 12pt;
		line-height: 1.1;
	}
	
	#pleca{
		font-size:16pt;
		padding: 10px;
	}
	
	.nombre{
		font-size: 13pt;
	}
	
	.textos{
		padding: 20px;
	}
	
	.ocupasion{
		margin-left: 60px;
	}
	footer{
		padding: 10px;
	}
	
}

@media screen and (max-width:500px){
	.tarjeta1{
		flex-direction: column;
	}
	
	.tarjeta2{
		flex-direction: column;
	}
	
	.tarjeta3{
		flex-direction: column;
	}
	
	.primario{
		width: 100%;
	}
	
	
}

@media screen and (max-width:320px){
	
	h1{
		font-size: 20pt;
	}
	
	body{
		font-size: 10pt;
	}
	
	.textos{
		padding: 10px;
	}
}