/* Estilos generales */

@font-face {
	font-family: "Windsong";
	src: url("../fonts/Windsong.ttf");
}

@font-face {
    font-family: "The Yoshi";
    src: url("../fonts/The Yoshi.ttf");
}


body {
    font-family: 'Libre Caslon Display', sans-serif;
    color: #747474;
    line-height: 30px;
    font-size: 24px;
    margin: 0;
    padding: 0;
    text-align: center;
}


/* animaciones */

@keyframes anim-fade-in { from { opacity: 0; } to { opacity: 1 } }

@keyframes anim-up { 
	from { opacity: 0; transform: translateY(100px); } 
	to { opacity: 1; transform: translateY(0px); }  
}		

@keyframes anim-down { 
	from { opacity: 0; transform: translateY(-100px); } 
	to { opacity: 1; transform: translateY(0px); }  
}		

@keyframes anim-left { 
	from { opacity: 0; transform: translateX(100px); } 
	to { opacity: 1; transform: translateX(0px); }  
}		

@keyframes anim-right { 
	from { opacity: 0; transform: translateX(-100px); } 
	to { opacity: 1; transform: translateX(0px); }  
}		

.anim-up, .anim-down, .anim-left, .anim-right, .anim-fade-in {
	animation-duration: 1s; /* la animacion dura X segundos */
	animation-delay: 0.5s; /* esperamos X segundos antes de hacer la animacion */			
	animation-fill-mode: both; /* aplica estilos de la animacion antes y despues de reproducirla */
}

.anim-up { animation-name: anim-up; }
.anim-down { animation-name: anim-down; }
.anim-left { animation-name: anim-left; }
.anim-right { animation-name: anim-right; }
.anim-fade-in { animation-name: anim-fade-in; }

.anim-pause-1 { animation-delay: 1s; }    /* la animacion empieza en 1 seg. */	
.anim-pause-15 { animation-delay: 1.5s; } /* la animacion empieza en 1.5 seg. */	
.anim-pause-2 { animation-delay: 2s; }    /* la animacion empieza en 2 seg. */	
.anim-pause-25 { animation-delay: 2.5s; } /* la animacion empieza en 2.5 seg. */	
.anim-pause-3 { animation-delay: 3s; }    /* la animacion empieza en 3 seg. */
.anim-pause-35 { animation-delay: 3.5s; } /* la animacion empieza en 3.5 seg. */
.anim-pause-4 { animation-delay: 4s; } /* la animacion empieza en 4 seg. */
.anim-pause-5 { animation-delay: 5s; } /* la animacion empieza en 5 seg. */

/* todas las animaciones pausadas */
.paused * { 
	animation-play-state: paused;
}
/* termina animaciones */


.modal .btn {
	font-family: 'Montserrat', sans-serif;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: #7993b1;
	font-size: 16px;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
	border: 0px;
}

.modal .btn:hover {
    background-color: #7993b1;
}

.btn {
	font-family: 'Montserrat', sans-serif;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: #7993b1;
	font-size: 16px;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
	border: 0px;
}

.btn:hover {
    background-color: #7993b1;
}



.pantinicio {
    font-family: 'Libre Caslon Display', sans-serif;
    color: #747474;
    font-size: 20px;
	letter-spacing: 0px;
	line-height: 35px;
	text-transform: uppercase;
}

.pantinicio2 {
    font-family: 'Great Vibes', sans-serif;
    color: #ce9e5f;
    font-size: 40px;
	letter-spacing: 0px;
	line-height: 35px;
}

.texto-general{
    font-family: 'Libre Caslon Display', sans-serif;
    color: #747474;
    line-height: 30px;
	letter-spacing: 1px;
    font-size: 22px;
}

.texto-peq{
    font-family: 'Libre Caslon Display', sans-serif;
    color: #747474;
    line-height: 28px;
    font-size: 18px;
}

.esppeq {
	padding: 10px;
}
.espmed {
	padding: 20px;
}
.espgra {
	padding: 30px;
}

.greeting {
    font-family: 'Montserrat', sans-serif;
    color: #606060;
    font-size: 15px;
	letter-spacing: 4px;
	font-weight: 500;
	text-align: center;
}

.greetingpeq {
    font-family: 'Montserrat', sans-serif;
    color: #606060;
    font-size: 11px;
	letter-spacing: 4px;
	font-weight: 500;
	text-align: center;
	line-height: 18px;
}


.hero-section {
    position: relative;
    width: 100%;
    height: 85vh; 
    background: url('../images/1.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    z-index: 1;
    overflow: hidden;
}

.sobreimg{
    position: relative;
    width: 100%;
    height: 85vh; 
	background-image: url("../images/latsup.png"), url('../images/finalfoto.png');
    background-position: bottom left 0px, bottom center;
    background-repeat: no-repeat, no-repeat;
    background-size: 300px, contain; 
    z-index: 3;
    overflow: hidden;
}

/* Contenido de la sección (Texto superpuesto) */
.hero-content {
    position: absolute;
    top: 80%; /* Centra verticalmente */
    left: 50%; /* Centra horizontalmente */
    transform: translate(-50%, -50%); /* Ajusta para centrar perfectamente */
    text-align: center;
	width: 100%;
    z-index: 2; /* Asegura que está encima del fondo */
}

.hero-content img {
	width: 350px;
}

.name-container {
    text-align: center; /* Centra todo el contenido */
    position: relative; /* Base para posicionar el XV */
    display: inline-block; /* Mantiene la estructura contenida */
	width: 100%;
	margin-bottom: 110px;
}

.names2 {
    color: #FFF;
    font-size: 7rem;
    font-family: 'Great Vibes', cursive;
	font-weight: 500;
	font-style: normal;
    line-height: 1;
    margin: 0;
    z-index: 10;
    position: relative;
    text-shadow: 1px 1px 1px rgba(62, 62, 62, 1), 
                 2px 2px 15px rgba(255, 255, 255, 1); /* Resplandor alrededor */
}

.xv2 {
    font-family: 'Libre Caslon Display', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFF;
    position: relative;
    top: -8px;
    right: 0;
    z-index: 5;
    text-shadow: 1px 1px 1px rgba(62, 62, 62, 1), 
                 2px 2px 15px rgba(255, 255, 255, 1); /* Resplandor alrededor */
}


.names3 {
    color: #606060;
    font-size: 50px;
    font-family: 'Mea Culpa', cursive;
	font-weight: 400;
	font-style: normal;
    line-height: 1;
    margin: 0;
    z-index: 10;
    position: relative;
}

.xv3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #949494;
    position: relative;
    top: -8px;
    right: 0;
    z-index: 5;
}


/* moviles */
@media (max-width: 1024px) {
    .hero-section {
        background-attachment: scroll;
		height: 75vh; 
    }
	
	.sobreimg{
		height: 75vh; 
 		background-attachment: scroll;
		background-size: 300px, auto 70px;
	}

	
	.hero-content img {
		width: 320px;
	}
	
	.modal-text {
		top: 160px; /* Alinea al fondo */
	}	

	.names2 {
		font-size: 7rem;
	}	

}

@media (max-width: 768px) {

	.sobreimg{
		height: 75vh; 
 		background-attachment: scroll;
		background-size: 250px, auto 70px;
	}
	
	.names2 {
		font-size: 6rem;
	}

}

@media (max-width: 400px) {

	.name-container{
		text-align: right; /* Centra todo el contenido */
		position: relative; /* Base para posicionar el XV */
		display: inline-block; /* Mantiene la estructura contenida */
		margin: auto 60px 60px auto;
		width: 100%;
		margin-left: -20px;
	}

}


/* Sección de Presentación con Fondos Responsivos */
.presentacion {
    position: relative;
    width: 100%;
    padding: 20px 0px 30px 0px;
    background-color: #fff; 
    overflow: hidden; 
}

/* Contenido de la Presentación */
.contenido-presentacion {
    max-width: 800px;
    margin: auto;
	padding: 0px 20px 0px 20px;
}

.frase-presentacion {
	color: aqua;
}

@media (max-width: 1024px) {
	.contenido-presentacion {
		max-width: 800px;
		margin: auto;
		padding: 0px 30px 0px 30px;
	}
}

@media (max-width: 768px) {
    .presentacion {
        background-size: auto 100px, auto 100px; 
    }
}

@media (max-width: 480px) {
    .presentacion {
        background-size: auto 80px, auto 80px; 
		padding: 20px 0px 50px 0px;
    }
}

.text-container {
	position: relative;
	text-align: center;
	width: 100%;
	line-height: 1;
}

.line-int {
    font-family: 'Montserrat', serif;
    font-size: 100px;
    position: relative;
    z-index: 1;
	color: rgba(206, 158, 95, .7); /* Blanco con 50% de transparencia */
}

.overlay-int {
	font-size: 50px;
	font-family: 'The Yoshi', cursive;
	color: #747474;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	padding: 10px;
}

/* Sección de Padres y Padrinos */
.nombres-familia {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 10px;
    text-align: center;
}

/* Columnas */
.columna {
    flex: 1;
    max-width: 400px;
}

/* Encabezados */
.columna h3 {
    font-size: 30px;
	font-family: 'Libre Caslon Display';
    color: #ce9e5f;
    margin-bottom: 10px;
	font-weight: 500;
}

/* Nombres */
.columna p {
    margin: 2px 0;
}

/* Ajuste responsivo: Una sola columna en móviles y tablets */
@media (max-width: 768px) {
    .nombres-familia {
        flex-direction: column;
        align-items: center;
    }

    .columna {
        max-width: 100%;
    }
}

.save-the-date {
    position: relative;
    width: 100%;
    padding: 100px 0px 70px 0px;
	background-color: #e8eff9;
	background: linear-gradient(to bottom, red, #e8eff9);
    background-image: url('../images/latintermediader.png'), url("../images/latintermediaizq.png");
    background-position: top right, bottom left;
    background-repeat: no-repeat, no-repeat;
    background-size: 250px, 250px;
    overflow: hidden; 
}

@media (max-width: 768px) {

    .save-the-date {
        background-size: 250px, 250px; 
		background-attachment: scroll;
		padding: 90px 0px 30px 0px;
    }
}

@media (max-width: 480px) {

    .save-the-date {
        background-size: 180px, 0px;
		padding: 90px 0px 30px 0px;
		background-attachment: scroll;
    }
}

.titulosclaro {
    font-size: 50px;
	font-family: 'Great Vibes';
    color: #ce9e5f;
	font-weight: 500;
}

.titulossave {
    font-size: 45px;
	font-family: 'Great Vibes';
    color: #ce9e5f;
	font-weight: 500;
}

.titulospeq {
    font-size: 40px;
	font-family: 'Great Vibes';
    color: #ce9e5f;
	font-weight: 500;
	line-height: 35px;
}

.titulospeq1 {
    font-size: 32px;
	font-family: 'Libre Caslon Display';
    color: #ce9e5f;
	font-weight: 500;
	line-height: 35px;
}

.titulospeq2 {
    font-size: 28px;
	font-family: 'Libre Caslon Display';
    color: #ce9e5f;
	font-weight: 500;
	line-height: 35px;
}

.fecha {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 500;
    color: #747474;
    gap: 10px; /* Espacio entre elementos */
}

.fecha span {
    display: flex;
    align-items: center;
}

.corazon {
    font-size: 15px; /* Tamaño del corazón */
    color: #ce9e5f;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.countdown-item {
    text-align: center;
	font-family: 'Libre Caslon Display', sans-serif;
	color: #747474	;
    margin: 15px; /* Ajusta el margen para separar los elementos */
}

.countdown-label {
    font-size: 14px;
    color: #ce9e5f;
	text-transform: uppercase;	
    margin-bottom: 5px; /* Añade un margen inferior para separar los nombres de los contadores */
}

.countdown-value {
    font-size: 40px;
    color: #747474;

}




/* Sección Dónde Será */
.donde-sera {
    width: 100%;
    padding: 60px 0px 40px 0px;
    text-align: center;
    background-color: #fff;
}

/* Contenedor de los lugares */
.contenedor-lugares {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Permite que los elementos se adapten en móviles */
    max-width: 1000px;
    margin: auto;
}

/* Estilos para cada lugar (templo y fiesta) */
.lugar {
    flex: 1;
    max-width: 450px;
    background: #fff;
    padding: 20px;
    text-align: center;
}

/* Imagen del lugar */
.imagen-lugar {
    width: 80%;
    height: auto;
    margin-bottom: 10px;
}

.location-container {
	text-align: center;
	align-content: center;
	justify-content: center;
	margin-top: 20px;
}

.location-button {
	background: #ce9e5f;
	color: white;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	padding: 10px 20px;
	border: 1px #ce9e5f solid;
	border-radius: 20px;
	font-size: 14px;
	letter-spacing: 2px;
	cursor: pointer;
	text-decoration: none;
	align-items: center;
}

.location-button:hover {
	background-color: #fff;
	border: 1px #ce9e5f solid;
	color: #ce9e5f;
}

.hora {
	font-family: 'Libre Caslon Display', sans-serif;
    font-size: 25px;
	font-weight: 600;
	color: #ce9e5f;
	text-align: center;
}

/* Responsivo: Una sola columna en móviles y tablets */
@media (max-width: 768px) {
    .contenedor-lugares {
        flex-direction: column;
        gap: 20px;
    }

    .lugar {
        max-width: 100%;
    }
}

/*--- Galería ---*/

* {
  box-sizing: border-box;
}

.slider {
	width: 90%;
	max-width: 650px;
	padding: 0 0px;
	margin: 0px auto 0;
	height: 500px;
	position: relative;
}
.slider ul, .slider ul li {
	width: 100%;
	height: 100%
}
.slider ul {
	position: relative;
	overflow: hidden;
	border-radius: 0px
}
.slider ul li {
	position: absolute;
	top: 0;
	left: -100%;
	background-size: cover; /* semon #f98686 */
	background-position: center;
	color: #fff;
	font-family: serif;
}
.slider ul li:first-of-type {
	background-image: url("../images/galeria/01.jpg")
}
.slider ul li:nth-of-type(2) {
	background-image: url("../images/galeria/02.jpg")
}
.slider ul li:nth-of-type(3) {
	background-image: url("../images/galeria/03.jpg")
}
.slider ul li:nth-of-type(4) {
	background-image: url("../images/galeria/04.jpg")
}
.slider ul li:last-of-type {
	background-image: url("../images/galeria/05.jpg")
}
.slider .controll {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 44%;
	border-bottom: 3px solid #fff;
	border-left: 3px solid #fff;
	cursor: pointer;
	color: #333;
	z-index: 10000;
}
.slider .controll:first-of-type {
	transform: rotate(45deg);
	left: 25px;
	z-index: 10000;
}
.slider .controll:last-of-type {
	transform: rotate(225deg);
	right: 25px;
	z-index: 10000;
}
.slider .controll:hover, .slider .controll.active {
	border-color: #f98686; /* rose */
	z-index: 10000;
}

/* contenedor de galería */

.contgaleria {
    position: relative;
    width: 100%;
    padding: 30px 0px 90px 0px;
    overflow: hidden; 
	background-color: #fff; 
    background-image: url('../images/rasgado.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain; 
}



/* Contenido de la Presentación */
.contenido-galeria {
	max-width: 720px;
	background-color: #f2f2f2; 
	margin: auto;
	padding: 15px 0px 15px 0px;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
}

.textofoto1{
    font-family: 'Great Vibes';
    color: #747474;
    font-size: 30px;
    font-weight: 500;
	padding-top: -20px;		
}

.textofoto2{
    font-family: 'Montserrat', sans-serif;
    color: #ce9e5f;
    font-size: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
	font-weight: 800;
}


@media (max-width: 768px) {
	.slider {
		height: 450px;
		width: 90%;
	}
	.contenido-galeria {
		padding: 8px 0px 75px 0px;
		width: 95%;
	}
	.textofoto{
		bottom: 0px;
	}
	.contgaleria {
        background-size: auto 80px, auto 80px; 
		padding: 60px 0px 50px 0px;	
	}
}


/* Sección Itinerario */
.itinerario {
    width: 100%;
    padding: 20px 20px;
    text-align: center;
}

/* Contenedor del itinerario */
.contenedor-itinerario {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

/* Estilos para cada actividad */
.item-itinerario {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 8px;
}

/* Imagen de la actividad */
.imagen-itinerario {
    flex: 0 0 60px; /* Tamaño fijo de la imagen */
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
	background-color: #7b90b1;
	border-radius: 50%;
}

.imagen-itinerario img {
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
}

/* Detalles de la actividad */
.detalle-itinerario {
    flex: 1;
    text-align: left;
	line-height: 20px;
}

/*  Se mantiene en dos columnas en móviles y tablets */
@media (max-width: 768px) {
    .contenedor-itinerario {
        gap: 15px;
		max-width: 400px;
    }

    .item-itinerario {
        max-width: 100%;
    }
}



/* Estilo del texto de la actividad */
.actividad {
    color: #808981;
    font-size: 29px;
    font-family: 'Great Vibes', cursive;
}

/* Estilo del horario */
.horario {
    font-family: 'Libre Caslon Display', sans-serif;
    color: #747474;
    font-size: 18px;
	text-transform: uppercase;
	padding-right: 18px;
}
/* Estilo del horario */
.horarioright {
    font-family: 'Montserrat', sans-serif;
    color: #606060;
    font-size: 16px;
	text-transform: uppercase;
}






/* Sección Mesa de Regalos */
.mesa-de-regalos {
    width: 100%;
    padding: 120px 10px 20px 10px;
    text-align: center;
    background-image: url('../images/latintermediader.png'), url("../images/latintermediaizq.png");
    background-position: top right, bottom left;
    background-repeat: no-repeat, no-repeat;
    background-size: 250px, 250px;
}


@media (max-width: 768px) {

    .mesa-de-regalos {
        background-size: 250px, 250px; 
		background-attachment: scroll;
    }
}

@media (max-width: 480px) {

    .mesa-de-regalos {
        background-size: 180px, 200px;
		background-attachment: scroll;
    }
}



/* Contenedor de las mesas */
.contenedor-mesas {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Permite que los elementos se adapten en móviles */
    max-width: 1000px;
    margin: auto;
	padding-top: 20px;
}

/* Estilos para cada mesa */
.mesa {
    flex: 1;
    max-width: 300px;
    padding: 20px;
    text-align: center;
}

/* Imagen de la mesa de regalos */
.imagen-mesa {
    height: 100px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/*  Responsivo: Una sola columna en móviles y tablets */
@media (max-width: 768px) {
    .contenedor-mesas {
        flex-direction: column;
        gap: 20px;
    }

    .mesa {
        max-width: 100%;
    }
}

.asistencia {
    position: relative;
    width: 100%;
    padding: 3px 0px 30px 0px;
    background-color: #fff; 
    background-image: url('../images/latsup.png');
    background-position:  bottom left;
    background-repeat:  no-repeat;
    background-size: 300px; 
    overflow: hidden; 
}

/* Contenido de la Presentación */
.contenido-asistencia {
    max-width: 800px;
    margin: auto;
	padding: 50px 20px 0px 20px;
}

.cantpases {
	font-family: 'Montserrat', sans-serif;
    font-size: 20px;
	font-weight: 600;
	color: #83202b;
	text-align: center;
}

@media (max-width: 768px) {

    .asistencia {
        background-size: 250px;
		padding: 20px 0px 80px 0px;
    }
}

@media (max-width: 480px) {

    .asistencia {
        background-size: 180px; 
		padding: 20px 0px 60px 0px;
    }
}

.espadicional {
	padding: 0 30px 0 30px;
}

.derechos {
    font-family: 'Montserrat', sans-serif;
    color: #949494;
    font-size: 15px;
    margin-top: 40px;
	margin-bottom: 0px;
	letter-spacing: 4px;
	font-weight: 500;
	text-transform: uppercase;
}
