

body {

    margin: 0px;
    padding: 0px;
    font-family: 'high_spiritedregular', cursive;
    background-image: url("../images/fondo.jpg");
    background-position: center;
    background-size: cover;
}

@font-face {
    font-family: 'high_spiritedregular';
    src: url('../fonts/high_spirited-webfont.woff2') format('woff2'),
         url('../fonts/high_spirited-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.background {
    height: 100vh;
    display: flex;
    justify-content: center;
	margin-top: 0px;
}

.invitation {
    text-align: center;
    margin-bottom: 30px; /* Espacio entre las secciones */
}

.container {
    position: relative;
}

.container .text {
    width: 80%;
	color: #606060;
    margin-left: auto;
    margin-right: auto;
	line-height: 30px;
	font-size: 18px;
}

.names-container {
    position: absolute;
    top: 52%;
    left: 65%;
    transform: translate(-50%, -50%);
}

.frase-container {
    position: absolute;
    top: 10%;
	left: 10%;
	width: 80%;
    transform: translate(-30%, -30%);
	text-align: center;
    margin-top: 20px;
	animation: fadeInUp 1.5s ease forwards;
}

.frase-containerinf {
    position: absolute;
    top: 20%;
	left: 10%;
	width: 80%;
    transform: translate(-30%, -30%);
	text-align: center;
    margin-top: 180px;
	animation: fadeInUp 1.5s ease forwards;
}

.text {
    width: 100%;
	font-family: 'Montserrat', sans-serif;
	color: #606060;
    margin-left: auto;
    margin-right: auto;
	line-height: 30px;
	font-size: 18px;
}

.contenedor {
    width: 40%; /* Ancho en computadoras grandes */
    background-image: url('../images/fondofrasesup.png'), url('../images/fondofraseinf.png');
    background-position: top, bottom;
    background-repeat: no-repeat;
    background-size: contain, contain;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.texto-invitacion {
	font-family: 'Montserrat', sans-serif;
    color: #606060;
    line-height: 30px;
    font-size: 18px;
    text-align: center;
    padding: 110px;
    z-index: 1;
}



.names {
	position: relative;
    color: #36231c;
    font-size: 35px;
    font-family: 'Libre Baskerville';
    font-weight: 400;
	letter-spacing: 8px;
	line-height: 60px;
	z-index: 1000; /* Asegura que los nombres estén sobre el ampersand */
	animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}

.ampersand {
  font-size: 110px; /* Tamaño más grande para el ampersand */
  color: #ff69b4; /* Color rosado (#ff69b4 es un tono rosado fuerte) */
  position: absolute;
  font-family: 'Libre Baskerville';
  top: -10px; /* Ajusta la posición del ampersand debajo de los nombres */
  left: 40%;
  transform: translateX(-50%);
  z-index: 0; /* Asegura que el ampersand esté detrás de los nombres */
  opacity: 0.2; /* Le da un efecto más sutil al ampersand */
  animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}

.namesand {
	position: absolute;
    font-size: 140px;
	margin: -20px;
    color:#eed0c3;
	font-weight: 600;
	font-family: 'Libre Baskerville';
	top: -5px;
	left: 35%;
	z-index: 0;
	opacity: 0.8; /* Le da un efecto más sutil al ampersand */
    animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}

.date {
    font-family: 'Montserrat', sans-serif;
    color: #cf5552;
    margin-top: 10px;
    font-size: 15px;
    animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}

.greeting {
    font-family: 'Montserrat', sans-serif;
    color: #cf5552;
    font-size: 18px;
    margin-top: 60px;
	margin-bottom: 10px;
	letter-spacing: 4px;
	font-weight: 500;
    animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}




.vestimenta {
    font-family: 'Montserrat', sans-serif;
    color: #cf5552;
    font-size: 15px;
    margin-top: 10px;
	margin-bottom: 10px;
	letter-spacing: 4px;
	font-weight: 500;
	text-transform: uppercase;
    animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}

.derechos {
    font-family: 'Montserrat', sans-serif;
    color: #606060;
    font-size: 15px;
    margin-top: 40px;
	margin-bottom: 10px;
	letter-spacing: 4px;
	font-weight: 500;
	text-transform: uppercase;
    animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}

.announcement {
    color: #36231c;
    font-size: 25px;
    font-family: 'Libre Baskerville', cursive;
    margin-bottom: 30px;
    animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
	text-transform: uppercase;
	letter-spacing: 5px;
	line-height: 45px;	
}

.titulo {
    color: #36231c;
    font-size: 25px;
    font-family: 'Libre Baskerville', cursive;
    margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 5px;
	line-height: 45px;	
    animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}

.textofinal {
	font-family: 'Montserrat', sans-serif;
    color: #606060;
    line-height: 30px;
    font-size: 18px;
    text-align: center;
    padding-top: 110px;
	padding-left: 110px;
	padding-right: 110px;
	padding-bottom: 20px;
    z-index: 1;
}

.frasefinal {
    color: #000;
    font-size: 50px;
    font-family: 'high_spiritedregular', cursive;
    margin-bottom: 10px;
	line-height: 50px;
    padding-top: 20px;
	padding-left: 110px;
	padding-right: 110px;
	padding-bottom: 110px;
    animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}

/* Pantallas medianas (Tablets) */
@media (max-width: 1024px) {
    .contenedor {
        width: 50%; /* Ajuste para tablets */
    }
}

/* Pantallas pequeñas (Teléfonos grandes) */
@media (max-width: 768px) {
    .contenedor {
        width: 100%; /* Ajuste para teléfonos */
    }

    .texto-invitacion {
        font-size: 18px; /* Texto un poco más pequeño en teléfonos */
		padding: 80px;
        line-height: 28px;
    }

	.textofinal {
		padding-top: 80px;
		padding-left: 80px;
		padding-right: 80px;
		padding-bottom: 20px;
    }
	
	.frasefinal {
		padding-top: 20px;
		padding-left: 80px;
		padding-right: 80px;
		padding-bottom: 80px;
    }	
	
}

/* Pantallas muy pequeñas (Teléfonos pequeños) */
@media (max-width: 480px) {
    .contenedor {
        width: 100%;
    }

    .texto-invitacion {
		padding: 80px;
        font-size: 18px; /* Ajuste del tamaño del texto para pantallas muy pequeñas */
        line-height: 26px;
    }

	.textofinal {
		padding-top: 80px;
		padding-left: 80px;
		padding-right: 80px;
		padding-bottom: 20px;
    }
	
	.frasefinal {
		padding-top: 20px;
		padding-left: 80px;
		padding-right: 80px;
		padding-bottom: 80px;
    }	
	
}


.savedate {
    color: #36231c;
    font-size: 20px;
    font-family: 'Libre Baskerville', cursive;
	margin-top: 40px;
    margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 5px;
	line-height: 45px;	
    animation: fadeInUp 1.5s ease forwards; /* Agregamos la animación fadeInUp */
}

.floating-image {
    width: 100%;
    max-width: 70%;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0; /* Inicialmente ocultamos la imagen */
    animation: fadeInUp 1s ease forwards; /* Agregamos la animación fadeInUp */
}

.floating-imagelat {
	float: left;
	position: relative;
    width: 50%;
    max-width: 30%;
    margin-top: 0px;
    margin-left: 300px;
    margin-right: auto;
    opacity: 0; /* Inicialmente ocultamos la imagen */
    animation: fadeInUp 1s ease forwards; /* Agregamos la animación fadeInUp */
}

.novios-image {
    width: 90%;
    max-width: 70%;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.datenew {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
    color: #cf5552;
    animation: fadeInUp 1.5s ease forwards;
}

.datenew .number {
    font-size: 80px;
    margin-right: 10px;
	font-weight: 800;
}

.datenew .month {
    font-size: 30px;
	font-weight: 600;
	letter-spacing: 4px;
    text-transform: uppercase;
}

.datenew .year {
    font-size: 25px;
	font-weight: 600;
    text-transform: uppercase;
}

.hora {
    font-size: 28px;
	font-weight: 600;
    text-transform: uppercase;
	color: #cf5552;
	margin: 10px;
}


.divflores-image {
    width: 30%;
    max-width: 50%;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    margin-top: 20px;
}

.vestimenta-image {
    width: 20%;
    max-width: 40%;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    margin-top: 20px;
}

.derechos-image {
    width: 100%;
    max-width: 100%;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    margin-top: 2px;
	margin-bottom: 20px;
}

.itinerario-image {
    width: 20%;
    max-width: 20%;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    margin-top: 20px;
}

.division-image {
    width: 30%;
    max-width: 50%;	
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    margin-top: 5px;
	margin-bottom: 5px;
}

.division-image2 {
    width: 30%;
    max-width: 50%;	
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    margin-top: 5px;
	margin-bottom: 5px;
}

.text-container {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #000;
    font-size: 16px;
    margin-top: 20px;
    animation: fadeInUp 1.5s ease forwards;
}


.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.countdown-container {
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.countdown-item {
    text-align: center;
	font-family: 'Montserrat', sans-serif;
	color: #cf5552;
    margin: 15px; /* Ajusta el margen para separar los elementos */
}

.countdown-label {
    font-size: 14px;
    color: #606060;
	text-transform: uppercase;	
    margin-bottom: 5px; /* Añade un margen inferior para separar los nombres de los contadores */
}

.countdown-value {
    font-size: 40px;
    color: #cf5552;
    font-weight: bold;
}


.location-container {
	text-align: center;
	align-content: center;
	justify-content: center;
	margin: 30px;
}

.location-button {
	background-color: #cf5552;
	color: white;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	letter-spacing: 2px;
	cursor: pointer;
	text-decoration: none;
	align-items: center;
	margin-top: 40px;
	animation: fadeInUp 1.5s ease forwards;

}

/* ============================= GALERIA INICIA  */
.gallery-container {
	align-content: center;
	align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 20px;
	width: 90%;
	margin: 0 auto; /* Centra el contenido horizontalmente */
}

.gallery-column {
    display: flex;
    flex-direction: column;
}

.gallery-image {
    width: 100%;
    max-width: 100%;
    margin: 0;
    cursor: pointer;
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.gallery-modal-content {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra horizontal y verticalmente */
    max-width: 90%; /* Limita el tamaño de la imagen en la vista modal */
    max-height: 90vh; /* Limita la altura de la imagen en la vista modal */
}

.gallery-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.gallery-close:hover,
.gallery-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.gallery-control {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: 0.3s;
}

.gallery-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Estilos para el control de anterior */
.gallery-modal-prev {
    left: 10px; /* Coloca el control a 10px del borde izquierdo */
	z-index: 9999;
}

/* Estilos para el control de siguiente */
.gallery-modal-next {
    right: 10px; /* Coloca el control a 10px del borde derecho */
	z-index: 9999;
}


.gallery-prev {
    left: 10px;
	z-index: 9999;
}

.gallery-next {
    right: 10px;
	z-index: 9999;
}

/* ============================= GALERIA TERMINA  */


.location-button:hover {
	background-color: #e0975a;
}

.location-button .icon {
	margin-right: 10px;
}


/* Animaciones */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* comp */
@media screen and (min-width: 768px) {
	
	.names-container {
		position: absolute;
		top: 55%;
		left: 57%;
		transform: translate(-50%, -50%);
	}	
	
	.gallery-container {
		width: 60%;
	}	
	
    .floating-image {
        width: 40%;
    }
	.novios-image {
        width: 40%;
    }
    .divflores-image {
        width: 20%;
    }
    .vestimenta-image {
        width: 10%;
    }
    .derechos-image {
        width: 15%;
    }	
	.itinerario-image{
        width: 8%;
    }
    .division-image {
        width: 30%;
    }	
    .division-image2 {
        width: 15%;
    }	
    .text {
        width: 40%;
    }
}

/* cel */
@media screen and (max-width: 767px) {
	.gallery-container {
		width: 90%;
	}	
    .floating-image {
        width: 100%;
        max-width: 100%;
    }
    .novios-image {
        width: 100%;
        max-width: 100%;
    }
    .divflores-image {
        width: 70%;
        max-width: 70%;
    }
    .vestimenta-image {
        width: 30%;
        max-width: 30%;
    }	
    .derechos-image {
        width: 50%;
        max-width: 50%;
    }	
    .itinerario-image {
        width: 20%;
        max-width: 20%;
    }	
    .division-image {
        width: 60%;
        max-width: 60%;
    }	
    .division-image2 {
        width: 40%;
        max-width: 40%;
    }	
    .text {
        width: 90%;
    }
}

