@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Pacifico&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap);
@import url(https://fonts.cdnfonts.com/css/edensor);
@import url(https://fonts.googleapis.com/css?family=Gafata|Montez|Averia+Sans+Libre|Vampiro+One);
@import url(https://fonts.googleapis.com/css?family=Dancing+Script|Josefin+Sans:600);
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@vite('resources/css/app.css');

body.lock-scroll {
  overflow: hidden;
  height: 100vh;
}
.footer .fa-heart,
.heart-icon2, .heart-icon {
    animation: 1.5s infinite heartbeat
}

.btn-inv,
.footer a,
.navigation a {
    text-decoration: none
}

.left-section,
.secbegin,
.text_div {
    text-align: center
}

#text2,
#tgl,
#wedding {
    color: #0a0640
}

#hill1,
#hill2,
#hill3,
#hill4,
#hill5,
#tree {
    top: auto;
    bottom: 0
}

#tree,
.parallax .birds img {
    height: 100%;
    object-fit: contain
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif
}

.loader {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999
}

.fas {
    font-size: 2.5rem;
    color: rgba(100, 58, 122, .2)
}

.content {
    filter: blur(10px);
    opacity: .7;
    transition: filter .5s, opacity .5s
}

.content.loaded {
    filter: blur(0);
    opacity: 1
}

.content-wrapper {
    display: flex;
    min-height: 100vh
}

.arched-image-container {
    width: 200px; /* Adjust as needed */
    aspect-ratio: 2/3;
    border-radius: 200px 200px 0 0; /* Arched top */
    /* border: 2px solid #0a0640; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    top: 30%;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    z-index: 99;
    box-shadow:  10px 10px 50px rgba(0,0,0,0.5);
    /* filter: drop-shadow(0 0 16px #535252) drop-shadow(0 0 32px #8a888a); */
    /* animation: shineBright 2s infinite alternate; */
}

.arched-image-container-portrait {
    width: 200px; /* Adjust as needed */
    aspect-ratio: 2/3;
    border: 2px solid #000;
    border-radius: 150px 150px 0 0; /* Arched top */
    overflow: hidden;
    display: flex;
    justify-content: center;
    z-index: 99;
    box-shadow:  10px 10px 50px rgba(0,0,0,0.5);
    /* filter: drop-shadow(0 0 16px #535252) drop-shadow(0 0 32px #8a888a); */
    /* animation: shineBright 2s infinite alternate; */
}

.arched-image-container-love {
    width: 200px; /* Adjust as needed */
    aspect-ratio: 2/3;
    border-radius: 150px 150px 0 0; /* Arched top */
    border: 2px solid #000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    z-index: 99;
    box-shadow:  10px 10px 50px rgba(0,0,0,0.5);
    /* filter: drop-shadow(0 0 16px #535252) drop-shadow(0 0 32px #8a888a); */
    /* animation: shineBright 2s infinite alternate; */
}

.arched-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.text-arched{
    text-align: center;
    position: absolute;
    z-index: 1;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.gallery-section {
    background: url('/images/undangan/tema4/background.webp') center center/cover no-repeat;
}

.left-section {
    flex: 2;
    background: url('/images/undangan/tema4/background.webp') center center/cover no-repeat;
    padding-top: 120px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    justify-content: center;
    align-items: center
}

.copy-btn {
  background-color: #e6077a;
  color: white;
  border: none;
  padding: 4px 10px;
  margin-left: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
}

.copy-btn:hover {
  background-color: #c40668;
}

.vegas-slideshow {
  position: relative;
  height: 100vh;
  width: 100%;
}

.vegas-slideshow2 {
  position: relative;
  height: 100vh;
  width: 100%;
}


.vegas-overlay {
  opacity: .2;
}

.vegas-timer-progress {
  background: #fff;
}

.secdiv,
header {
    padding: 20px 5%
}

.right-section {
    flex: 1;
    overflow-y: auto
}

.heart-icon {
    color: #ca2e55;
    font-size: 3rem;
    transition: .3s cubic-bezier(.8, .16, .42, .89)
}

.heart-icon2 {
    color: #ca2e55;
    font-size: 1rem;
    transition: .3s cubic-bezier(.8, .16, .42, .89)
}

body {
    background: #f9f9f9;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    touch-action: manipulation;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100
}

.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background: linear-gradient(145deg, #f8cdda, #da7cf1);
    color: #000;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    transition: opacity 0.4s, transform 0.3s;
}
.scroll-to-top:hover {
    transform: scale(1.1);
    background: linear-gradient(145deg, #f3a4d6, #c2a0f0);
}

.logo,
.parallax {
    justify-content: center;
    display: flex
}

.logo {
    width: 100px;
    height: 100px;
    border: 2px solid #fff;
    border-radius: 50px;
    align-items: center;
    font-family: 'Times New Roman', serif;
    color: #fff;
    background-color: rgba(0, 0, 0, .5)
}

.letter {
    font-size: 36px;
    font-weight: 700
}

.ampersand {
    font-size: 28px;
    font-style: italic;
    margin: 0 2px
}

.container,
.parallax,
.secbegin,
.tes2,
.test,
.test2 {
    margin: 0 auto
}

.navigation {
    display: flex;
    flex-wrap: wrap
}

.navigation a {
    color: #359381;
    padding: 6px 15px;
    border-radius: 20px;
    margin: 5px;
    font-weight: 600
}

#text,
.btn-inv,
.secfooter .footer h2,
.footer p,
.secfirst,
.seclove {
    color: #0a0640
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .1)
}

.footer a {
    color: #a78bfa;
    transition: color .3s, text-shadow .3s
}

.footer a:hover {
    color: #8b5cf6;
    text-shadow: 0 0 10px rgba(139, 92, 246, .5)
}

.footer i {
    margin: 0 5px
}

.footer .fa-heart {
    color: #f472b6
}

@keyframes heartbeat {
    50% {
        transform: scale(1.1)
    }
    0%,
    100% {
        transform: scale(1)
    }
    10% {
        transform: scale(1.3)
    }
}

.navigation a.active,
.navigation a:hover {
    background: #359381;
    color: #fff
}

.parallax {
    position: relative;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    width: 100%;
    background-size: cover;
    background-position: center
}

.parallax .birds,
.parallax img,
.secthree::before,
.svg-image,
.tes2,
.test,
.text_div {
    position: absolute
}

.text_div {
    z-index: 1;
    bottom: auto;
}

.parallax .birds {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin-bottom: 545px
}

.parallax .birds img {
    width: 100%;
}

#text {
    font-family: 'Great Vibes', cursive !important;
    font-size: 3vw;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .2)
}

#wedding {
    font-family: "dancing script", cursive;
    font-size: 45px
}

#text2 {
    font-family: "Pinyon Script", Sans-serif;
    font-size: 70px
}

#tgl {
    font-family: Montserrat, Sans-serif;
    font-size: 25px
}

.parallax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none
}

.parallax img#branch {
    width: 139px;
    height: 76px;
    right: 100px;
    top: 5px
}

#leaf {
    top: -10%;
    left: 0;
    width: 100%;
    height: auto
}

#tree {
    object-position: bottom
}

#plant {
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto
}

.tes2,
.test {
    bottom: auto;
    width: 100%;
    height: 90vh
}

.svg-image {
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 2
}

.secbegin,
.secdiv,
.test2 {
    position: relative
}

.fade {
    opacity: 1;
}

.fade1 {
    position: relative;
    top: 150px; /* Move text slightly down */
    z-index: 5;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-align: center;
}

.secdiv {
    background: #ADCDE1;
}

.test2 {
    height: 50vh;
    padding-top: 250px
}

.secbegin {
    position: relative;
    padding-top: 120px;
    background-size: 100%;
    background-position: center;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
     width: 100%;
    height: 100%;

}


.bts {
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20rem;
    z-index: 2;
    pointer-events: none;
}

.bts2 {
    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
    z-index: 20;
    pointer-events: none;
}

.bts_L, .bts_R {
    width: 200px;
    min-width: 80px;
    max-width: 500px;
    /* filter: sepia(100%) hue-rotate(240deg) saturate(200%); */
}
.bts_Lx, .bts_Rx {
    width: 200px;
    min-width: 80px;
    max-width: 500px;
    /* filter: sepia(100%) hue-rotate(240deg) saturate(200%); */
}

.mang {
    position: absolute;
    right: 120vh;
    top: 285px;
    z-index: 1;
}

.icon_bts_mang {
    width: 100px;
    height: auto;
    rotate: 30deg;
    pointer-events: none;
    opacity: 0;
    transform: translateY(40px);
}

.van {
    position: fixed;
    top: 70vh;            /* adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

.icon_bts_van {
    width: 130px;
    height: auto;
    rotate: 65deg;
    pointer-events: none;
    opacity: 0;
    transform: translateY(40px);
    animation: hoverUpDown 2s ease-in-out infinite;
}

@keyframes hoverUpDown {
    0%, 100% {
        transform: translateY(40px) rotate(65deg);
    }
    50% {
        transform: translateY(20px) rotate(65deg);
    }
}

.guest-name {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-family: 'Jost', sans-serif;
}
#openInvitation {
    background-color: #eadfd4;
    border: 1px solid #9979C2;
    border-radius: 15px;
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    z-index: 999;
}
#openInvitation:hover {
    background-color: #9979C2;
    color: #fff;
    transition: background-color 0.3s ease;
}
#openInvitation i {
    margin-right: 8px;
}

.fade-in-text {
    opacity: 0;
    animation: fadeInText 2s ease-in forwards;
}
@keyframes fadeInText {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fall-from-top {
    opacity: 0;
    animation: fallFromTop 1s cubic-bezier(.23,1.01,.32,1) forwards;
}
.fall-from-top:nth-child(1) { animation-delay: 0s; }
.fall-from-top:nth-child(2) { animation-delay: 0.5s; }
.fall-from-top:nth-child(3) { animation-delay: 0.9s; }

@keyframes fallFromTop {
    0% {
        opacity: 0;
        transform: translateY(-80px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(10px) scale(1.05);
    }
    80% {
        transform: translateY(-5px) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Fall from bottom animation */
.fall-from-bottom {
    opacity: 0;
    animation: fallFromBottom 1s cubic-bezier(.23,1.01,.32,1) forwards;
}
.fall-from-bottom:nth-child(1) { animation-delay: 0s; }
.fall-from-bottom:nth-child(2) { animation-delay: 0.5s; }
.fall-from-bottom:nth-child(3) { animation-delay: 0.9s; }

@keyframes fallFromBottom {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }
    80% {
        transform: translateY(5px) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.border-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    width: 100%; /* adjust as needed */
    max-width: 900px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 16px #fff) drop-shadow(0 0 32px #a2c9eb);
    animation: shineBright 2s infinite alternate;
}

@keyframes shineBright {
    0% {
        filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 16px #a2c9eb);
    }
    50% {
        filter: drop-shadow(0 0 32px #fff) drop-shadow(0 0 48px #e5a2eb);
    }
    100% {
        filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 16px #e5a2eb);
    }
}
@keyframes borderGlow {
  0%, 100% {
    filter: drop-shadow(0 0 8px #a2c9eb);
  }
  50% {
    filter: drop-shadow(0 0 16px #a2c9eb);
  }
}

.secfirst,
.secfour,
.secfooter,
.seclove,
.secthree,
.sectwo {
    padding: 50px 5%;
    position: relative;
    text-align: center
}

.secfooter,
.seclove,
.secthree,
.sectwo {
    justify-content: center;
    z-index: 1;
    width: 100%
}

.counting-day,
.secfirst {
    background: linear-gradient(135deg, #ecb7e3 0%, #eebdce 50%, #d1bbf1 100%);
}

.secthree,
.sectwo {
    background: url('/images/undangan/tema4/background.webp') center center/cover no-repeat;
    align-items: center
}

.secfour::before,
.sectwo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, .7);
    z-index: -1
}

.secthree::before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, .84);
    z-index: -1
}

.wedding-gift-section,
.secfooter,
.seclove {
    background: linear-gradient(135deg, #ecb7e3 0%, #eebdce 50%, #d1bbf1 100%);
    align-items: center
}
/* Wedding Gift Section Styles */
.wedding-gift-section {
    padding: 3rem 0;
    background-color: #f8f4ee;
    text-align: center;
}

.wedding-gift-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wedding-gift-title {
    color: #000;
    font-family: 'Edensor', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.gift-icon {
    font-size: 2.25rem;
}

.wedding-gift-description {
    color: #000;
    max-width: 42rem;
    margin: 0 auto 1.5rem;
}

.gift-toggle-button {
    background-color: #EADFD4;
    color: #000;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    border: 1px solid #9979C2;
    cursor: pointer;
}

.gift-toggle-button:hover {
    background-color: #9979C2;
    color: #ffff;
    transform: translateY(-1px);
}

.gift-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    margin-top: 1.5rem;
}

.gift-accordion.show {
    max-height: 1000px;
}

.gift-box, .digital-envelope {
    background-size: cover;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)), url('/images/undangan/tema4/background.webp') center center/cover no-repeat
}

.gift-box-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.gift-box-label, .envelope-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.gift-box-text, .envelope-text {
    color: #000;
}

.envelope-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.envelope-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.bank-logo {
    width: 5.5rem; /* Adjust as needed */
    height: auto;
}

.bt21-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 7vw;       /* Responsive width */
    height: auto;
    z-index: 1;
    pointer-events: none; /* Optional: makes the image unclickable */
    animation: fadeInText 5s ease-in forwards;
    opacity: 0;
    transform: scaleX(-1);
    animation-delay: 2s;
    animation-fill-mode: forwards;
    animation-name: fadeInText;
}

.bt21-image2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10vw;       /* Responsive width */
    height: auto;
    z-index: 0;
    pointer-events: none; /* Optional: makes the image unclickable */
}

.bt21-image3 {
   position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10vw;       /* Responsive width */
    height: auto;
    pointer-events: none;
}

.image-divider-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.divider-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
    pointer-events: none; /* allows clicks to go through to the image if needed */
}

.image-divider {
    max-width: 50%;
    height: auto;
    display: block;
}



.love-timeline {
    background: linear-gradient(135deg, #ecb7e3, #eebdce 50%, #d1bbf1);
    padding: 50px 20px;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.love-timeline .title {
    font-family: 'Edensor', serif;
    font-size: 3rem;
    color: #502d2d;
    text-align: center;
}

.love-timeline .subtitle {
    font-size: 1rem;
    color: #5e4a4a;
    text-align: center;
    margin-bottom: 50px;
}

.timeline-container {
    position: relative;
    padding-left: 40px;
    margin-left: 20px;
    border-left: 2px solid #916b89;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.hidden {
    opacity: 0;
    transform: translateY(50px);
}

.timeline-icon {
    position: absolute;
    left: -30px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #916b89;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    background: #a57e90;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    margin-left: 30px;
    max-width: 500px;
}

.timeline-content.white {
    background: #fff;
    color: #222;
}

.timeline-content h4 {
    margin-top: 0;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}



.secfour {
    background: url('/images/undangan/tema4/background1.webp') center center/cover no-repeat;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1
}

.footer {
    text-align: center;
    font-family: Arial, sans-serif;
    margin-top: auto;
    position: relative;
    background: #ADCDE1;
    padding: 5px 5%
}

.footer h2 {
    font-size: 2.5em;
    margin-bottom: 20px
}

.footer p {
    font-size: 1em;
    font-weight: 300
}

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

div.polaroid {
    width: 540px;
    height: 810px;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19);
    margin-bottom: 25px;
    overflow: hidden;
    max-width: 100%
}

div.polaroid img {
    width: 100%;
    height: 92%;
    object-fit: cover
}

.heart-container,
div.container {
    display: inline-block;
    text-align: center
}

.firefly,
.firefly2 {
    width: 4px;
    height: 4px;
    position: absolute;
    background-color: #99feff;
    box-shadow: 0 0 17px 2px wheat;
    border-radius: 50%
}

.container {
    max-width: 800px
}

.square-wrapper {
    width: 100%;
    padding-bottom: 70%;
    position: relative
}

.square-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 1px 1px 50px;
    background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)), url('/images/undangan/tema4/background1.webp') center center/cover no-repeat
}

.music-button,
.noscroll {
    overflow: hidden
}
.tree1 {
      position: absolute;
      width: 200px;
      z-index: 1;
      pointer-events: none;
    }
    .tree1.top-left {
      top: -10px;
      left: -10px;
      width: 400px;
    }
    .tree1.top-right {
      top: -10px;
      right: -10px;
      width: 600px;

    }

.tree2 {
      position: absolute;
      width: 200px;
      z-index: 1;
      pointer-events: none;
    }
    .tree2.top-left {
      top: -10px;
      left: -10px;
      width: 400px;
    }
    .tree2.top-right {
      top: -10px;
      right: -10px;
      width: 600px;

    }

.flower {
      position: absolute;
      width: 200px;
      z-index: 2;
      pointer-events: none;
    }
    .flower.top-left {
      top: -10px;
      left: -10px;
      width: 400px;
    }
    .flower.top-right {
      top: -10px;
      right: -10px;
      transform: scaleX(-1);
    }
    .flower.bottom-left1 {
      bottom: 10px;
      left: 105px;
      z-index: 1;
    }
    .flower.bottom-left2 {
      bottom: -40px;
      left: -10px;
      z-index: 1;
    }
    .flower.bottom-left3 {
      width:130px;
      height: auto;
      bottom: 5vw;
      left: 5px;
      z-index: 2;
      transform: scaleX(-1);
    }
    .flower.bottom-right1 {
      bottom: 10px;
      right: -10px;
      transform: scaleX(-1);
    }
    .flower.bottom-right2 {
      bottom: -100px;
      right: -50px;
      transform: scaleX(-1);
    }
    .flower.bottom-right3 {
      width:250px;
      height: auto;
      right: 5vw;
      bottom: 3vw;
      z-index: 1;
      transform: scaleX(-1);
    }
    .flower.bottom-right4 {
      width:150px;
      height: auto;
      right: 8vw;
      bottom: 4vw;
      z-index: 2;
      transform: scaleX(-1);
    }
    .flower.bottom-center1 {
      width:135px;
      height: auto;
      bottom: 8vw;
      left: 10vw;
      right: -100vw;
      z-index: 2;
    }

.shooting-star {
        position: absolute;
        top: 0;
        left: 0;
        width: 220px;
        height: 2px;
        background: linear-gradient(90deg, #fff 0%, #fff8 60%, transparent 100%);
        opacity: 0.85;
        border-radius: 2px;
        pointer-events: none;
        z-index: 10;
        box-shadow: 0 0 8px 2px #fff;
    }
    .shooting-star-1 {
        animation: shootingStar1 4.2s linear infinite;
        animation-delay: 1.5s;
    }

    @keyframes shootingStar1 {
        0% {
            transform: translate(-50px, -30px) rotate(18deg) scaleX(1);
            opacity: 0;
        }
        10% {
            opacity: 0.5;
        }
        80% {
            opacity: 0.7;
        }
        100% {
            transform: translate(600px, 250px) rotate(18deg) scaleX(1.2);
            opacity: 0;
        }
    }

     .starfield-wrapper {
            display: flex;
            width: 200%;
            height: 100%;
            animation: scrollRightLoop 120s linear infinite;
    }

    .starfield {
        position: relative;
        width: 50%;
        height: 100%;
    }

    .star {
        position: absolute;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 50%;
        opacity: 0.7;
        animation-name: twinkle;
        animation-iteration-count: infinite;
        transform-origin: center;
    }

    .constellation-line {
        stroke: #fff;
        stroke-width: 1;
        opacity: 0.5;
        animation: constellationTwinkle 6s infinite;
    }

    @keyframes twinkle {
        0% { opacity: 0.3; transform: scale(1); }
        25% { opacity: 0.8; transform: scale(1.2); }
        50% { opacity: 0.4; transform: scale(1); }
        75% { opacity: 0.9; transform: scale(1.3); }
        100% { opacity: 0.3; transform: scale(1); }
    }

    @keyframes constellationTwinkle {
        0%, 100% { opacity: 0.4; }
        50% { opacity: 0.9; }
    }

    @keyframes scrollRightLoop {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

.music-button {
    position: fixed;
    text-align: right;
    bottom: 0;
    left: 0;
    margin: 0 15px 15px
}

.btn-inv {
    position:relative;
    background-color: #eadfd4;
    border: 1px solid #9979C2;
    border-radius: 15px;
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    z-index: 999;
}

.heart {
    font-size: 30px;
    color: #000
}

hr.sep-3 {
    border: none;
    height: 5px;
    background-image: linear-gradient(to right, #f0f0f0, #8f8f8f, #f0f0f0)
}

hr.sep-3::after {
    content: '§';
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%) rotate(60deg);
    transform-origin: 50% 50%;
    padding: 1rem
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@media (max-width:768px) {
    #text2,
    #tgl,
    #wedding {
        color: #0a0640
    }
    .arched-image-container {
    top: 25% !important;
    }

    .arched-image-container-portrait {
    top: 20%;
    }

    .arched-image-container-love {
    top: 20%;
    }

    .text-arched{
    top: 50%;
    }

    body {
        width: 100%;
        overflow-x: hidden;
    }
    .content-wrapper {
        flex-direction: column;
        overflow-x: hidden;
        width:100%;
    }
    .left-section {
        display: none
    }
    .right-section {
        flex: 1;
        overflow-x: hidden;
        width:100%;
    }
    .loader {
        width: 80px;
        height: 80px;
        border-width: 12px;
        left: 50%;
        top: 50vh;
        transform: translate(-50%, -50%)
    }
    .parallax {
        padding-top: 150px;
        padding-bottom: 100%;
    }
    .parallax,
    .secbegin {
        height: 100vh
    }
    .parallax .birds {
        position: absolute;
        display: flex;
        justify-content: center;
        width: 240px;
        height: 900px;
        margin-bottom: 545px
    }
    header {
        flex-direction: column;
        align-items: flex-start
    }
    .navigation {
        width: 100%
    }
    /* .text_div {
        position: absolute;
        text-align: center;
        z-index: 1
    } */
    #text {
        font-size: 12vw;
    }
    #heart {
        height: 50%;
        width: 50%
    }
    .sec h2 {
        font-size: 2em
    }
    div.polaroid {
        width: 100%;
        height: auto
    }
    div.polaroid img {
        height: auto
    }
    .square-wrapper {
        padding-bottom: 120%
    }
    /* .secbegin {
        background: url('/images/undangan/tema4/background1.webp') center/cover no-repeat;
        padding-top: 150px
    } */
    #text2 {
        font-family: "Pinyon Script", Sans-serif;
        font-size: 40px
    }
    #wedding {
        font-family: "dancing script", cursive;
        font-size: 25px
    }
    #tgl {
        font-family: Montserrat, Sans-serif;
        font-size: 20px
    }

    .tree1.top-left {
      width:55%;
    }
    .tree1.top-right {
      width:80%;
    }

    .tree2.top-left {
      width:55%;
    }
    .tree2.top-right {
      width:80%;
    }

     .flower.bottom-left1 {
      width:150px;
    }
     .flower.bottom-left2 {
      width:150px;
    }
    .flower.bottom-left3 {
      width:130px;
      height: auto;
      bottom: 40vw;
    }
    .flower.bottom-right1 {
      width:150px;
      bottom: 170px;
      right: -5px;
      z-index: 1;
    }
    .flower.bottom-right2 {
      width:150px;
      right: 10px;
      z-index: 2;
    }
    .flower.bottom-right3 {
      width: 150px;
      bottom: 130px;
      right : 55px;
    }
    .flower.bottom-right4 {
      width:100px;
      right: 15vw;
      bottom: 25vw;
    }
    .flower.bottom-center1 {
      width:115px;
      bottom: 50vw;
      left: 30vw;

    }
    .shooting-star {
        position: absolute;
        top: 0;
        left: 0;
        width: 120px;
        height: 2px;
        background: linear-gradient(90deg, #fff 0%, #fff8 60%, transparent 100%);
        opacity: 0.85;
        border-radius: 2px;
        pointer-events: none;
        z-index: 10;
        box-shadow: 0 0 8px 2px #fff;
    }
    .shooting-star-1 {
        animation: shootingStar1 4.2s linear infinite;
        animation-delay: 1.5s;
    }

    @keyframes shootingStar1 {
        0% {
            transform: translate(-50px, -30px) rotate(18deg) scaleX(1);
            opacity: 0;
        }
        10% {
            opacity: 0.5;
        }
        80% {
            opacity: 0.7;
        }
        100% {
            transform: translate(600px, 250px) rotate(18deg) scaleX(1.2);
            opacity: 0;
        }
    }


    .border-overlay {
        position: absolute;
        top: 45%;
        z-index: 1;
        max-width: 5500px;

    }
    .fade1 {
    top: 100px;
    }
    .bts{
        top: -200px;
        gap: 10rem;
    }
    .bts_L, .bts_R {
    width: 100px;
    }
    .bts_Lx, .bts_Rx {
    width: 100px;
    }
    .mang {
    right: 30vh;
    top: 395px;
    }

    .icon_bts_mang {
        width: 70px;
        rotate: 31deg;
    }
    .van {
    left: 50%;
    z-index: 1;
    }

    .icon_bts_van {
        width: 110px;
        rotate: 65deg;
    }

    .bt21-image {
    width: 30vw;       /* Responsive width */
    height: auto;
    }

    .bt21-image2 {
    width: 30vw;
    height: auto;
    }

    .bt21-image3 {
    width: 45vw;
    height: auto;
    }

    .divider-text {
    font-size: 0.9rem;
    }
    .image-divider {
    max-width: 60%;
    }

}
