/*
Saul Armando Chávez Ledezma
-------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/***********************************
 * PALETA DE COLORES Y TIPOGRAFIAS *
 ***********************************/
:root{
	--jost: "Jost", sans-serif;
	--texto: var(--jost);
	--fondo: rgba(255, 255, 252);
	--hueso: #F0ECE1;
	--verde: #4E9A61;
	--gris: #999;
	--oscuro: #666;
	--negro: #181713;

    /* LIGHT MODE */
    --border-color: rgba(0, 0, 0, .5);
    --color-texto: var(--negro);
    --color-titulo-span: var(--gris);
    --color-hora-texto: var(--oscuro);
    --timeline-border-color: rgba(20, 20, 18, .3);
    --header-background: #141412;
    --header-text: #F0ECE1;
    --header-svg: #F0ECE1;
    --interface-border-color: rgba(20, 20, 18, .3);
    --header-border-color: transparent;
}

/* DARK MODE */
body.dark{
	--border-color: rgba(255, 255, 255, .5);
	--color-texto: var(--hueso);
    --color-titulo-span: var(--gris);
    --color-hora-texto: #FFF;
}

body,
section,
article,
header,
a,
h1,
h2,
h3,
h4,
h5,
h6,
p{
    transition:
        background-color .6s ease,
        color .6s ease,
        border-color .6s ease;
}

/*********************
 * CSS RESET *
 ********************/
*, *::before, *::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    box-sizing: border-box;
    position: relative;
}
html, body {
    height: 100%;
}
body {
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    margin: 0 auto;
    font-family: var(--texto);
    color: var(--color-texto);
}
section{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
section > aside{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
img, picture, video, canvas, svg {
    display: block;
    max-width: unset;
}
input, button, textarea, select {
    font:inherit;
    color:inherit;
    border:none;
    background:none;
    outline:none;
}
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    width: 100%;
    font-weight: 400;
}
ul, ol {
    list-style: none;
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
a{
    text-decoration: none;
    color: inherit;
}

/*********************
 *     GLOBALES      *
 ********************/
h1{
    font-size: 2.8vw;
	font-weight: 700;
}
h2{
    font-size: 1.1vw;
}
h3{
    font-size: 1vw;
    letter-spacing: .2vw;
    margin-bottom: 1vw;
}
h5, h6{
    font-size: 1.3vw;
}
p{
	font-size: 1.3vw;
	margin-top: 1vw;
	margin-bottom: 1vw;
	line-height: 1.5;
	opacity: .75;
}
li, a, h4{
    font-size: 1.2vw;
}
label, input{
    font-size: 1vw;
}
li{
    padding-top: .75vw;
    padding-bottom: .75vw;
}
section{
    padding-top: 10vw;
    padding-bottom: 10vw;
    padding-left: 5%;
    padding-right: 5%;
}
section > article{
    width: 45%;
}
section > aside{
    width: 40%;
    margin-left: 5%;
    margin-right: 5%;
    height: 100%;
}

/*********************
 * ESTILOS GENERALES *
 ********************/
.tope{
    position: relative;
    width: 100%;
    height: 80px;
}
.solo-movil{
    display: none;
}

/*********************
 *      HEADER       *
 ********************/
header{
    position: fixed;
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    height: 80px;
    top: 0px;
    color: var(--hueso);
    font-size: 12px;
    background-color: var(--header-background);
    color: var(--header-text);
    transition: none;
    border-bottom: 1px solid var(--header-border-color);
    transition: border-color .6s ease;
}
header > nav{
    width: 800px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header > nav > a{
    height: 100%;
    line-height: 80px;
    padding-left: 10px;
    padding-right: 10px;
    letter-spacing: 2px;
    cursor: pointer;
    font-size: inherit;
    font-weight: 500;
    font-size: 11px;
}
header > nav > a > span{
	opacity: .6;
}
header > nav > a:hover{
    background-color: #000;
    color: #FFF;
}
header > a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 100%;
    overflow: hidden;
}
header > a > svg{
    width: 100%;
}
header > a > svg *{
    fill: var(--header-svg);
}
header > div{
	display: flex;
	align-items: center;
	justify-content: center;
}
header > div > span{
	font-size: 10px;
	color: var(--verde);
}

/*********************
 *    BOTON MENU     *
 ********************/
input[type="checkbox"], .logo-movil{
    display:none;
}
#burger{
    display: flex;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
    position:fixed;
    z-index: 4;
    box-sizing: content-box;
    padding: 10px;
    right: 5%;
    top: 15px;
    display: none;
}
#burger span{
    background: #000;
    height:1px;
    margin: 3px 0;
    transition: .4s  cubic-bezier(0.68, -0.6, 0.32, 1.6);
}
#burger span:nth-of-type(1){
    width:50%;
}
#burger span:nth-of-type(2){
    width:100%;
}
#burger span:nth-of-type(3){
    width:75%;
}    
input[type="checkbox"]:checked ~ span:nth-of-type(1){
    transform-origin:bottom;
    transform:rotatez(45deg) translate(2px,-1px)
}
input[type="checkbox"]:checked ~ span:nth-of-type(2){
    transform-origin:top;
    transform:rotatez(-45deg)
}
input[type="checkbox"]:checked ~ span:nth-of-type(3){ 
    transform-origin:bottom;
    width:50%;
    transform: translate(30px,-11px) rotatez(45deg);
    transform: translate(8px, -4px) rotatez(45deg);
}

/*********************
 *      INICIO       *
 ********************/
.inicio{
	padding: 0px;
	color: var(--hueso);
	padding-bottom: 0vw;
	display: flex;
    align-items: flex-end;
    height: 100vh;
    z-index: 2;
}
.inicio > video{
	position: absolute;
	width: 115%;
    /*max-width: 200%;*/
}
.inicio > div{
	height: 100%;
	padding-left: 5%;
	padding-right: 5%;
	display: flex;
    align-items: flex-end;
    background-color: rgba(0,0,0,.4);
    flex-wrap: wrap;
}
.inicio > div > h1{
	font-size: 8vw;
	width: 70%;
	letter-spacing: 1vw;
	padding-bottom: 2vw;
	line-height: 1;
	font-weight: 500;
}
.inicio > div > article{
	width: 30%;
	padding-left: 8%;
	padding-bottom: 3vw;
	text-align: right;
}

/*********************
 *      BARRO       *
 ********************/
.barro{
	height: 100vh;
}
.barro > p{
	font-size: 2vw;
	width: 55%;
	text-align: center;
}
.barro > p > span{
	font-weight: 600;
	text-transform: uppercase;
}

/*********************
 *       MENU        *
 ********************/
.menu{
	padding-right: 0px;
	padding-left: 0px;
}
.menu > article{
	padding-right: 5%;
	padding-left: 5%;
}
.menu > article > h3{
	text-transform: uppercase;
	color: var(--color-hora-texto);
}
.menu > article > h3 > span{
	font-weight: 600;
	color: var(--color-texto);
}
.menu > article > h1 > span{
	color: var(--color-titulo-span);
	text-transform: uppercase;
	color: var(--color-texto);
	opacity: .45;
}
.menu > article > p{
	padding-right: 20%;
	padding-bottom: 2vw;
	border-bottom: 1px solid var(--interface-border-color);
}
.menu > article > article{
	display: flex;
	justify-content: space-between;
	margin-bottom: 1vw;
}
.menu > article > article > div > h2{
	font-weight: 600;
	text-transform: uppercase;
}
.menu > article > article > div > p{
	font-weight: 400;
	font-style: italic;
	margin-top: .5vw
}
.menu > aside{
	/*background-color: #FA0;*/
	overflow: hidden;
}
.swiper-slide{
	background-position: center center;
	background-size: cover;
}
.menu > div{
	width: 20%;
	padding-top: 4vw;
	padding-bottom: 4vw;
}
.menu > div > h2{
	font-weight: 700;
	font-size: 1.8vw;
}
.menu > div > h2 > span{
	font-weight: 300;
	font-size: 1.4vw;
	font-style: italic;
}
.menu > div > p{
	color: #444;
	font-weight: 400;
}
.menu > p{
	padding-top: 6vw;
	font-size: 2vw;
	padding-left: 5%;
	padding-right: 65%;
}
.menu > p > span{
	font-weight: 700;
}
.menu > h3{
	width: 55%;
	padding-right: 15%;
	padding-left: 15%;
	font-size: 1.2vw;
	letter-spacing: 0px;
}
.menu > article > h1{
	text-transform: uppercase;
}
.menu > img{
	width: 100%;
}

/*********************
 *       TALLER      *
 ********************/
.taller{
	justify-content: space-around;
}
.taller > article{
	width: 100%;
	padding-bottom: 5vw;
}
.taller > aside{
	width: 100%;
	margin: 0px;
	height: 40vw;
	overflow: hidden;
}

/*********************
 *     DESCANSO      *
 ********************/
.descanso > article{
	width: 100%;
	height: 12vw;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 1vw;
	margin-bottom: 1vw;
}
.descanso > article > div{
	width: 20%;
	background-color: #F00;
	height: 100%;
	margin-left: 2vw;
	margin-right: 2vw;
	background-position: center center;
	background-size: cover;
}
.descanso > article > h1{
	width: fit-content;
	font-size: 6vw;
	/*color: var(--fondo);*/
}
.descanso > article > p{
	width: fit-content;
	font-size: 2vw;
	font-style: italic;
	font-weight: 300;
	margin-left: 2vw;
	margin-right: 2vw;
	color: var(--fondo);
}

/*********************
 *      CARTA        *
 ********************/
.carta{
	align-items: flex-end;
}
.carta > article > h3 > span{
	font-size: 2vw;
}
.carta > aside{
	margin-top: 5vw;
	width: 100%;
	height: auto;
	align-items: flex-start;
	justify-content: space-between;
	background-color: transparent;
}
.carta > aside > div{
	width: 31%;
}
.carta > aside > div > h2{
	border-bottom: solid 1px var(--border-color);
	/*font-size: 1vw;*/
	font-weight: 600;
	letter-spacing: .2vw;
	padding-bottom: 1vw;
}
.carta > aside > div > article{
	display: flex;
	justify-content: space-between;
}
.carta > aside > div > article > p{
	width: fit-content;
	font-weight: 600;
	text-transform: uppercase;
	/*font-size: 1.1vw;*/
	line-height: 1.2;
}
.carta > aside > div > article > p:nth-child(2){
	text-transform: right;
	font-weight: 400;
}
.carta > aside > article{
	width: 24%;
}
.carta > aside > article > div{
	width: 100%;
	height: 20vw;
	background-size: cover;
	background-position: center center;
	background-size: cover;
}
.carta > aside > article > h2{
	font-weight: 600;
	padding-top: 1vw;
	text-transform: uppercase;
}
.carta > aside > article > p{
	margin-top: .5vw;
	font-size: 1.1vw;
	padding-bottom: 0vw;
	font-style: italic;
}

/*********************
 *      TIENDA       *
 ********************/
.tienda{
	align-items: flex-end;
}
.tienda > aside{
	margin-top: 5vw;
	width: 100%;
}

/*********************
 *      FOOTER       *
 ********************/
footer{
	padding-left: 5%;
	padding-right: 5%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-bottom: calc(4vw + 70px);
	padding-top: 5vw;
}
footer > h1{
	text-transform: uppercase;
	padding-right: 65%;
	margin-bottom: 7vw;
}
footer > h1 > span{
	color: var(--color-titulo-span);
}
footer > div:nth-child(2){
	width: 28%;
	text-align: center;
}
footer h4{
	font-weight: 600;
	letter-spacing: .4vw;
	font-size: 1.4vw;
	margin-top: 1vw;
	margin-bottom: .5vw;
}
footer h2{
	font-size: .9vw;
	letter-spacing: .3vw;
	font-weight: 500;
	margin-bottom: 1vw;
}
footer > article{
	width: fit-content;
	display: flex;
	flex-direction: column;
	line-height: 2;
}
footer p{
	font-size: 1.1vw;
	margin-top: 0px;
	margin-bottom: 0px;
}
footer > p{
	width: 50%;
	margin-top: 3vw;
}
footer > p:last-child{
	text-align: right;
}
footer svg path{
	fill: var(--hueso);
}




/*********************
 *    TIME LINE      *
 ********************/
.day-timeline {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    z-index: 1;
    background-color: transparent;
    color: var(--color-texto);
    display: flex;
    justify-content: space-between;
    transition: color .6s ease;
    isolation: isolate;
    height: 60px;
    border-top: 1px solid var(--interface-border-color);
    transition: border-color .6s ease;
}
.day-timeline::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-repeat: repeat;
    background-position: center;
    opacity: 0.20;
    pointer-events: none;
}
.day-timeline > article{
	width: 250px;
	display: flex;
	align-items: center;
}
.day-timeline > article > h2{
	font-weight: 700;
	font-size: 24px;
	width: 110px;
}
.day-timeline > article > h3{
	margin: 0px;
	font-size: 12px;
}

.day-timeline-track {
    position: relative;
    width: 55%;
    height: 40px;
}

.day-timeline-hours {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.day-timeline-hours span {
    position: absolute;
    top: 0;
    font-size: 10px;
    color: inherit;
    transform: translateX(-50%);
}

.day-timeline-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 25px;
    height: 1px;
    background-color: currentColor;
    opacity: .35;
}

.day-timeline-moon {
    position: absolute;
    top: 17px;
    left: 0;
    transform: translateX(-50%);
    font-size: 24px;
    line-height: 1;
    z-index: 2;
    will-change: left;
}

.unfold {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.unroll {
    transform-origin: top center;
    will-change: transform, clip-path;
}


@media (max-width: 2000px){
	h1{ font-size: 36px; }
	h2{ font-size: 14px; }
	h3{ font-size: 12px; }
	p{
		font-size: 16px;
		margin-top: 0px;
		margin-bottom: 0px;
	}
	section > article{ width: 600px; }
	section > aside{ width: 600px; }
	/*.menu > aside{ height: 35vw; }*/
	.menu > aside{ height: 100vh; }
	.menu > article > p{
		padding-bottom: 20px;
		margin-bottom: 14px;
	}
	.menu > article > h1{ margin-bottom: 20px; }
	.barro > p{ font-size: 30px; }
	.carta > aside > div > article{
		padding-bottom: 10px;
		padding-top: 10px;
	}
}

@media (max-width: 1400px){
	h1{ font-size: 2.8vw; }
	h2{ font-size: 1.1vw; }
	h3{ font-size: 1vw; }
	p{ font-size: 1.3vw; }
	section > article{ width: 45%; }
	section > aside{ width: 40%; }
	/*.menu > aside{ height: 50vw; }*/
	.menu > aside{ height: 100vh; }
	.menu > article > p{
		padding-bottom: 2vw;
		margin-bottom: 2vw;
	}
	.menu > article > h1{ margin-bottom: 2vw; }
	.barro > p{ font-size: 2vw; }
}


@media (max-width: 480px){
	section, .menu{
		padding-right: 10%;
		padding-left: 10%;
	}
	h1{ font-size: 11vw; line-height: 1;}
	h2{ font-size: 4vw; }
	h3{ font-size: 4vw; margin-bottom: 3vw}
	p{ font-size: 4vw; }
	section > article, section > aside, .menu > article{
		width: 100%;
		margin: 0px;
		padding: 0px;
	}
	.inicio > div > h1{
		font-size: 13vw;
	}
	.inicio > video{
		width: auto;
		height: 100%;
	}
	.inicio > div > article{
		width: 100%;
		padding-bottom: 30vw;
	}
	.barro > p{
		width: 90%;
		font-size: 6vw;
	}
	.menu > article > h1{
		margin-bottom: 4vw;
	}
	.menu > article > article{
		margin-bottom: 3vw;
	}
	.menu > article > p{
		margin-bottom: 5vw;
		padding-bottom: 5vw;
	}
	.menu > aside{
		height: 110vw;
		margin-top: 5vw;
		margin-bottom: 5vw;
	}
	.menu > div{
		width: 100%;
	}
	.menu > div > h2{
		font-size: 10vw;
		text-align: center;
	}
	.menu > div > h2 > span{
		font-size: 7vw;
	}
	.menu > div > p{
		text-align: center;
		font-size: 5vw;
	}
	.menu > p{
		font-size: 5vw;
		padding: 0px;
		text-align: center;
		margin-top: 4vw;
	}
	.descanso{
		padding: 0px;
	}
	.descanso > article{
		height: 20vw;
		margin-bottom: 10vw;
	}
	.descanso > article > div{
		width: 50%;
	}
	.descanso > article > h1{
		font-size: 7vw;
	}
	.descanso > article > p{
		font-size: 4vw;
	}
	.carta > article > h3 > span{
		font-size: 4vw;
	}
	.menu > h3{
		width: 100%;
		padding: 0px;
		font-size: 4vw;
	}
	.carta > aside > div{
		width: 100%;
		margin-bottom: 5vw;
	}
	.carta > aside > article{
		width: 49%;
		margin-top: 5vw;
		margin-bottom: 5vw;
	}
	.carta > aside > article > div{
		height: 40vw;
	}
	.carta > aside > article > p{
		font-size: 4vw;
	}
	.carta > aside{
		height: auto;
	}
	footer{
		padding-right: 10%;
		padding-left: 10%;
	}
	footer > h1{
		padding: 0px
	}
	footer > div:nth-child(2){
		width: 100%;
		margin-top: 5vw;
		margin-bottom: 10vw;
	}
	footer h4 {
	    letter-spacing: 1vw;
	    font-size: 6vw;
	    margin-top: 2vw;
	    margin-bottom: 2vw;
	}
	footer h2 {
	    font-size: 4vw;
	    margin-bottom: 3vw;
	}
	footer > article{
		width: 100%;
		margin-bottom: 8vw;
	}
	footer p{
		font-size: 4vw;
	}
	footer > article:nth-child(5){
		display: none;
	}
	.day-timeline{
		justify-content: center;
	}
	.day-timeline > article{
		width: 170px;
		text-align: center;
	}
	.day-timeline-track{
		display: none;
	}
	header{
		background-color: #FFF !important;
		color: #000;
		padding-left: 7%;
		padding-right: 7%;
		height: 70px;
	}
	header > div{
		display: none;
	}
	header svg path{
		fill: #000;
	}
	header > nav{
		width: 100%;
		height: 100vh;
		left: 0px;
		top: 70px;
		position: fixed;
		z-index: 2;
		background-color: #000;
		flex-wrap: wrap;
		align-content: center;
		padding-right: 21%;
		padding-left: 21%;
		padding-bottom: 100px;
		display: none;
	}
	header > nav > a{
		height: auto;
        width: 100%;
        line-height: 3;
        font-size: 20px;
        color: #FFF !important;
	}
	header > nav > a:last-child{
		text-align: center;
	}
	#burger{
		display: flex;
	}
}
