@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*/ 

body{
font-family: 'Montserrat', sans-serif;	
font-size: 22px;
line-height: 1.3;
}

img{
	max-width: 100%;
}

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

.primario{
	width: 50%;
}

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

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

.textos{
	padding: 5em;
}

header{
	padding: .6em;
	background-color: #ce202e;
}

#hero{
	padding: 3em;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

h1{
	font-size: 3em;
	text-transform: uppercase;
	font-weight: 300;
	color: #666666;
}

h1 span{
	
	font-weight: 800;
}

.bajada{
	font-size: 1.1em;
	width: 44%;
	margin-left: auto;
	margin-right: auto;
}

#modulo1{
	
	background-image: url("images/bck-1.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right;
}

h2{
	font-size: 2.2em;
	text-transform: uppercase;
	font-weight: 600;
}

h2 span{
	font-family: 'Kalam', cursive;
}

#modulo2{
	
	background-image: url("images/bck-2.jpg");
	background-size: cover;
	max-width: 100%;
	background-repeat: no-repeat;
	background-position: left;
}

#modulo3{
	
	background-image: url("images/bck-3.jpg");
	background-size: cover;
	max-width: 100%;
	background-repeat: no-repeat;
	background-position: right;
}

#modulo4{
	background-color: #d9d9d9;
	padding: 2em 12em;
}



footer{
	padding: 2em;
	background-color: #6d8dab;
}

@keyframes flota{
	from{
		
		transform: translateX(-100px) translateY(-50px) rotateZ(16deg);
	}
	
	to{
		transform: translateY(50px) translateY(20px) rotateZ(-32deg);
		
	}
}

.flotar{
	animation: flota 4s infinite;
	animation-timing-function:ease;
	animation-direction: alternate;
}

@keyframes flota2{
	from{
		
		transform: rotateZ(60deg) translateX(60px) translateY(50px); 
	}
	
	to{
		transform: rotateZ(-10deg) translateX(-60px) translateY(-90px);
		
	}
}

.flotar-2{
	animation: flota2 5s infinite;
	animation-timing-function:ease;
	animation-direction: alternate;
}

@keyframes flota3{
	from{
		
		transform: rotateZ(20deg); 
	}
	
	to{
		transform: rotateZ(-40deg);
		
	}
}

.flotar3{
	animation: flota3 6s infinite;
	animation-timing-function:ease;
	animation-direction: alternate;
}


@media screen and (max-width:1280px){
	body{
		font-size: 20px;
	}
}

@media screen and (max-width:1024px){
	body{
		font-size: 18px;
	}
	
	.bajada{
		width: 54%;
	}
}

@media screen and (max-width: 768px){
	body{
		font-size: 16px;
	}
	
	.tarjeta, .tarjeta2{
		flex-direction: column;
	}
	
	.primario{
		width: 100%;
	}
	
	.bajada{
		width: 64%;
	}
	
	.textos{
		padding: 0rem;
	}
	
	#txt1, #txt2,#txt3{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
	
	#modulo4{
	
	padding: 2em 8em;
}
}

@media screen and (max-width:600px){
	body{
		font-size: 14px;
	}
	
	.bajada{
		width: 84%;
	}
	
	#modulo4{
	
	padding: 2em 5em;
}
}

@media screen and (max-width: 450px){
	body{
		font-size: 12px;
	}
	
	.bajada{
		width: 92%;
	}
}

@media screen and (max-width:350px){
	body{
		font-size: 10px;
	}
}