@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');


:root {
    --env-width: 600px;
    --env-height: 345px;
    --env-half-width: 300px;
    --env-flap-height: 172px;
}

@media (max-width: 500px) {
    :root {
        --env-width: 340px;
        --env-height: 196px;
        --env-half-width: 170px;
        --env-flap-height: 98px;
    }
}

@keyframes scrollUp{
    from{ transform:translateY(0); }
    to{ transform:translateY(-50%); }
}

@keyframes scrollDown{
    from{ transform:translateY(-50%); }
    to{ transform:translateY(0); }
}


@keyframes envelopeOpening{
    0%{
        transform: translateX(-50%) rotateX(0) translateY(0);
    }
    100%{
        transform: translateX(-50%) rotateX(-180deg) translateY(100%);
    }
}

@keyframes envelopeClosing{
    0%{
        transform: translateX(-50%) rotateX(-180deg) translateY(100%);
    }
    100%{
        transform: translateX(-50%) rotateX(0) translateY(0);
    }
}


.envelope {
    perspective: 1500px;
}

.envelopeContainer {
    perspective: 1500px; /* new — needed for the 3D fold to actually look 3D */
}

.envelopeFrontSide {
    transform-style: preserve-3d; /* new */
}

.envelopeFrontSideImage {
    backface-visibility: hidden; /* new — watercolor hides once flap flips */
}

.envelopePictureFrontSide.envelopePicture {
    transform: rotateX(180deg);
    backface-visibility: hidden;
    clip-path: polygon(
    50% 30%,
    140% 100%,
    -40% 100%
);
    background-position: 40% 121%;
    background-size: 80%;
    background-color: white;
}

.envelopeContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}






.envelopeFrontSide{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.envelopeSideLeft, .envelopeSideRight, .envelopeSideBottom, .envelopeFrontSideImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2026/09/watercolor-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color:#e8faf8;
}

.envelopeLine {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 96%;
    height: 96%;
    transform: translate(-50%, -50%);
    border: 2px solid black;
}

.envelopeSideLeft {
    clip-path: polygon(
    0 0%,
    49.8% 50%,
    0% 100%
);
}

.envelopeSideBottom {
    clip-path: polygon(
    50% 50.2%,
    100% 100%,
    0% 100%
);
}

.envelopeSideRight {
    clip-path: polygon(
    100% 0%,
    100% 100%,
    50.2% 50%
);
}


.envelope {
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 345px;
    transform: translate(-50%,-50%);
    box-shadow: 0px 0px 50px rgba(0,0,0,0.3);
    transition:all 0.35s ease-in-out
}
.envelope.rotateAnimation {
    transform: translate(-50%, -50%) rotate(11deg);
}

.envelopeSides.openAnimation,
.envelopeFrontSide.openAnimation {
    top: 120vh;
}

.envelopeBackSide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: -2;
}

.envelopeSides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}



.envelopeSides, .envelopeFrontSide{
    transition: top 0.85s ease-in-out, transform 0.6s ease-in-out;
}



.envelopeBGImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 0;
}



.envelopeBGImage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.envelopeContent {
    position: absolute;
    top: 0;
    left: 10px;
    width: calc(100% - 20px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}


.envelopeFrontSideImage {
    z-index: 1;
    clip-path: polygon(
    50% 49.8%,
    0% 0%,
    100% 0%
);
}

.envelopePicture {
    position: absolute;
    top: 0;
       clip-path: polygon(
    50% 50%,
    0% 0%,
    100% 0%
);
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
    z-index: 0;
}

.envelopeFrontSide {
    transform-origin: top;
    transform: translateX(-50%) rotateX(0deg);
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
}


body {
    background-color: #f7f6f3;
}

html,body{
  scroll-behavior: smooth;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
}



.heroText {
    position: relative;
    z-index: 0;
}

.dateAndName h2 {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-size: 5.3em;
    text-align: center;
    margin: unset;
}

.description p {
    margin-top: 20px;
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-size: 1.3em;
    padding: 0 20%;
    text-align: center;
    font-weight: 600;
    opacity: 1;
    filter: drop-shadow(0px 0px 3px rgba(255,255,255,1));
}



.dateAndName span {
    font-family: 'Instrument Sans';
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8em;
    opacity: 0.5;
}

.photoSection {
    display: flex;
    gap: 1rem;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.envelopeOpening{
    transform: translateX(-50%) rotateX(-180deg);
}

.envelopeClosing{
    transform: translateX(-50%) rotateX(0deg);
}



.scrollIncentiviser {
    cursor: pointer;
    position: absolute;
    top: calc(100% - 40px);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.35s ease-in-out;
}

.scrollIncentiviser.active {
    opacity:1;
}

.form {
    padding-top: 60px;
    box-shadow: 0px -8px 30px rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}

.verticalBar {
    padding-top: 5px;
    width: 2px;
    height: 60px;
    margin: 0 auto;
    background-color: black;
}

.scrollIncentiviser>p {
    font-family: 'Instrument Sans';
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8em;
    opacity: 0.8;
    transition: all 0.25s ease-in-out;
}

.verticalBar {
    padding-top: 5px;
    width: 2px;
    height: 60px;
    margin: 0 auto;
    background-color: black;
    opacity: 0.3;
    transition: all 0.25s ease-in-out;
}

.scrollIncentiviser:hover p {
 opacity:0.7;
}

.scrollIncentiviser:hover .verticalBar {
  opacity:0.4;
}

.formInner {
    margin: 50px auto;
    width: 60%;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 30px 50px;
    box-sizing: border-box;
    background-color: white;
}

.formInner>h3 {
    font-family: 'Cormorant Garamond';
    font-size: 2em;
    text-align: center;
    margin: unset;
    font-weight: 500;
}

.formInner>p {
    font-family: 'Instrument Sans';
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8em;
    opacity: 0.5;
}

form * {
    font-family: 'Cormorant Garamond'!important;
}

.myFinalMessage p {
    font-family: 'Instrument Sans';
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8em;
    opacity: 0.5;
    transition: all 0.25s ease-in-out;
}

.changeTheWorld {
    padding-top: 5px;
    width: 2px;
    height: 60px;
    margin: 0 auto;
    background-color: black;
    opacity: 0.2;
    transition: all 0.25s ease-in-out;
}

form input {
    font-size: 1.4em!important;
}

.formInner>h3 {
    font-family: 'Cormorant Garamond';
    font-size: 3em;
    text-align: center;
    margin: unset;
    font-weight: 500;
}

.myFinalMessage {
    margin-top: 120px;
}

.forminator-row.forminator-row-last .forminator-field {
    display: flex;
    align-items: center;
    justify-content: center;
}
span.forminator-radio-label {
    font-weight: 600;
}


html body .form form button.forminator-button.forminator-button-submit {
    background-color: #262629;
    color: white;
    padding: 11px 27px!important;
    box-sizing: border-box!important;
    transition: all 0.25s ease-in-out!important;
}

html body .form form button.forminator-button.forminator-button-submit:hover {
    background-color: #52525c!important;
}




html body .form form button.forminator-button.forminator-button-submit span {
    font-family: 'Instrument Sans'!important;
}

.forminator-label {
    font-size: 1em!important;
}



.photoSection{
    display:flex;
    align-items:flex-start; /* stop stretching children to 100vh */
    gap:1rem;
    height:100vh;
    overflow:hidden;
}

.marqueeRight, .marqueeLeft{
    flex:1;
    display:flex;
    flex-direction:column;
    /* no height, no overflow here — natural height = full content */
}

.marqueeRight1, .marqueeRight2,
.marqueeLeft1, .marqueeLeft2{
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.marqueeImage img{
    width:100%;
    display:block;
    border-radius:8px;
}

.description p a, .myFinalMessage p a{
        color: #12104b;
    text-decoration: unset;
}

.marqueeRight{ animation: scrollUp 40s linear infinite; }
.marqueeLeft{ animation: scrollDown 40s linear infinite; }

@keyframes scrollUp{
    from{ transform:translateY(0); }
    to{ transform:translateY(-50%); }
}
@keyframes scrollDown{
    from{ transform:translateY(-50%); }
    to{ transform:translateY(0); }
}
.marqueeRight1, .marqueeLeft1{
    margin-bottom:1rem;
}



.alojamientoBlurb p {
    font-family: 'Cormorant Garamond';
    font-size: 2em;
    text-align: center;
    margin: unset;
    font-weight: 600;
    margin-bottom: 20px;
}

.alojamientoBlurb {
    margin: 50px auto;
    width: 40%;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 20px 40px;
    box-sizing: border-box;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.alojamientoBlurb a {
    font-family: 'Cormorant Garamond';
    font-size: 1em;
    text-align: center;
    margin: unset;
    font-weight: 500;
    margin-bottom: 3px;
    color: black;
}

@media (max-width:1200px){
.alojamientoBlurb {
width:60%;
}

}



@media (max-width:768px){

    .alojamientoBlurb {
width:80%;
}

  .hero {
    box-shadow: 0px 8px 30px rgba(0,0,0,0.2);
}
.form {
    box-shadow: 0px -8px 30px rgba(0,0,0,0.2);
}

.photoSection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    padding: 10px 0;
    box-sizing: border-box;
}

    .description p {
    margin-top: 20px;
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-size: 1.1em;
    padding: 0 20%;
    text-align: center;
    font-weight: 600;
    opacity: .8;
}
.dateAndName h2 {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-size: 5.3em;
    text-align: center;
    margin: 20px 0;
    line-height: 80%;
}

.photoSection{
    display:flex;
    flex-direction:column;
    gap:1rem;
    overflow:hidden;
}

.marqueeRight, .marqueeLeft {
    display: flex;
    flex-direction: row;
}

.marqueeRight1, .marqueeRight2,
.marqueeLeft1, .marqueeLeft2{
    display:flex;
    flex-direction:row;
    gap:1rem;
    flex-shrink:0;
}

.marqueeRight1, .marqueeLeft1{
    margin-right:1rem; /* space between set1 and set2, same as internal gap */
}

.photoSection>div, .photoSection>div>div {
    height: 230px;
}

.marqueeImage img{
    height:230px; 
    width:auto;
    display:block;
    border-radius:8px;
}

.marqueeRight{ animation: scrollLeft 30s linear infinite; }
.marqueeLeft{ animation: scrollRight 30s linear infinite; }

@keyframes scrollLeft{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
}
@keyframes scrollRight{
    from{ transform:translateX(-50%); }
    to{ transform:translateX(0); }
}
   
.formInner {
    margin: 50px auto;
    width: 90%;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 25px 30px;
    box-sizing: border-box;
    background-color: white;
}

.formInner>h3 {
    font-family: 'Cormorant Garamond';
    font-size: 2.4em;
    text-align: center;
    margin: unset;
    font-weight: 500;
    line-height: 80%;
}

button.forminator-button.forminator-button-submit {
    margin-top: 40px!important;
}

.forminator-row.forminator-row-last {
    margin-bottom: 0px!important;
}
.marqueeImage {
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
    border-radius: 8px;
}

}





@media (max-width: 500px) {


  
.dateAndName h2 {
    font-size: 2em;
}



.description p {
    margin-top: 20px;
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-size: 1em;
    padding: 0 8%;
    text-align: center;
    font-weight: 600;
    margin-bottom: 0;
    opacity: .8;
}

.dateAndName span {
    font-family: 'Instrument Sans';
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.6em;
    opacity: 0.5;
}

.envelope {
    width: 300px;
    height: 172px;
}

.envelopeSideLeft {
    clip-path: polygon(
    0 0%,
    49.6% 50%,
    0% 100%
);
}

.envelopeSideRight {
    clip-path: polygon(
    100% 0%,
    100% 100%,
    50.4% 50%
);
}

.envelopeSideBottom {
    clip-path: polygon(
    50% 50.4%,
    100% 100%,
    0% 100%
);
}

.envelopeFrontSideImage {
    clip-path: polygon(
    50% 49.6%,
    0% 0%,
    100% 0%
);
}

}
