@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: 'Bellota Text', cursive;	
font-size: 22px;
line-height: 1.3;
}

img{
	max-width: 100%;
}

video{
	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: 2.2em;
}

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

#hero{
	padding: 2rem;
	background-image: url("images/hero.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.marca{
	font-family: 'Playfair Display', serif;
	font-size: 1.4em;
}

h1{
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: 3.6em;
	text-transform: uppercase;
}

h1 span{
	text-transform: lowercase;
	font-style: italic;
}

.bajada{
	font-size: 1.1em;
	
	
}

.margen{
	padding: 1em 6em;
}

h2{
font-family: 'Playfair Display', serif;
font-size: 2.2em;
font-weight: 600;
text-transform: uppercase;	
}

h2 span{
	text-transform: lowercase;
	font-style: italic;
}

#modulo2{
	background-image: url("images/bck-2.png");
	background-position: right;
	background-size: cover;
	background-repeat: no-repeat;
}

#cursor1{
	width: 50%;
	position: relative;
	top: -4em;
}

#modulo3{
	background-color: #fbd1d6;
	text-align: center;
	width: 36%;
	margin-left: auto;
	margin-right: auto;
}

#img-hv{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	transition: all 0.5s ease;
	box-sizing: border-box;
	overflow: hidden;
	opacity: 0;
	background-image: url("images/img-3.jpg");
	background-size: cover;
	background-position: center;
}

#modulo3:hover .opacidad{
	bottom: 0;
	overflow: visible;
	opacity: 1;
}

#cursor2{
	position: relative;
	top:-2em;
}

#cursor3{
	position: relative;
	top: -3.4em;
}

#modulo4 p{
	width: 72%;
	margin-left: auto;
	margin-right: auto;
}

#modulo5 p{
	
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

footer{
	padding: 1.6em;
	background-color: #d7a5a5;
}

@keyframes flota{
	from{
		transform: translateY(0px);
	}
	
	to{
		transform: translateY(-10px);
	}
}

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

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

@media screen and (max-width:1024px){
	body{
		font-size: 18px;
	}
	
	#modulo3{
		width: 42%;
	}
}

@media screen and (max-width:800px){
	body{
		font-size: 16px;
	}
	
	#modulo3{
		width: 44%;
	}
}

@media screen and (max-width:768px){
	.tarjeta, .tarjeta2{
		flex-direction: column;
	}
	
	.primario{
		width: 100%;
	}
	
	#modulo3{
		width: 48%;
	}
	
	#cursor1{
		width: 100%;
		top:-22em;
	}
}

@media screen and (max-width:600px){
	body{
		font-size: 14px;
	}
	
	#modulo3{
		width: 55%;
	}
}

@media screen and (max-width:500px){
	#modulo3{
		width: 60%;
	}
}

@media screen and (max-width:450px){
	body{
		font-size: 12px;
	}
	
	#hero{
		height: 70vh;
	}
	
	.margen{
	padding: 1em 3em;
}
	
	#modulo3{
		width: 74%;
	}
	
	#cursor2{
		top:-2.2em;
	}
}

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