@import url('https://faustino.es/commoncss/fontello.css');


@font-face {
    font-family: 'PP Right Didone';
    src: url('../fonts/PP-Right-Didone-Light.woff2') format('woff2'),  /* Formato WOFF2 */
         url('../fonts/PP-Right-Didone-Light.woff') format('woff'),    /* Formato WOFF */
         url('../fonts/PP-Right-Didone-Light.otf') format('opentype'); /* Formato OTF */
    font-weight: 300; /* Especificamos el peso light */
    font-style: normal;  /* El estilo normal (sin itálica) */
}


body{padding:0; margin:0}

body.no-scroll {
    overflow: hidden;
}
.container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.lang{position:absolute; top:1em; right:1em;z-index:999; display:none}

.lang a{font-size:1.5em}

h1 {
    font-family: 'PP Right Didone', serif;
    font-weight: 300;
	font-size:3.2em;
	color:#F3EFE3;
	line-height:0.9em
}

.banner {
    width: 100%;
    height: 35vw;
    background-image: url('../img/basebanner.jpg');
    background-position: 0% center ; 
    background-size: 110% auto;
	background-color:#000;
    position: relative;
   
	
}

.banner.animate-banner {
    /* Propiedades de animación */
    animation: move-banner-bg 4s ease-in-out forwards;
}

@keyframes backgroundAnimation {
    0% { background-position: center top; }
    100% { background-position: center bottom; }
}

.banner-bottle {
    position: absolute;
    right: 20%;
    top: 50%;
    transform: translateY(-45%);
    height: 100%; /* Ajustamos la altura al 80% del banner */
    opacity: 0;
    transition: opacity 1s ease-in;
}

.banner-text {
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translateY(-65%);
    color: white;
    font-size: 4.3em;
    opacity: 0;
    transition: opacity 2s ease-in;
}

.logo-faustino{

	width:400px;
	margin-bottom: -0.2em;

}

.videos-section {
    display: flex;
    justify-content: space-around;
    margin: 0px 0;
	background:#000;
	border-top:solid 20px #111;



}

.video {
    width: 33.3333%;
    background-color: #111;
    padding: 0px;
    cursor: pointer;
	opacity:0.8;
}

.video:hover{opacity:1}

video {
    width: 100%;
    height: auto;
    cursor: pointer;
	
}

/* Estilos del modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
}

.modal-content {
    position: relative;
    margin: 5% auto;
   height: 80%;
}

.modal-content video {
    width: 100%;
    height: 100%;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.featured-image {
    height: 35vw; /* La altura de la imagen puede variar según tu diseño */
    background-image: url('../img/parallax.jpg');
    background-size: cover; /* Cubrir toda la sección */
    background-position: center bottom;
/*	background-attachment: fixed; /* Esto genera el efecto parallax */
    background-repeat: no-repeat;
    position: relative;
	border-top:solid 20px #111;
	border-bottom:solid 20px #111;
}

a.btn{text-transform:uppercase; border:1px solid #193537; color:#193537; padding:0.6em 1.2em 0.6em 1.2em; text-decoration:none; background:rgba(255,255,255,0.6); font-weight:600; transition: all 0.2s ease-in;font-family: 'PP Right Didone', sans-serif;}

.award-block{
    background:#222;
    display: flex;
    flex-direction: row;     /* horizontal */
    align-items: center;     /* alinear verticalmente los items */
    justify-content: center; /* centrado horizontal */
    gap: 2rem;               
    flex-wrap: nowrap;       
    padding: 0rem;    
    width: 100%;
    padding-top:3rem;
    padding-bottom:3rem 
}

.award-block > div {
    min-width: 0;
    text-align: center;
    max-width:300px;
}
.award-block > div > img {
    width:80%
}

.award-block > div > img.animate-onview {
    transform: scale(0.80);
    opacity: 0;
    transform-origin: center center;
    transition: transform 420ms cubic-bezier(.2,.9,.2,1), opacity 420ms ease;
    will-change: transform, opacity;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.22)); /* sombra suave previa */
}

/* estado visible */
.award-block > div > img.animate-onview.show {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 14px 36px rgba(0,0,0,0.30));
}

.legacy-block {
    background-color: #fff;
    height:35vw;
    padding: 0px;
    margin: 0;
	background-image: url('../img/for-legado.jpg');
    background-size: cover; /* Cubrir toda la sección */
    background-position: center;
	position: relative;
	border-bottom:solid 20px #111;
	cursor: pointer;
    transition: all 0.3s ease-in;
    overflow: hidden; /* para que el ::after no se salga */
}

.legacy-block::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* oscurece un poco */
    transition: background-color 0.3s ease;
    z-index: 1;
}

.legacy-block:hover::after {
    background-color: rgba(0, 0, 0, 0); /* se aclara al hacer hover */
}


.legacy-text{
	position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-60%);
    height: 90%;
	width:20vw;
	padding-top:120vh;
	display:none;
}

.legacy-text img{width:100%; margin-bottom:-1em}

.legacy-text p{ color:#193537; font-size:1.6em}
.legacy-text p.white{color:#fff}

.legacy-text a.btn{border-color:#193537; color:#193537; font-size:1.5em}

.legacy-text a.btn:hover{color:#fff; background:#193537}



.legacy-item {
    margin: 10px 0;
}

.outerlink {
    background-color: rgb(52, 52, 52);
    display: flex; /* Usamos flexbox para dividir el espacio en dos columnas */
    height: 300px; /* Asegura que el contenedor tenga suficiente altura */
}

.innerlink.one{background-color:#1d1a13; background-image:url(../img/blur1.jpg);}
.innerlink.tow{background-color:#746242; background-image:url(../img/blur2.jpg);}

.innerlink {
    width: 50%; /* Cada div ocupa el 50% del espacio horizontal */
    display: flex; /* Flexbox para alinear el contenido dentro del div */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
	background-repeat:no-repeat; 
	background-position: center;
	background-size:cover

}

.innerlink a {
    display: flex; /* Flexbox para centrar el contenido dentro del enlace si es necesario */
    justify-content: center; /* Centrar contenido dentro del enlace horizontalmente */
    align-items: center; /* Centrar contenido dentro del enlace verticalmente */
    width: 95%; /* Ocupa el 70% del ancho del div padre */
    height: 90%; /* Ocupa el 50% de la altura del div padre */
    border: 1px solid rgba(255,255,255,0.2); /* Borde blanco alrededor del enlace */
    text-decoration: none; /* Elimina el subrayado del enlace */
    color: #ddd; /* Texto blanco dentro del enlace */
    text-align: center; /* Asegura que el texto esté centrado dentro del enlace */
	font-size:2.2em;
	font-weight:200;
	transition: all 0.2s ease-in;
	font-family: 'PP Right Didone', sans-serif;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.95);
	flex-direction: column;
}

.innerlink a:hover{
	background: rgba(0,0,0,0.2);
	border: 1px solid rgba(255,255,255,0.5);


}


.social-media {
	background:#222;
   text-align: center; /* Centra el contenido dentro del div */
    padding: 20px; /* Añadir espacio alrededor del contenido */
}

.social-media h2{
	font-family: 'PP Right Didone', sans-serif;
	color:#eee;
	letter-spacing:0.1em;
	font-weight:200
	}

.social-media ul {
    display: flex; /* Pone los <li> en una línea continua */
    list-style: none; /* Elimina los puntos de las listas */
	justify-content: center; /* Centrar los <li> dentro del <ul> */
    padding: 0; /* Elimina el padding predeterminado del <ul> */
    margin: 0; /* Elimina el margen predeterminado del <ul> */
}

.social-media li {
    margin: 0 10px; /* Añade espacio horizontal entre los ítems */
}

.social-media a {
    display: block; /* Asegura que los enlaces se comporten como bloques para manejar tamaño y padding */
    width: 40px; /* Tamaño del icono, ajústalo según necesites */
    height: 40px; /* Tamaño del icono */
    background-size: contain; /* Asegura que los iconos se escalen correctamente */
}

[class^="icon-"]:before, [class*=" icon-"]:before {font-size:2em}


a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

        /* Estilos para el fondo del modal */

#ageCookieModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.65);
	opacity: 1;
	transition: opacity 0.5s ease;
	z-index: 9999;
	display: none; /* Oculto por defecto */
}
/* Estilos para el contenido del modal */
#ageCookieModal .modal-content {
	position: relative;
	padding: 30px;
	text-align: center;
	max-width: 500px;
	width: 80%;
	border-radius: 10px;
	font-family: 'PP Right Didone', sans-serif;
	color:#fff;
	background-color:#000;
}
#ageCookieModal h2 {
	margin-bottom: 20px;
}
#ageCookieModal p {
	margin-bottom: 30px;
}
#acceptButton {
	padding: 10px 20px;
	background-color: #fff;
	color: #444;
	border: none;
	cursor: pointer;
	font-size: 16px;
}

.win-mod{width:250px; margin:2em auto; display:block}
/* Animaciones */

/* Animaciones */

@keyframes move-banner-bg {
    from {
        background-position: center left;
    }
    to {
        background-position: center right;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Transiciones programadas */

.banner-bottle.show {
    opacity: 1;
}

.banner-text.show {
    opacity: 1;
}

.logo-faustino.show {
    opacity: 1;
}

.logo-legado{display:none}

@media only screen and (max-width: 1480px) {
.legacy-text a.btn {font-size: 1em;}
.banner-text {font-size: 5vw;}
.logo-faustino {width: 90% }
}



@media only screen and (max-width: 480px) {

	.logo-faustino{


	margin-bottom: -0.5em;

}
	 .banner {
		width: 100wh;
		height:90vh;
		background-size: cover;
		animation: move-banner-bg 30s ease-in-out forwards;
	}
	.banner-bottle{right:2%; height:90%}
	.banner-text{left:2%; font-size:2.8em; width:50%}

	.legacy-block {
		height:40vh;
		background-size: auto 120%; /* Cubrir toda la sección */
		background-position:50% top ;
		background-repeat:no-repeat;
		background-color:#193537
	}

	.legacy-text{
		/*background: linear-gradient(
		  to bottom, 
		  rgba(25, 53, 55, 0) 72%,    /* Mantiene 0% de opacidad hasta el 65% de la altura */
		  rgba(25, 53, 55, 1) 72.5%,  /* Regresa al 50% de opacidad al 75% de la altura */
		  rgba(25, 53, 55, 1) 100%  /* Mantiene el 50% de opacidad hasta el 100% */
		);	*/
		 
	}

	.legacy-text p, .legacy-text p.white{ color:#333; font-size:1em}
	.legacy-text a.btn {font-size: 0.9em;}
	.videos-section {
		display: block;
	}
	.video {
		width: 100%;
	}
	.modal-content{
		margin:20% auto;
	}

	.featured-image {
		height: 50vh;
		background-size:200% ; /* Cubrir toda la sección */
		
	}

.legacy-text{
   right: 0%;
        top: 120%;
        padding-top: 0 !important;
        transform: translateY(-50%);
        height: 100%;
        width: 100vw;
}

.logo-legado{display:inline-block}

.legacy-text a{font-size:0.8em; color:#222}
.legacy-text img{margin-bottom: 40vh; width:50%; margin-top:2vh; display:none}
.innerlink a {
    width: 90%; /* Ocupa el 70% del ancho del div padre */
    height: 50%;
	font-size:1.5em}


}