:root {
	--principal:	#8D1A1C;
	--secundario: 	#C92B33;
	--tercero:	    #DC706A;
	--cuatro:	   	#E2A999;
	--cinco:        #E9868E;
	--blanco:       #FFFFFF;
	--negro:        #000000;
	--sobre-apertura-activa: 1;
	--sobre-imagen: url('/invitaciones/37/Sobre.png');
	--sobre-sello: url('/invitaciones/39/Sello.png');
	--sobre-papel: #f4efe6;
	--sobre-carta: #fffaf2;
	--sobre-tinta: var(--secundario);
	--sobre-fuente: Lora;
	--sobre-punta-solapa: 68%;
	--sobre-inicio-bolsillo: 0%;
}
@font-face {
	font-family: HighSpirited;
	src: url("/assets/fonts/High-Spirited.ttf");
}
@font-face {
	font-family: Lora;
	src: url("/assets/fonts/Lora-VariableFont_wght.ttf");
}
@font-face {
	font-family: MonteCarlo;
	src: url("/assets/fonts/MonteCarlo-Regular.ttf");
}
body{
	background-color: var(--blanco);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}
body, html {
	overflow-x: hidden;
}
.jumbotron, .sticky-top, .borde{
	max-width: 800px;
	margin: 0 auto;
}
.jumbotron{
	margin-bottom: 0px;
	padding-bottom: 0px;
}
.nav-link, .navbar-brand{
	font-family: Lora;
	color: var(--primario);
}
.card-title{
	font-weight: 400 !important;
}
.display-5{
	font-weight: 400 !important;
}
.display-6{
	font-weight: 400 !important;
}
.barra{
	font-family: Lora;
	background-color: var(--principal);
	color: var(--blanco);
}
.borde{

}
/* .bordeCompleto{
border-style: solid;
border-width: 2px;
border-color: var(--principal);
} */
.and{
	font-family: Lora;
	opacity: 0.6;
	color: var(--cinco);
	letter-spacing: -10px;
}
.andPadrino{
	/* display: none; */
}
.grande {
	position: relative;
	top: 5px;
	font-size: 1.4em;
}
.moverIzq{
	position: relative;
	left: 5px;
}
.titulo1{
	font-family: Lora;
	color: var(--principal);
}
.titulo2{
	font-family: Lora;
	color: var(--cuatro);
}
.tituloSugerencias{
	font-family: Lora;
	color: var(--secundario) !important;
}
.nombres{
	font-family: HighSpirited;
	font-size: 65px;
	line-height: 1;
	font-weight: 800 !important;
	color: var(--secundario);
	text-shadow:
	-0.5px -0.5px 0 var(--blanco),
	0.5px -0.5px 0 var(--blanco),
	-0.5px  0.5px 0 var(--blanco),
	0.5px  0.5px 0 var(--blanco);
}
.fecha{
	position: absolute;
    bottom: 5vmin;
	width: 95%;
    transform: translateX(-50%);
	font-family: HighSpirited;
	font-weight: 800 !important;
	font-size: 6.5vh;
	color: var(--blanco);
	text-shadow:
	-1px -1px 0 var(--secundario),
	1px -1px 0 var(--secundario),
	-1px  1px 0 var(--secundario),
	1px  1px 0 var(--secundario);
}
.sticky-top{
	font-family: Lora;
}
.iniciales{
	display: none;
}
.lineas{
	font-family: MonteCarlo;
	color: var(--cinco);
	font-size: 10vmin;
	padding-right: 10px;
	padding-left: 10px;

}
.tituloPadres{
	font-family: HighSpirited;
	font-size: 14vmin !important;
}
.nombresPadres p{
	font-size: 6vmin !important;
	margin: 0px !important;
	line-height: 1.2;
}
.textoFinal{
	font-family: Lora;
}
.opcionRegalos{
	font-family: Lora;
	background-color: var(--cuatro);
	color: var(--principal);
}
.lluvia{
	/* filter: invert(1); */
}
.dondes{
	font-family: Lora;
	background-color: var(--cuatro);
	color: var(--principal);
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
}
.dondes .display-1{
	font-family: Lora;
}
.dondes a:link {
	color: var(--principal);
}

.dondes a:visited {
	color: var(--principal);
}

.dondes a:focus {
	border-bottom: 1px solid;
}
.gigante {
	font-size: 20vmin;
}
.flotante{
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 998;
}
.tiempo{
	font-size: 10vmin;
}
.tiempoTitulo{
	font-size: 6vmin;
}
.dresscodeSolo{
	display: block !important;
}
.dresscode{
	font-family: HighSpirited;
	font-size: 12vmin;
	color: var(--cinco);
}
.dresscode2{
	font-weight: 100 !important;
	font-size: 6vmin;
	color: var(--secundario);
}
.dresscodeAdultos, .dresscodeJovenes, .dresscodeJovenes2, .dressimageJoven{
	display: none;
}
.reservado{
	font-size: 5.5vmin;
}
.quince{
	font-family: Lora;
	font-size: 14vmin;
	text-transform: uppercase;
}
.uno{
	transform: rotate(5deg);
}
.dos{
	transform: rotate(-5deg);
	display: flex;
	justify-content: center;
	align-items: center;
}
.tres{
	transform: rotate(3deg);
	display: flex;
	justify-content: center;
	align-items: center;
}
button, .button{
	color: var(--principal) !important;
}
.btn-outline-success {
	color: var(--principal) !important;
}
.form-control{
	font-size: 3.5rem !important;
}
.google-maps iframe {
	width: 100% !important;
}
.modal-title {
	color: var(--principal);
}
.modal-body{
	color: var(--principal);
}
.texto-mesa{
	color: var(--principal);;
}
.modal-content{
	background-color: var(--cuatro);
}
.casamos{
	font-family: Lora;
	font-size: 2rem;
	text-transform: uppercase;
	padding-top: 10px !important;
	padding-bottom: 0px !important;
}
.regalo{
	color: var(--principal);
	font-size: 15vmin;
	font-family: HighSpirited;
}
.sinembargo1, .mejorSu{
	display: none;
}
.sinembargo2, .mejorTu{
	display: block !important;
}
.sinembargo{
	color: var(--secundario);
	font-size: 6vmin;
	font-family: Lora;
}
.tituloreloj{
	font-size: 10vmin;
	font-family: HighSpirited;
	text-shadow:
	-1px -1px 0 var(--cuatro),
	1px -1px 0 var(--cuatro),
	-1px  1px 0 var(--cuatro),
	1px  1px 0 var(--cuatro);
}
.tiempo{
	font-family: Lora;
	text-shadow:
	-1px -1px 0 var(--cuatro),
	1px -1px 0 var(--cuatro),
	-1px  1px 0 var(--cuatro),
	1px  1px 0 var(--cuatro);
}
.tiempoLeyenda{
	font-family: Lora !important;
	text-shadow:
	-1px -1px 0 var(--cuatro),
	1px -1px 0 var(--cuatro),
	-1px  1px 0 var(--cuatro),
	1px  1px 0 var(--cuatro);
}
#reloj{
	background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0)), url('/invitaciones/39/FondoReloj.jpg');
	background-size: cover;
	background-position: 50% 50%;
	background-color: var(--cuatro);
	overflow: hidden;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	color: var(--secundario);
	border-color: var(--tercero);
}
.tenemos{
	color: var(--cinco);
	font-family: Lora;
}
.tenemos1{
	font-size: 10vmin !important;
	padding-left: 4px !important;
	padding-right: 4px !important;
}
.tenemos2{
	font-size: 12vmin !important;
}
.galeria{
	font-family: HighSpirited;
	color: var(--cinco);
	font-size: 15vmin;
}
.invitado{
	font-family: HighSpirited;
	color: var(--secundario);
	font-size: 15vmin;
}
.datosInvitado, .reservado{
	color: var(--secundario);
}
h5.datosInvitado, h5.reservado{
	font-size: 6vmin !important;
}
.confirmar, .botonDonde, .play{
	background-color: var(--principal);
	color: var(--blanco) !important;
}
.botonDonde:hover, .confirmar:hover, .play:hover{
	background-color: var(--cuatro) !important;
	color: var(--principal) !important;
}
.navbar-brand, .dressimage1, .dressimage2, .dressimage3{
	display: none;
}
.final{
	font-family: HighSpirited;
	color: var(--secundario);
	font-size: 10vmin;
}
.dressimage{
	height: 200px;
	background-image: url('/assets/img/Invitaciones/Dresscode\ Formal.webp');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 50% 50%;
}
.imagenCeremoniaOriginal, .imagenRecepcionOriginal{
	display: none;
}
.imagenCeremonia{
	width: 150px;
	height: 150px;
	background-image: url('/assets/img/Invitaciones/Iglesia.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 50% 50%;
}
.imagenRecepcion{
	width: 150px;
	height: 150px;
	background-image: url('/assets/img/Invitaciones/Brindis.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 50% 50%;
}
.espacioArriba{
	display: none;
}
.espacioAbajo{
	/* display: none; */
}

.rosa{
	color: var(--principal) !important;
}
.swal2-popup{
	background-color: var(--blanco) !important;
	color: var(--cuatro) !important;
}
/* ANIMACIONES */
.animated-element {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

	/* Fixes específicos para WebKit (Safari) */
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-perspective: 1000px;
	perspective: 1000px;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	will-change: transform, opacity;

	/* Usar translate3d para forzar aceleración de hardware */
	-webkit-transform: translate3d(0, 30px, 0);
	transform: translate3d(0, 30px, 0);
}

.animated-element.animate__animated {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

/* Sobrescribir animaciones problemáticas de Animate.css */
.animate__bounceIn,
.animate__zoomIn,
.animate__rotateIn,
.animate__flipInX {
	-webkit-animation-name: safeFadeInUp !important;
	animation-name: safeFadeInUp !important;
	-webkit-animation-duration: 0.8s !important;
	animation-duration: 0.8s !important;
	-webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
	animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Animación personalizada más suave */
@-webkit-keyframes safeFadeInUp {
	0% {
		opacity: 0;
		-webkit-transform: translate3d(0, 30px, 0);
		transform: translate3d(0, 30px, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes safeFadeInUp {
	0% {
		opacity: 0;
		-webkit-transform: translate3d(0, 30px, 0);
		transform: translate3d(0, 30px, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

/* Fix para evitar parpadeos al final de la animación */
.animate__animated {
	-webkit-animation-fill-mode: forwards !important;
	animation-fill-mode: forwards !important;
}
hr {
	display: none;
}
#donde{
	padding: 0px !important;
}
.dondes{
	margin: 0px !important;
}
