
@font-face {
    font-family: "Blackville"; /* Choose a name for your font */
    src: url("fonts/Blackville.woff2") format("woff2"),
           url("fonts/Blackville.woff") format("woff");
    font-weight: normal; /* Define the weight of this specific font file */
    font-style: normal; /* Define the style of this specific font file */
    font-display: swap; /* Improves performance by displaying a fallback font first */
}

@font-face {
    font-family: "Calson"; /* Choose a name for your font */
    src: url("fonts/BigCaslon.ttf") format("truetype");
    font-weight: normal; /* Define the weight of this specific font file */
    font-style: normal; /* Define the style of this specific font file */
    font-display: swap; /* Improves performance by displaying a fallback font first */
    font-optical-sizing: auto;
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
}

body{
	background: #D31D2D;
	color:#FFE0EE;
	font-family: "Calson", sans-serif;
	margin:0;
	padding:0px;
}

/* NAVIGATION */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #D31D2D;
	z-index: 1000;
	padding: 24px 48px;
}

.nav-container {
	max-width: 1470px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-links {
	display: flex;
	gap: 48px;
}

.nav-links a {
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
	font-weight: 600;
	color: #FEABD1;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.3s ease;
}

.nav-links a:hover {
	color: #FFE0EE;
}

.nav-logo {
	flex: 0 0 auto;
	width: 100px;
}

/* Mobile Menu */
.hamburger {
	display: none;
	flex-direction: column;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1001;
	gap: 6px;
}

.hamburger span {
	width: 30px;
	height: 3px;
	background: #FEABD1;
	border-radius: 3px;
	transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
	display: none;
	position: fixed;
	top: 0;
	right: -100%;
	width: 80%;
	max-width: 300px;
	height: 100vh;
	background: #D31D2D;
	flex-direction: column;
	padding: 100px 40px 40px 40px;
	gap: 32px;
	transition: right 0.3s ease;
	border-left: 1px solid rgba(254, 171, 209, 0.2);
	z-index: 999;
}

.mobile-menu.active {
	right: 0;
}

.mobile-menu a {
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
	font-weight: 600;
	color: #FEABD1;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

@media (max-width: 999px) {
	.navbar {
		padding: 16px 24px;
	}

	.nav-container {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.mobile-menu {
		display: flex;
	}
}

/* Add padding to body to account for fixed nav */
body {
	padding-top: 80px;
}

@media (max-width: 999px) {
	body {
		padding-top: 60px;
	}
}

h1{
	font-size:68px;
	color: #FEABD1;
	font-weight: 400;
	margin:0px;
}

h2{
	font-size:48px;
	color: #FEABD1;
	font-weight: 400;
	margin:0px;
}

p{
	font-size:22px;
	line-height: 150%;
	letter-spacing: 0.5px;
}
ul,li{
	margin:0;
}

.text-center{
	text-align: center;
}

.row{
	display: flex;
}

.row-mobile{
	display: flex;
}

.col-25{
	width: 25%;
}
.col-50{
	width: 50%;
}
.col-70{
	width: 70%;
}

.montserrat{
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
}

@media (max-width:700px){
	.row-mobile{
		flex-direction: column;
	}
}

button{
	all: unset;
}

.btn {
	padding:22px 28px;
	font-size: 18px;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	text-decoration: none;
  	font-optical-sizing: auto;
	border-radius: 100px;
	text-align: center;
	letter-spacing: 1px;
}

.btn-pink{
	background: #FEABD1;
	color:black;
}
.btn-pink:hover{
	background: #FFE0EE;
}

.btn-border-pink{
	background: transparent;
	border:1px solid #FEABD1;
	color:#FEABD1;
}
.btn-border-pink:hover{
	background: #FFE0EE;
	border:1px solid #FFE0EE;
	color:black;
}

.btn-red{
	background: #D31D2D;
	color:#FFE0EE;
}
.btn-red:hover{
	background: #FFE0EE;
	border:1px solid #D31D2D;
	color:#D31D2D;
}

/* api calendar button*/
.center-btn{ 
	display:flex; justify-content:center; 
}

add-to-calendar-button#wedding-atc::part(atcb-button),
#atcb-btn-wedding-atc-modal-host::part(atcb-button){
  padding: 22px 28px;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  text-align: center;
  letter-spacing: 1px;
  background: #FEABD1;
  color: black;
  margin:0 auto;
  text-transform: uppercase;
  border:none;
  box-shadow: none;
}

/* Hover */
add-to-calendar-button#wedding-atc::part(atcb-button):hover,
#atcb-btn-wedding-atc-modal-host::part(atcb-button):hover{
  background: #FFE0EE;
}


.cream{
	color: #FCE8CD;
}

.container{
	max-width: 1470px;
	width: 100%;
	margin:0 auto;
	padding:0 24px;
}
.container-full{
	max-width: 1600px;
	width: 100%;
	margin:0 auto;
	padding:0 0px;
}

.only-desktop{
	display: block;
}
.only-mobile{
	display: none;
}

@media (max-width: 700px){
	.container, .container-full{
		padding:0 12px;
	}
	.only-desktop{
		display: none;
	}
	.only-mobile{
		display: block;
	}
}

/* FIRST SECTION */

.middle-container{
	max-width: 910.9px;
	width: 100%;
	margin:66px auto 24px auto;
}
.savedate{
	max-width: 575px;
	width: 100%;
	height: auto;
	margin-bottom:30px;
	margin-left: auto;
	margin-right:auto;
}
.logo-big{
	max-width: 910.9px;
	width: 100%;
	height: auto;
	filter: drop-shadow(1px 4px 0px rgba(0,0,0,1));
}

.date{
	font-family: "Blackville", sans;
	font-size:72px;
	margin:0 auto;
	letter-spacing: 0.5px;
	font-weight:500;
	font-optical-sizing: auto;
	line-height: 1;
	margin-bottom: -17px;
}
.middle-container p{
	margin:24px auto;
	max-width: 598px;
}

.middle-container a{
	display: inline-block;
}

.leftside{
	text-align: left;
}
.rightside{
	text-align: right;
}
.flower-left, .flower-right{
	margin-top:60px;
}

@media (max-width:999px){
	.savedate{
		max-width: 400px;
	}
	.flower-left, .flower-right{
		max-width: 200px;
	}
}

@media (max-width: 700px){
	.savedate{
		max-width: 200px;
        margin-bottom: 12px;
	}
	.date {
    	font-size: 52px;
    	margin: 14px auto 0px auto;
	}

}

/* second section */
.row-middle{
	display: flex;
}
.angel{
	max-width:104px;
	height: auto;
	margin-bottom:48px;
}
.angel-left{
	margin-left:24px;
}
.angel-right{
	margin-right:24px;
}

.nouveau{
	margin:20px auto;
}

.foto-square{
	max-width: 224px;
	width: 100%;
	height: auto;
}

.fotoleft{
	text-align: left;
	margin:48px auto 48px 0px;
}

.fotoright{
	text-align: right;
	margin:48px 0px 48px auto;
}

.heart{
	margin:0 auto;
	max-width: 805px;
	width: 100%;
	height: auto;
}
.cheers-container-left{
	width: 100%;
	display: flex;
	justify-content: flex-end;
}
.cheers-container-right{
	width: 100%;
	display: flex;
	justify-content: flex-start;
}
.cheers{
	max-width: 154.2px;
	width: 100%;
	height: auto;
	margin-top:48px;
	margin-bottom:48px;
}

.row-only-mobile{
	display: none;
}
@media (max-width: 1266px){
	.foto-square{
		display: block;
	}
	.cheers{
		display: block;
	}
}
@media (max-width: 700px){
	.row-middle{
		display:none;
	}
	.row-only-mobile{
		display: flex;
		justify-content: space-between;
	}
	.angel-left, .angel-right{
		margin:0;
	}
	.nouveau{
		margin-bottom:0px;
	}
	.remove-margin-top{
		margin-top:0px !important;
	}
	.cheers{
		margin:0px;
		max-width:100px;
	}
	
}

/* third section */
.itinerario{
	font-size:32px;
	line-height:200%;
}

@media (max-width: 700px){
	.margin-mob-20{
		margin-top:30px;
	}
	.itinerario {
	    font-size: 28px;
	    line-height: 180%;
	}
	.bow{
		margin-bottom:30px;
	}
}

/* fourth section */
.row-fourth{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.rose{
	flex: 0 0 auto;
	width: 9%;
	max-width: 146px;
	height: auto;
}
.row-circles{
	display: flex;
	gap: 24px;
	flex: 1 1 auto;
	max-width: 1040px;
}
.sofidani{
	flex: 1 1 0;
	min-width: 0;
	max-width: 508px;
	width: 100%;
	aspect-ratio: 508 / 727;
	object-fit: cover;
	border-radius: 300px;
	display: block;
}

.pink-container{
	flex: 1 1 0;
	min-width: 0;
	max-width: 508px;
	width: 100%;
	aspect-ratio: 508 / 727;
	background: #FEABD1;
	border-radius: 300px;
	color:#D31D2D;
	text-align: center;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
}
.pink-container h4{
	font-size: 28px;
	font-weight: 500;
	margin:0px 0px 24px 0px;
}
.pink-container h1{
	color:#D31D2D;
	margin:0px;
	font-size: 80px;
}

.pink-container p{
	line-height: 160%;

}
.baroque{
	max-width: 344px;
	width: 100%;
	height: auto;
}
.solo-adultos-container{
	margin:80px auto 160px auto;
	max-width: 1150px;
}
.solo-adultos{
	margin-top:48px;
}
.solo-adultos-txt{
	max-width: 593px;
	margin: 24px auto;
}

.cupid{
	max-width: 195.38px;
	width: 100%;
	height: auto;
	margin-top:-60px;
}

.bow{
	max-width: 175px;
	width: 100%;
	height: auto;
	margin:24px auto 60px auto;
}

#mesa .middle-container{
	margin-top:120px;
}

.deco{
	max-width: 1300px;
	width: 100%;
	height: auto;
	position: absolute;
    left: 50%;
    transform: translate(-50%, -30%);
}

.row--buttons{
	margin:60px auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.container-cuenta{
	margin:100px auto;
}
#cuenta-regresiva{
	font-family: "Blackville", sans;
	font-size: 200px;
	color: #FCE8CD;
	margin-bottom:60px;
}

.image-footer{
	width: 100vw;
	height: auto;
	background: url("img/footer-wide.png");
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover;
}
.footer-image{
	width: 100vw;
	height: auto;
}

/* POPUP */
.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 2000;
	justify-content: center;
	align-items: center;
}

.popup-overlay.active {
	display: flex;
}

.popup-container {
	position: relative;
	max-width: 700px;
	width: 90%;
	max-height: 480px;
	background: #D31D2D;
	border: 1px solid #FEABD1;
	border-radius: 30px;
	padding: 60px 40px;
	box-sizing: border-box;
}

.popup-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: transparent;
	border: none;
	color: #FEABD1;
	font-size: 40px;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 40px;
	height: 40px;
	transition: color 0.3s ease;
}

.popup-close:hover {
	color: #FFE0EE;
}

.popup-content {
	text-align: center;
}

.popup-content h1 {
	margin-bottom: 30px;
}

.popup-content p {
	line-height: 180%;
}

@media (max-width:999px){
	.rose{
		max-width: 60px;
	}
}

@media (max-width: 700px){
	.row-fourth{
		flex-direction: column;
		gap:24px;
	}
	.row-circles {
	    flex-direction: column-reverse
	}
	.solo-adultos-container{
		margin:40px auto 80px auto;
	}

	.baroque{
		max-width: 300px;
		width: 100%;
		height: auto;
	}
	.cupid{
		max-width:699px;
		width: 100%;
		height: auto;
	}
	.solo-adultos{
		margin-top:30px;
	}
	#mesa .middle-container{
		margin-top:0px;
	}
	.row--buttons{
		flex-direction: column;
		gap: 48px;
	}
	#cuenta-regresiva{
		font-size: 80px;
	}

	.image-footer{
		background: url("img/footer-mobile.png");
	}

}

/* PRELOADER */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #FEABD1;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.preloader-content {
	position: relative;
	z-index: 2;
}

#preloader-svg {
	max-width: 90%;
	height: auto;
}

.preloader-path {
	stroke-dasharray: 2000;
	stroke-dashoffset: 2000;
}

/* Curtains for the opening effect */
.curtain {
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	background: #FEABD1;
	z-index: 1;
}

.curtain-left {
	left: 0;
}

.curtain-right {
	right: 0;
}

/* Hide preloader when loaded */
#preloader.loaded {
	pointer-events: none;
}

