@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: 'Raleway', sans-serif;
font-size: 20px;	
color: #334eb3;
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;
	
}

header{
	background-image: url("images/hero-img.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	
}

header div{
	color: white;
	padding: 2em;
	width: 40%;
	margin-left: auto;
	
}
.txt-bl{
	color: white;
}
.marca{
	text-transform: uppercase;
	text-decoration: underline;
	color: white;
	font-size: 1.2em
}

.titulo{
	font-size: 2.5em;
	font-weight: 800;
	text-transform: uppercase;
	
	}

.bajada{
	font-size: 1.2em;
}

.contenedor{
	padding: 2.5em;
}

.titulo span{
	font-weight: 200;
}
#modulo1{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1em;
}

#card1{
	display: flex;
	justify-content: center;
	align-items: center;
}
.subtitulo{
	color: #1d2c9e;
	font-size: 1.8em;
	text-transform: uppercase;
	font-weight: 700;
}

.textos{
	padding: 2em;
}

.bck-blue{
	background-color: #75b3bd;
}

#informacion{
	background-color: rgb(117,179,189,.90);
	color: white;
	position: absolute;
	bottom: 0;
	height: 10%;
	transition: all 0.5s  ease;
	box-sizing: border-box;
	overflow: hidden;
	opacity: 0;
}

#modulo2:hover .info-up{
	bottom: 0;
	overflow: visible;
	height: 30%;
	opacity: 1;
}

footer{
	background-color: #18284c;
	padding: 1.2em;
}

.cur-der{
	width: 50%;
	margin-left: auto;
	text-align: center;
	position: relative;
	top: -4em;
}
#cursor2, #cursor3{
	position: relative;
	top: -2.8em;
}
@keyframes flota{
	from{
		transform: translateY(0px);
	}
	
	to{
		transform: translateY(-10px);
	}
}

.flotar{
	animation: flota 1s infinite;
	animation-timing-function: linear;
	
}

@media screen and (max-width:1060px){
	body{
		font-size: 18px;
	}
	
	header div{
		width: 45%;
	}
	
}

@media screen and (max-width:820px){
	
	header div{
		width: 70%;
		margin-right: auto;
		text-align: center;
		text-shadow: 0px 0px 24px black;
	}
	
	#card1, #card2{
		grid-column: 1/5;
	}
	
	#cusor1{
		width: 100%;
	}
	
	#modulo2:hover .info-up{
	
	height: 50%;
	
}
	
	.tarjeta, .tarjeta2{
		flex-direction: column;
	}
	
	.primario{
		width: 100%;
	}
	
	h3{
		text-align: center;
	}
	
	h3 br{
		display: none;
	}
}

@media screen and (max-width:600px){
	#modulo2:hover .info-up{
	
	height: 100%;
	
}
}

@media screen and (max-width:500px){
	
	header{
		height: 80vh;
	}
	
	header div{
		width: 90%;
	}
	
	body{
		font-size: 16px;
	}
}

@media screen and (max-width:400px){
	body{
		font-size: 15px;
	}
	
	header{
		height: 70vh;
	}
	
	#informacion{
		padding: 1em;
	}
}

@media screen and (max-width:350px){
	body{
		font-size: 13px;
	}
	
	.contenedor{
		padding: 1.4em;
	}
}