:root{
	--beige:#F5EDE2;
	--brown:#897E70;
}

@font-face {
	font-family: 'ResortSansWeb';
	src: url(fonts/Fontspring-DEMO-resort-sansregular.otf);
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'ResortSansWeb';
	src: url(fonts/Fontspring-DEMO-resort-sansblack.otf);
	font-weight: bold;
	font-style: normal;
}

body{
	font-family: 'ResortSansWeb', Roboto, Helvetica, sans-serif;
	text-align: center;
	margin:0 0 0 0;
	cursor:default;
	font-size: max(1.2vw,14px);
}
input[type="button"],button{
	border:none;
	background:none;
	font-size:1em;
	cursor:pointer;
}
img{
	border:none;
}
a{
	color: inherit;
	text-decoration: none;
}
*[onclick],*[href]{
	cursor: pointer;
}
textarea{
	resize:none;
}
.clr{
	clear:both;
}
.columnas2{
	-webkit-column-count:2;
	-moz-column-count:2;
	column-count:2;
}
.columnas3{
	-webkit-column-count:3;
	-moz-column-count:3;
	column-count:3;
}
.columnas4{
	-webkit-column-count:4;
	-moz-column-count:4;
	column-count:4;
}
.columnas5{
	-webkit-column-count:5;
	-moz-column-count:5;
	column-count:5;
}
.grid2{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 1em;
}
.grid3{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 1em;
}
.grid4{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1em;
}
.grid5{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 1em;
}
.flex{
	display: flex;
	flex-flow: row wrap;
	align-content: space-between;
	justify-content: space-between;
}
.flex>*{
	flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    text-align: center;
}

.site_error>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #C44;
	border:#C44 solid 1px;
	background: #EDD;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_error{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

.site_success>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #494;
	border:#494 solid 1px;
	background: #DED;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_success{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

@keyframes siteError{
	0%{opacity:1;top:5em;}
	90%{opacity:1}
	99%{opacity:0;top:5em;}
	100%{opacity:0;top:-20em;}
}

.hide_me{
	height: 0;
	width: 0;
	overflow: hidden;
	opacity: 0;
	font-size: 1px;
}

a,input,button,*[onclick],*[href],a *,*[onclick] *{
	transition: all .25s ease-in-out;
	cursor: pointer;
}

/* GENERALES */

header{
	position: fixed;
	top:0;
	left:0;
	right: 0;
	z-index: 10;
	background: black;
	color:var(--beige);
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	padding: 0.5em 10%;
}
#logo img{
	height: 4em;
}
menu{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	gap:2em;
}
.sidenav{
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	gap:1em;
}
button{
	background: var(--beige);
	font: inherit;
	color: black;
	padding: 0.5em 2em;
	border-radius: 0.25em;
}
button:hover{
	background: #333;
	color: var(--beige);
}
nav{
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: start;
	gap:0.5em;
	font-size: 0.75em;
}

header a:hover,header span[onclick]:hover{
	color: var(--brown);
}

#home{
	padding: 20% 20% 10% 10%;
	background: #999 url(imagenes/hero.jpg) center bottom fixed;
	background-size: cover;
	text-align: left;
	color: var(--beige);
	box-shadow: rgba(0,0,0,0.25) 0 0 100vw 100vw inset;
}
#home h1{
	margin-top: 0;
	font-size: 3em;
}
#home p{
	font-size: 1.5em;
	text-transform: uppercase;
}

h2{
	font-size: 2em;
}
h3{
	font-size: 1.5em;
}

#about{
	padding: 2.5% 10% 5% 10%;
	background: var(--brown);
	color: var(--beige);
}
img,video{
	display: block;
	margin: 0 auto;
	max-width: 100%;
}
#about_menu{
	padding: 1em 3em;
	background: rgba(0,0,0,0.25);
	border-radius: 3em;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	gap:4em;
	max-width: max(50%,300px);
	margin: 0 auto;
	font-weight: bold;
}
#about p{
	text-align: left;
	line-height: 1.5em;
}
#about p:first-child{
	margin-top: 0;
}
#about h2{
	margin: 2em auto;
	text-wrap: balance;
}
#about>div.grid2{
	grid-gap:5%;
}

#products{
	padding: 5% 10%;
}
#products h2{
	text-align: left;
	margin: 0;
}
#products h3{
	text-align: right;
	margin: 0;
}
#products>div.grid2{
	margin: 5% auto;
}
.product{
	text-align: left;
	color: var(--beige);
	background: #333;
	box-shadow: rgba(0,0,0,0.25) 0 0 100vw 100vw inset;
	transition: all 0.25s ease;
	overflow: hidden;
	border-radius: 1.5em;
	padding: 2em;
	background-size: cover !important;
}
.product h4{
	margin-top: 0;
	font-size: 1.5em;
}
.product div{
	background: var(--beige);
	color: #333;
	padding: 1em;
	border-radius: 1em;
	transition: all 0.25s ease;
	translate:120% 0;
}

.product:hover{
	box-shadow: rgba(0,0,0,0.65) 0 0 100vw 100vw inset;
}
.product:hover div{
	translate:0 0;
}
#product1{ background-image: url(imagenes/producto1.jpg); }
#product2{ background-image: url(imagenes/producto2.jpg); }
#product3{ background-image: url(imagenes/producto3.jpg); }
#product4{ background-image: url(imagenes/producto4.jpg); }

#contact{
	padding: 5% 10%;
	background: var(--brown);
	color: var(--beige);
	text-align: left;
	margin-bottom: 5%;
}
#contact h2{
	font-size: 4em;
}
#contact>div{
	grid-gap:5%;
}
form :is(input,textarea,select){
	box-sizing: border-box;
	padding: 0.5em;
	font: inherit;
	width: 100%;
	border:none;
	border-radius: 0.25em;
	background: var(--beige);
}
form .grid2{
	margin-bottom: 1em;
}
form button{
	margin-top: 1.5em;
}

footer{
	padding: 2em 10%;
	background: black;
	color: var(--beige);
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	text-align: left;
	font-family: Poppins, Montserrat, Roboto, sans-serif;
}
footer>div.grid2>div{
	padding:1em 0;
}
footer img{
	width: 80%;
}
footer i.fa{
	width: 1.5em;
	text-align: center;
	color: var(--brown);
}

#subfooter{
	padding: 1em 10%;
	background: black;
	color: var(--beige);
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	text-align: left;
	border-top:#333 solid 1px;
}
#subfooter h4{
	margin: 0.5em 0;
}
.footer_social{
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
}
#subfooter i.fa-caret-up{
	font-size: 1.5em;
	background: var(--beige);
	color: black;
	width: 1em;
	height: 1em;
	line-height: 0.8em;
	border-radius: 1em;
	text-align: center;
	padding: 0.25em;
	margin-left: 1em;
}
#subfooter i.fa-caret-up:hover{
	background: #333;
	color: var(--beige);
}
footer a:hover,#subfooter a:hover{
	color: var(--brown);
}

#legales{
	padding: 10%;
	text-align: left;
}




#content h1,#content h2,#content h3,#content h4,#content h5,#content p,#content img,#content a,#content li{
	position: relative;
	top: 2em;
	opacity: 0;
	transition: all 0.5s ease-in-out;
}


/* MODAL */

#modal{
	background:rgba(0,0,0,0.8);
	position:fixed;
	display:none;
	top:0;
	left:0;
	bottom:0;
	right:0;
	z-index:10;
	text-align:center;
}


/* RESPONSIVO */

.mobile_only{
	display:none !important;
}

@media all and (max-width:960px){
	.mobile_only{
		display:block !important;
	}
	.desktop_only{
		display:none !important;
	}
	.columnas2,.columnas3{
		-webkit-column-count:1;
		-moz-column-count:1;
		column-count:1;
	}
	.columnas4{
		-webkit-column-count:2;
		-moz-column-count:2;
		column-count:2;
	}
	.columnas5{
		-webkit-column-count:3;
		-moz-column-count:3;
		column-count:3;
	}
	.grid2,.grid3,.grid4,.grid5,.flex{
		display: block;
	}

	.grid2mobile{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.grid3mobile{
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
	
	header{
		height:60px;
		padding: 0 1em;
	}
	#menu_opener{
		float:left;
		margin: 5px;
		width:50px;
		height:50px;
	}
	#menu_opener>div{
		height:4px;
		margin: 4px auto 0 auto;
		background: white;
		width: 36px;
		border-radius: 4px;
	}
	#menu_opener>div:first-child{
		margin-top: 14px;
	}
	menu{
		position: fixed;
		top:60px;
		left:0;
		right: 0;
		background: var(--beige);
		color: black;
		display: none;
		padding: 2em;
		flex-direction: column;
		gap:1em;
		line-height: 2em;
		text-transform: uppercase;
		font-size: 1.25em;
		flex-direction: column;
	}
	#logo img{
		height: 50px;
	}

	#home{
		text-align: center;
		padding: 100px 5%;
		background-attachment: scroll;
	}
	video{
		margin-bottom: 2em;
	}
	.product{
		padding: 0;
		margin-bottom: 2em;
	}
	.product h4{
		padding: 2em 1em 4em 1em;
		font-size: 2em;
	}
	.product>div{
		translate: 0 0;
		border-top-left-radius: 0 !important;
		border-top-right-radius: 0 !important;
		margin: 5px;
	}
	input{
		margin-bottom: 1em;
	}
	footer,#subfooter{
		flex-direction: column;
		text-align: center;
	}
	#subfooter i.fa-caret-up{
		margin-left: 50%;
	}
	#subfooter .grid3{
		min-width: 100%;
	}
	#contact h2{
		font-size: 2em;
		text-align: center;
	}
	header button{
		padding: 0.5em 0.75em;
	}
	#home h1{
		font-size: 2.5em;
	}
	#about_menu{
		flex-wrap: wrap;
		gap:1em;
		justify-content: center;
		align-content: center;
		max-width: 100%;
		padding: 1em 0;
	}
	#about,#products,#contact{
		padding: 1.5em;
	}
}