:root {
	--white_envelope: url(../img/texturafusia.jpg) #ff96c5;
	--gold_envelope: url(../img/texturafusia.jpg) #ff96c5;
	--white_paper_up: red;
	--gray: #a5a5a5;
	--gold: #ff1b82;

	--time-chrome: 9s;
}

body {
	width: 100%;
	margin: 0;
	background: var(--white_envelope);
	overflow-y: hidden;
	font-family: "Montserrat", sans-serif;
	font-size: 0.4vw;
	z-index: 0;

	-webkit-animation: bodyScroll 0.1s calc(9s - var(--time-chrome)) ease-in-out
		forwards;
	-o-animation: bodyScroll 0.1s calc(9s - var(--time-chrome)) ease-in-out
		forwards;
	-moz-animation: bodyScroll 0.1s calc(9s - var(--time-chrome)) ease-in-out
		forwards;
	animation: bodyScroll 0.1s calc(9s - var(--time-chrome)) ease-in-out forwards;
}

.nombre_darcy {
	font-family: "Great Vibes", serif;
	font-weight: 400;
	font-style: normal;
    font-size: 100px;
    color: #ff1b82;
	text-align: center;
	font-weight: bold;
	text-shadow: 3px 5px 15px rgba(72, 32, 92, 11.3);
}
@media (min-width: 800px) {
	.nombre_darcy{
		font-size: 140px;
	}
	
}
.textoDarcy{
	background: rgba(0, 0, 0, 0);
}

.nombre_darcy span {
	opacity: 0;
	transform: translateY(20px);
	display: inline-block;
	animation: fadeInUp 0.5s ease forwards;
	padding: 0px 50px;
    border-radius: 91px;
  }

@media (max-width: 2300px) {
	body {
		font-size: 0.6vw;
	}
}

@media (max-width: 2100px) {
	body {
		font-size: 0.7vw;
	}
}

@media (max-width: 1100px) {
	body {
		font-size: 1vw;
	}
}

.imagen{
	height: 77%;
    margin-bottom: 43px;
}

.imgPortada {
	height: 100vh;
	height: calc(var(--vh) * 108);
	width: 100%;

	position: fixed;
	top: 0;
	left: 0;
	background-color: var(--white_paper_up);
	background-image: url(../img/galeria/fondo6.png);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;

	opacity: 0;

	-webkit-box-shadow: inset 0 -2px 6px -1px black;
	-moz-box-shadow: inset 0 -2px 6px -1px black;
	box-shadow: inset 0 -2px 6px -1px black;

	-webkit-animation: appear 3s calc(7.5s - var(--time-chrome)) ease-in-out
		forwards;
	-o-animation: appear 3s calc(7.5s - var(--time-chrome)) ease-in-out forwards;
	-moz-animation: appear 3s calc(7.5s - var(--time-chrome)) ease-in-out forwards;
	animation: appear 3s calc(7.5s - var(--time-chrome)) ease-in-out forwards;
}

@media (min-width: 800px) {
	.imgPortada {
		background-color: var(--white_paper_up);
		background-image: url(../img/galeria/4.jpeg);
		background-position: center;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
}

.imgPortadaFalse {
	height: calc(var(--vh) * 108);
	width: 100%;
	background-color: transparent;
	background-size: cover;
} 

.letter {
	height: calc(var(--vh, 1vh) * 108);
	width: 100%;
	background-color: #ffe4ec;
	position: relative;
}

.sticky_effect {
	position: relative;
	top: calc(var(--vh, 1vh) * (-38));
	height: calc(var(--vh, 1vh) * 146);
	width: 100%;
}

.letter_content {
	height: calc(var(--vh, 1vh) * 100);
	width: 100%;
	position: -webkit-sticky;
	position: sticky;
	top: calc(var(--vh, 1vh) * 70);
}

.div_svg {
	position: absolute;
	transform-box: fill-box;
}

.div_marco {
	width: calc(100% - 8em);
	height: max(calc(95% - 4vw), 90.7%);
	top: min(calc(36px + 4vw), 75px);
	left: 4em;

}

.div_nombre_mavi {
	width: 100%;
	top: 0;
	height: calc(12% + 8vw);
	max-height: 195px;
}

.div_mis_quince {
	width: 80%;
	max-width: 500px;
	top: calc(var(--vh, 1vh) * 11);
	left: max(10%, calc((100% - 500px) / 2));
	height: 25vw;
	max-height: 249px;
	
}
@media (min-width: 1000px){
	.div_mis_quince {
		height: 18vw;
	}
}

/* Estilo inicial */
.nombre_mis_quince {
	font-size: 50px;
	font-weight: 400;
	font-style: normal;
    color: #ff1b82;
	text-align: center;
	font-weight: bold;
	text-shadow: 3px 5px 15px rgba(72, 32, 92, 11.3);
  }
.div_audio{
	display: flex; /* Activa flexbox */
	justify-content: center; /* Centra horizontalmente */
	align-items: center; /* Centra verticalmente */
 }



#marco_gold {
	opacity: 0;
}

.mask_mavi {
	fill: none;
	stroke: #fff;
	stroke-width: 40;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.write1 {
	stroke-dasharray: 6000;
	stroke-dashoffset: 6000;

	-webkit-animation: animate-mavi 3.5s calc(9.3s - var(--time-chrome)) ease-in
		forwards;
	-o-animation: animate-mavi 3.5s calc(9.3s - var(--time-chrome)) ease-in
		forwards;
	-moz-animation: animate-mavi 3.5s calc(9.3s - var(--time-chrome)) ease-in
		forwards;
	animation: animate-mavi 3.5s calc(9.3s - var(--time-chrome)) ease-in forwards;
}

.write2 {
	stroke-dasharray: 6000;
	stroke-dashoffset: 6000;

	/* 2.5s de diferencia */
	-webkit-animation: animate-mavi 4.5s calc(11.8s - var(--time-chrome)) ease-out
		forwards;
	-o-animation: animate-mavi 4.5s calc(11.8s - var(--time-chrome)) ease-out
		forwards;
	-moz-animation: animate-mavi 4.5s calc(11.8s - var(--time-chrome)) ease-out
		forwards;
	animation: animate-mavi 4.5s calc(11.8s - var(--time-chrome)) ease-out
		forwards;
}

#mavi_white {
	fill: #ffffff;
}

#mavi_gold {
	fill: var(--gold);
	opacity: 0;
}

#mis_quinces {
	opacity: 0;

	-webkit-animation: appear 2.5s calc(10.8s - var(--time-chrome)) ease-out
		forwards;
	-o-animation: appear 2.5s calc(10.8s - var(--time-chrome)) ease-out forwards;
	-moz-animation: appear 2.5s calc(10.8s - var(--time-chrome)) ease-out forwards;
	animation: appear 2.5s calc(10.8s - var(--time-chrome)) ease-out forwards;
}

#mis_quinces path {
	fill-rule: evenodd;
	stroke-width: 0;
}

#mis_quince_gold {
	fill: var(--gold);
	opacity: 1;
}

#mis_quince_gray {
	fill: var(--gray);
	opacity: 0;
}

.information {
	width: 85%;
	height: max(60%, calc(72% - 12vw));
	position: absolute;
	left: 7.5%;
	bottom: 30px;
	display: flex;
	flex-direction: column;
}

.scroll {
	width: 100%;
	overflow: hidden;
	flex: 1;
}

.sections {
	width: 500%;
	height: 100%;
	transition: transform 0.8s ease;
	margin-top: 64px;
}

section {
	height: 100%;
	width: 20%;
	float: left;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

section .uno p{
	font-family: "Monsieur La Doulaise", serif;
	font-weight: 400;
	font-style: normal;
	color: black;
	font-size: 20px;
}
section .textosec1{
	font-family: "Great Vibes", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 30px;
}

/*  Dentro Section  */
.line {
	/*border-top: solid max(3px, 0.3vw) var(--gold);*/
	width: min(calc(var(--vh) * 44), 70%);
	flex: 1 0 auto;
}

.espacio_cuenta_regresiva {
	flex: 4 0 auto;
}

.cuenta-regresiva {
	width: calc(var(--vh) * 10.8);
	height: calc(var(--vh) * 10.8);
	padding: calc(var(--vh) * 3.24);
	border: solid 3px var(--gold);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.cuenta-regresiva p {
	font-size: calc(var(--vh) * 2.16);
	font-family: "Montserrat", sans-serif;
	color: black;
	font-weight: bolder;
	margin: 0;
	margin-top: calc(var(--vh) * 0.432);
	line-height: 1.4;
}

header {
	width: 90%;

	font-size: min(46px, 6vw);
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	color: #464646;
	flex: 2 0 auto;
}

.box {
	margin: 18px 2%;
	font-size: min(4.2vw, 28px);
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	color: var(--gray);
	text-align: center;
}

section p {
	font-size: min(4.2vw, 28px);
	font-family: "Montserrat", sans-serif;
	font-weight: 400;

	margin: 0;
	flex: 2 0 auto;
}

.espacio_btn {
	flex: 8 0 auto;
}

.section_clock .espacio_btn {
	flex: 1 0 auto;
}
.textoLluvia{
	background: rgb(0, 0, 0, 0.3);
	border-radius: 52px;
	padding: 11px 22px;
    font-size: 32px;
	font-weight: bold;
	margin-top: -100px;
}
.fondoLluvia{	
	width: 100%;
	height: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
	background-image: url(../img/lluvia2.png);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.btn {
	font-size: min(4.2vw, 28px);
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	color: var(--gray);

	display: inline-block;
	font-weight: 400;
	font-family: "Montserrat", sans-serif;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-size: min(3.5vw, 30px);
	line-height: 1.5;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
		border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

	color: white;
	background-color: var(--gold);
	border-radius: 30px;
	padding: 10px 40px;
	border: 1px solid var(--gold);
	text-decoration: none;
	text-transform: uppercase;
}

.btn:hover {
	color: var(--gold);
	background-color: white;
}

.container {
	width: min(calc(var(--vh) * 41.04), 95%);
	flex: 6 0 auto;
}

.row {
	display: -ms-flexbox;
	-ms-flex-wrap: wrap;
	display: flex;
	flex-wrap: wrap;
}

section.galeria .item-galeria {
	padding: 0 1.5%;
	margin-bottom: 3%;
}



.col-6 {
	flex: 0 0 50%;
	max-width: 47%;
	position: relative;
	width: 100%;
}

section.galeria .item-galeria a img {
	transition: all 0.3s ease-out;
	border-radius: 10px;
	height: 100px;
}

.img-fluid {
	max-width: 100%;
	height: auto;
}

img {
	vertical-align: middle;
	border-style: none;
}

section.galeria .item-galeria a:hover img {
	transform: scale(1.1);
	position: relative;
	z-index: 999;
}

.fancybox-bg {
	background-color: #443603fa !important;
}

/*  Nav  */
nav {
	z-index: 0;
	height: 10%;
	width: 100%;
}

ul {
	list-style-type: none;
	height: 100%;
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin: 0;
	padding: 0;
}

.nav_a,
.nav_a:visited,
.nav_a:active {
	text-decoration: none;
	color: #ff1b82;
}

.nav_a {
	transition: color 2s, background-color 1s, font-weight 1s;
	padding: 10px 12px;
	position: relative;
	z-index: 0;
	font-size: 22px;
	font-weight: 400;
	border-radius: 5%;
	background-color: #fff;
}

a.active {
	background-color: var(--gray);
	color: #ffffff;
	font-weight: 500;
}

.nav_a::before {
	content: "";
	position: absolute;
	height: 0%;
	width: 0%;
	bottom: 0;
	left: 0;
	opacity: 0;
	background-color: var(--gold);
	z-index: -1;
}

@media (min-width: 700px) {
	.nav_a:hover {
		-webkit-animation: fillColour 0.7s forwards ease-in-out;
		-o-animation: fillColour 0.7s forwards ease-in-out;
		-moz-animation: fillColour 0.7s forwards ease-in-out;
		animation: fillColour 0.7s forwards ease-in-out;

		background-color: transparent;
	}

	.active:hover {
		-webkit-animation: fillColour2 0.7s forwards ease-in-out;
		-o-animation: fillColour2 0.7s forwards ease-in-out;
		-moz-animation: fillColour2 0.7s forwards ease-in-out;
		animation: fillColour2 0.7s forwards ease-in-out;
	}

	.nav_a:hover::before {
		-webkit-animation: fill 0.7s forwards ease-in-out;
		-o-animation: fill 0.7s forwards ease-in-out;
		-moz-animation: fill 0.7s forwards ease-in-out;
		animation: fill 0.7s forwards ease-in-out;

		opacity: 1;
	}
}

.myLink {
	position: absolute;
	bottom: 5px;
	font-size: min(17px, calc(calc(var(--vh) * 1.08) + 1vw));
	width: 100%;
	text-align: center;
	background-color: transparent;
}

.myLink a {
	text-decoration: none;
	color: var(--gray);
}

@keyframes bodyScroll {
	to {
		overflow-y: auto;
	}
}

@keyframes appear {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes animate-mavi {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes fill {
	0% {
		width: 0%;
		height: 1px;
	}

	70% {
		width: 100%;
		height: 2px;
	}

	100% {
		width: 100%;
		height: 100%;
		background: var(--gold);
	}
}

@keyframes fillColour {
	0% {
		color: var(--gold);
	}
	50% {
		color: var(--gold);
	}
	100% {
		color: var(--gray);
	}
}

@keyframes fillColour2 {
	0% {
		color: var(--gold);
	}
	50% {
		color: var(--gold);
	}
	100% {
		color: #ffffff;
	}
}


    /* Animación de cada letra */
    @keyframes fadeInUp {
		from {
		  opacity: 0;
		  transform: translateY(20px);
		}
		to {
		  opacity: 1;
		  transform: translateY(0);
		}
	  }
  
	  /* Añadir retraso a cada letra */
	  .nombre_darcy span:nth-child(1) { animation-delay: 10.1s; }
	  .nombre_darcy span:nth-child(2) { animation-delay: 10.2s; }
	  .nombre_darcy span:nth-child(3) { animation-delay: 10.3s; }
	  .nombre_darcy span:nth-child(4) { animation-delay: 10.4s; }
	  .nombre_darcy span:nth-child(5) { animation-delay: 10.5s; }

	  