*, *::before, *::after{
  box-sizing: border-box;
}
html, body{
  width: 100%;
  overflow-x: hidden;
}

.preloader svg{
  width: 90px !important;
  height: 90px !important;
}

#the-wedding-event {
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    opacity: .8;
    position: relative;
    z-index: 2;
}

#the-wedding-event > .row{
    position: relative;
    z-index: 3;
}

#the-wedding-event .bg-white,
#the-wedding-event .d-flex,
#the-wedding-event a,
#the-wedding-event button{
  position: relative;
  z-index: 4;
}

#hero{
  position: relative;
  z-index: 20;
  overflow: visible;
}

#hero .divider-svg2{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(35%);
  width: 100vw;
  max-width: 100vw;
  height: auto;
  z-index: 30;
  pointer-events: none;
  display: block;
}

#rsvp.section--top{
  position: relative;
  z-index: 5;
  overflow: visible;
}

#rsvp.section--top .divider-svg{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(80%);
  width: 100vw;
  max-width: 100vw;
  height: auto;
  z-index: 25;
  pointer-events: none;
  display: block;
}
#proposed{
  position: relative;
  z-index: 2;
}

#proposed {
    background-image: url("../images/Banner3.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#wedding-gifts {
    background-image: url("../images/sliders/DSC_4163.svg");
}

footer {
    background-color: #0e0d0d !important;
    opacity: .8;
}

.great-vibes-regular {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}

.great-vibes-regular{
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}

.pinyon-script-regular h2{
        font-size: 150px;
        font-family: "Pinyon Script", cursive;
        font-weight: 400;
        font-style: normal;
        color: black;  
}

.pinyon-script-regular p{
  font-size: 41px;
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-style: normal;
  color: black; 
  
}


@media(min-width: 910px){
    #hero {
        background-image: url("../images/bannerPrincipalPC.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding-top: 0px;
        height: 533px;
    }
    .great-vibes-regular h1{
        font-size: 120px;
        font-family: "Great Vibes", cursive;
        font-weight: 400;
        font-style: normal;
        word-spacing: 129px; 
        color: white; 
        text-shadow: 2px 2px black;
    }
   .pinyon-script-regular h1{
      font-size: 90px;
      font-family: "Pinyon Script", cursive;
      font-weight: 400;
      font-style: normal;
      color: white; 
      text-shadow: 1px 1px black;
      position: relative;
      top: 240px;

    }
    .topWords{
        position: relative; 
        top: -150px;
    }  
    .topWords>p {
      position: relative;
      top: 135px;
      font-size: 21px;
      font-family: "PT Serif", serif;
      font-weight: 400;
      font-style: normal;
      color: white;
      text-shadow: 1px 1px black;
    } 
    .divider-svg2{
      display:none !important;
    } 
}

@media(min-width: 1200px){
    #hero {
        background-image: url("../images/bannerPrincipalPC.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding-top: 0px;
        height: 933px;
    }
    .great-vibes-regular h1{
        font-size: 140px;
        font-family: "Great Vibes", cursive;
        font-weight: 400;
        font-style: normal;
        word-spacing: 129px; 
        color: white; 
        text-shadow: 2px 2px black;
    }
    .topWords{
        position: relative; 
        top: 480px;
    }
    
    .dress-text{
      font-size: 20px; 
    }
    .dress-section-title{ 
      font-size: 40px; 
    }

    .dress-section-subtitle{
      font-family: "Pinyon Script", cursive;
      font-size: 22px; 
    }
    
}
@media(min-width: 1000px){
  .content{
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0px 24px;
  }
}

@media(max-width: 900px){

    #hero {
        background-image: url("../images/bannerPrincipal.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding-top: 0px;
        height: 755px; 
    }
    #rsvp.section--top{
      padding-top: 40px;
    }
    
    .great-vibes-regular h1{
        font-size: 35px;
        font-family: "Great Vibes", cursive;
        font-weight: 400;
        font-style: normal;
        word-spacing: 23px; 
        color: black; 
        text-shadow: 1px 1px black;
        
    }

    .pinyon-script-regular h1{
        font-size: 50px;
        font-family: "Pinyon Script", cursive;
        font-weight: 400;
        font-style: normal;
         color: white; 
        text-shadow: 1px 1px black;
        position: relative;
        top: -10px;

    }

    .pinyon-script-regular h2{
        font-size: 90px;
        font-family: "Pinyon Script", cursive;
        font-weight: 400;
        font-style: normal;
        color: black;  
    }

    .topWords{
        position: relative; 
        top: -150px;
    }  
    .topWords>p {
        position: relative;
        top: 135px;
        font-size: 21px;
        font-family: "PT Serif", serif;
        font-weight: 400;
        font-style: normal;
        color: white;
        text-shadow: 1px 1px black;
    }

    .section--bottom{
        background: #f3f3f3;
        padding-top: 50px !important;
        margin-top: 230px !important;
        position: relative;
        z-index: 1;
    }
    .section--bottom2{ 
        z-index: 0;
    }
    .content{
        max-width: 1100px !important;
        margin: 0 auto;
        padding: 80px 24px;
    }
    .content2{
        max-width: 85%;
        margin: 0 auto;
        padding: 80px 24px;
    }
     .mobile-dresscode{
        width: 50%;
        max-width: 50%;
    }
    .maxWidthDresscode{
        width: 100% !important;
    }
    .divider-svg3 {
        transform: translateX(0%) translateY(65%) !important;
        width: 60% !important; 
        max-width: 70% !important; 
    }
    .divider-svg4 { 
        transform: translateX(67%) translateY(65%) !important;
        width: 60% !important; 
        max-width: 60% !important; 
    }
}

@media(max-width: 720px){

    #hero {
        background-image: url("../images/bannerPrincipal.svg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding-top: 0px;
        height: 755px; 
    }
    
    .great-vibes-regular h1{
        font-size: 60px;
        font-family: "Great Vibes", cursive;
        font-weight: 400;
        font-style: normal;
        word-spacing: 23px; 
        color: black; 
        text-shadow: 1px 1px black;
        
    }

    .pinyon-script-regular h1{
        font-size: 55px;
        font-family: "Pinyon Script", cursive;
        font-weight: 400;
        font-style: normal;
         color: white; 
        text-shadow: 1px 1px black;

    }

    .pinyon-script-regular h2{
        font-size: 75px;
        font-family: "Pinyon Script", cursive;
        font-weight: 400;
        font-style: normal;
        color: black;  
    }

    .topWords{
        position: relative; 
        top: -150px;
    } 
    .topWords>p{
        position: relative; 
        top: 5px;
        font-size: 21px;
        font-family: "PT Serif", serif;
        font-weight: 400;
        font-style: normal;
        color: white; 
        text-shadow: 1px 1px black;
    } 

    .section--bottom{
        background: #f3f3f3;
        padding-top: 50px !important;
        margin-top: 100px !important;
        position: relative;
        z-index: 1;
    }
    .section--bottom2{ 
        z-index: 0;
    }
    .section--top2{
      background: #f3f3f3;
        padding-top: 50px !important;
        margin-top: 0px !important;
        z-index: 1;
    }
    .content{
        max-width: 1100px !important;
        margin: 0 auto;
        padding: 0px 24px 25px !important; 
    }
    .content2{
        max-width: 85%;
        margin: 0 auto;
        padding: 80px 24px;
    }
     .mobile-dresscode{
        width: 50%;
        max-width: 50%;
    }
    .maxWidthDresscode{
        width: 100% !important;
    }
    .countdown{ 
      margin-top: 40px !important;
    }
    .paddingMovile{
      padding-top: 100px !important;
    }
    .divider-svg3 {
        transform: translateX(0%) translateY(75%) !important;
        width: 65% !important; 
        max-width: 70% !important; 
    }
    .divider-svg4 { 
        transform: translateX(54%) translateY(75%) !important;
        width: 65% !important; 
        max-width: 65% !important; 
    }
}
.row-mes-actual td{
  background: #e98188 !important;  /* rojo tenue */
  color: white !important;
}

.polaroid{
  background: #fff;
  padding: 16px 16px 36px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: -4px 6px 12px rgba(0,0,0,.22), -10px 22px 45px rgba(0,0,0,.18);
  display: inline-block;
  transform: rotate(-2deg); /* 👈 inclinación */
  transform-origin: center;
}

.polaroid img{
  display: block;
  width: 100%;
  height: auto;
  background: #000; /* por si la imagen no carga */
}

:root{
  --divider-h: 180px; /* “alto visible” del rompe-páginas */
}

.section{ position: relative; }

.content{
  max-width: 85%;
  margin: 0 auto;
  padding: 80px 24px;
}
.content2{
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Reservamos espacio abajo para que el SVG no tape el contenido */
.section--top{
  background: #fff;
  padding-bottom: 0px;
  overflow: visible;
  z-index: 2;
}
.section--top2{ 
    padding-top: 50px !important;
    margin-top: 0px !important;
    z-index: 1;
}
.section--top3{ 
   background: #fff;
    padding-bottom: 0px;
    overflow: visible;
    z-index: 2;
    position: relative;
    z-index: 3;
}

/* SVG a todo el ancho del viewport, saliendo SOLO hacia abajo */
.divider-svg{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(80%);
  width: 100vw;       /* ✅ full viewport width */
  height: auto;
  max-width: 100vw;   /* ✅ evita 1-2px overflow */
  pointer-events: none;
  display: block;
}
.divider-svg2{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(40%);
  width: 100vw;       /* ✅ full viewport width */
  height: auto;
  max-width: 100vw;   /* ✅ evita 1-2px overflow */
  pointer-events: none;
  display: block;
}
.divider-svg3{
  position: absolute;
  left: 0%;
  bottom: 0;
  transform: translateX(0%) translateY(70%);
  width: 50%;       /* ✅ full viewport width */
  height: auto;
  max-width: 50%;   /* ✅ evita 1-2px overflow */
  pointer-events: none;
  display: block;
}
.divider-svg4{
  position: absolute;
  left: 0%;
  bottom: 0;
  transform: translateX(100%) translateY(70%);
  width: 50%;       /* ✅ full viewport width */
  height: auto;
  max-width: 50%;   /* ✅ evita 1-2px overflow */
  pointer-events: none;
  display: block;
}


/* La sección de abajo deja espacio para que no quede tapada */
.section--bottom{
  background: #f3f3f3;
  padding-top: var(--divider-h);
  margin-top: 400px;
  position: relative;
  z-index: 1;
}
.section--bottom2{
  z-index: 0;
}
 
.bg-overlay{
  position: relative;
}

.bg-overlay::before{
  pointer-events: none !important;
  z-index: 0;
}

/* Estilos del CountDown*/

.countdown{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 12px;
  margin-top:  100px;
}

.cd-item{
  min-width: 72px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
  border: 1px solid #F7931E;
}

.cd-num{
  display:block;
  font-family: inherit;
  font-weight: 700;
  font-size: 35px;
  line-height: 1;
  letter-spacing: .5px;
}

.cd-label{
  display:block;
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}

.cd-sep{
  font-weight: 700;
  opacity: .35;
  transform: translateY(-4px);
}

.countdown-msg{
  margin-top: 14px;
  font-style: italic;
}
/* .dress-title{
  font-family: "Pinyon Script", cursive;
  font-size: 46px;
  margin-bottom: 10px;
} */

.dress-text{
  font-size: 18px;
  line-height: 1.7;
  max-width: 320px;
}

.dress-note{
  font-size: 13px;
  opacity: .7;
  margin-top: 8px;
}
.mobile-dresscode img{
        width: 100%;
        mask-image: linear-gradient(0deg, #fff 95%, #00000000);
}
.mobile-dresscode{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

/* Estilos del Slider */



  .stage{
  position: relative;
  width: 100vw;
  height: 700px;
  min-height: 700px;
  overflow: hidden;
  background: transparent;
}

.container2{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  perspective: 2000px;
}

.ring{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  user-select: none;
}
 
  .img, svg {
    position: absolute;
    width: 320px;
    height: 440px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    user-select: none;

  }
   
  .dress-header{
  margin-bottom: 60px;
}

.dress-title{
  text-align: center;
  line-height: 1;
}

.dress-title .script{
  display: block;
  font-family: "Pinyon Script", cursive;
  font-size: 72px;
  font-weight: 400;
  position: relative;
  left: -23px;
}

.dress-title .serif{
  display: block;
  font-family: "PT Serif", serif !important;
  font-size: 29px;
  font-weight: 500;
  position: relative;
  left: 96px;
  margin-top: -18px; /* 👈 aquí está el truco */
}
 

.dress-subtitle{
  position: relative;
  display: inline-block;
  font-family: "PT Serif", serif !important;
  font-size: 28px;
  padding: 0 0;
  text-align: center;
}

/* Línea superior */
.dress-subtitle::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 345px;        /* largo de línea */
  height: 1px;
  background: #7a7a7a; /* color */
}

/* Línea inferior */
.dress-subtitle::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 345px;
  height: 1px;
  background: #7a7a7a;
}

.dress-section-title{
  font-family: "Pinyon Script", cursive;
  font-size: 60px;
  margin-bottom: 15px;
}

.dress-section-subtitle{
  font-family: "Pinyon Script", cursive;
  font-size: 30px; 
}


.dress-list{
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  line-height: 1.8;
}

.dress-list li{
  margin-bottom: 8px;
}

@media (max-width: 768px){

    .dress-title{
      font-size: 38px;
    }

    .dress-grid{
      flex-direction: column;
      gap: 40px;
    }

    .dress-section-title{
      font-size: 55px;
    }
    .dress-section-subtitle{
      font-size: 30px; 
    }
} 

/* Estilos del Music Player */

.music-player{
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

.music-main-btn{
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.music-main-btn:hover{
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

.music-main-btn:active{
    transform: scale(.96);
}

.music-main-btn i{
    font-size: 22px;
}

.music-panel{
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 190px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    display: none;
    flex-direction: column;
    gap: 12px;
}

.music-panel.active{
    display: flex;
}

.music-control-btn{
    border: none;
    border-radius: 10px;
    padding: 10px;
    background: #f3f3f3;
    cursor: pointer;
    font-size: 20px;
    transition: background .25s ease, transform .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-control-btn:hover{
    background: #e7e7e7;
    transform: scale(1.08);
}

.music-control-btn i{
    font-size: 20px;
}

.volume-control{
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-control i{
    font-size: 18px;
    flex-shrink: 0;
}

.volume-control input[type="range"]{
    width: 100%;
    cursor: pointer;
}

/* animación opcional cuando está sonando */
.music-main-btn.playing{
    animation: pulseMusic 2s infinite;
}

@keyframes pulseMusic{
    0%{
        box-shadow: 0 8px 22px rgba(0,0,0,.18);
    }
    50%{
        box-shadow: 0 8px 28px rgba(0,0,0,.28);
    }
    100%{
        box-shadow: 0 8px 22px rgba(0,0,0,.18);
    }
}

@media (max-width: 768px){
    .music-player{
        right: 15px;
        bottom: 15px;
    }

    .music-main-btn{
        width: 54px;
        height: 54px;
    }

    .music-panel{
        width: 180px;
    }
}