.bg-primary {
    background-color: var(--color-primary) !important;
}

.text-dark {
    color: var(--color-third) !important;
}

.text-light {
    color: var(--color-fifth) !important;
}

.bg-welcome {
    background-color: var(--color-fifth) !important;
}

.text-primary {
    color: var(--color-fourth) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

#ig-story-title {
    font-size: var(--font1) !important;
}

.margin-schedule-cover {
    margin-top: -2.5rem !important;
}

.min-vh-90{
    min-height: 90vh !important;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: var(--invitation-bg);
}

.loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font: 14px arial;
    color: var(--counter-bg);
}

.bg-navigation {
    background-color: var(--color-secondary);
    border-radius: 30px !important;
    margin-bottom: 10px;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
    color: var(--color-fifth) !important;
}

#modalInvitation .modal-content {
    background-color: var(--invitation-bg);
}

html body {
    font-family: "Montserrat", cursive;
    background-color: var(--invitation-bg);
    background-size: contain, contain;
    background-repeat: no-repeat, no-repeat;
    background-position: top right, bottom left;
    background-attachment: fixed;
}

.font-title {
    font-family: "Great Vibes", serif;
}


.text-size-title {
    font-size: var(--font1) !important;
}

.text-size-subtitle {
    font-size: var(--font2) !important;
}

.text-size-content {
    font-size: var(--font3) !important;
}

.text-size-caption {
    font-size: var(--font4) !important;
}

#cover .title,
#modalInvitation .title {
    font-size: 32px !important;
}

#cover .sub-title {
    font-size: 28px !important;
}

.badge-countdown {
    background-color: var(--bs-primary);
}

#countdown .badge-primary {
    background-color: var(--color-third) !important;
    padding: 15px;
    width: 40px;
    height: 40px;
}

.label-countdown {
    margin-left: 0;
}

.splide__arrow {
    background: var(--bs-primary);
}

.splide--nav,
> .splide__slider,
> .splide__track,
> .splide__list,
> .splide__slide.is-active,
.splide--nav > .splide__track > .splide__list > .splide__slide.is-active {
    border: 3px solid var(--bs-primary);
}

.splide__arrow svg {
    fill: var(--bs-primary-light);
}

#main-slider .splide__slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.form-control.form-control-solid {
    background-color: var(--invitation-bg) !important;
    border-color: #757575;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.dropdown.show > .form-control.form-control-solid,
.form-control.form-control-solid:active,
.form-control.form-control-solid.active,
.form-control.form-control-solid:focus,
.form-control.form-control-solid.focus {
    background-color: var(--invitation-bg);
    border-color: var(--bs-primary);
}

.bg-avatar .symbol {
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 30%);
    outline: 4px solid var(--bs-secondary);
    outline-offset: -12px;
}

.border-avatar {
    position: fixed;
    height: 150px !important;
    width: auto !important;
    left: -31px;
    z-index: -1;
}

.btn-primary,
.btn-primary,
.btn-primary .fas {
    background-color: var(--btn-primary) !important;
    color: var(--invitation-bg) !important;
}

.btn-secondary,
.btn-secondary .bi,
.btn-secondary .fas {
    background-color: var(--invitation-bg) !important;
    color: var(--bs-primary) !important;
}

.btn-light,
.btn-light .bi,
.btn-light .fas {
    background-color: var(--invitation-bg) !important;
    color: var(--bs-primary) !important;
}

#bride .btn-primary {
    background-color: var(--color-third) !important;
    color: var(--color-fifth) !important;
}

#modalInvitation .btn-primary {
    background-color: var(--color-third) !important;
    color: var(--color-fifth) !important;
}

.hr-invitation {
    margin: 1rem 0;
    color: var(--color-primary) !important;
    background-color: currentColor;
    border: 3px solid var(--color-primary);
    opacity: 1 !important;
}

#cover .btn-primary {
    background-color: var(--btn-primary) !important;
}

#ig-stories .btn-primary {
    background-color: var(--bs-text-light) !important;
    color: var(--bs-secondary) !important;
    border-radius: 20px !important;
}

#ig-stories .bi {
    background-color: var(--bs-text-light) !important;
    color: var(--bs-secondary) !important;
}

.badge-primary {
    color: var(--invitation-bg) !important;
}

.nav-link {
    color: var(--bg-primary) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: var(--bs-primary) !important;
    background-color: var(--color-primary) !important;
    border-radius: 50px;
    width: 75px;
}

.svg-icon.svg-icon-primary svg [fill]:not(.permanent):not(g) {
    fill: var(--invitation-bg) !important;
}

.splide__arrow svg {
    fill: var(--invitation-bg) !important;
}


.timeline .timeline-line {
    border-left-color: var(--bs-secondary);
}

.border-primary {
    border-color: var(--color-third) !important;
}

.border-10 {
    border-width: 10px !important
}

.btn.btn-secondary {
    color: #ffffff;
    border-color: var(--bs-secondary) !important;
    background-color: var(--bs-secondary) !important;
}

.rounded {
    border-radius: 30px !important;
    overflow: hidden;
}

.rounded-sm {
    border-radius: 10px !important;
}

.rounded-xxl {
    border-radius: 50px !important;
}

.rounded-1 {
    border-radius: 16px !important;
}

.rounded-2 {
    border-radius: 24px !important;
}

.animate-zoom-in-out {
    animation: zoom-in-zoom-out 2s ease infinite;
    transform-origin: bottom center;
}

.bg-invitation {
    background-color: var(--color-fifth);
}

.bg-invitation-light {
    background-color: var(--invitation-bg-light);
}

.bg-invitation-dark {
    background-color: var(--invitation-bg);
}

.mg-title-position {
    left: 24px;
}

.bg-schedule {
    background-color: var(--bs-secondary) !important;
}

.bg-wishes {
    background-color: var(--color-third) !important;
}

.bg-wishes-light {
    background-color: var(--color-fifth) !important;
    color: var(--color-third) !important;
}

.text-wishes {
    color: var(--color-fifth) !important;
}

.fs-nbsp {
    font-size: 23rem !important;
    margin: -4rem 0 -8rem 0;
}

#wish .btn-wish .bi {
    color: var(--color-third) !important;
}

#wish .border-primary {
    border-color: var(--color-fifth) !important;
}

#wish .btn-primary {
    background-color: var(--color-fifth) !important;
    color: var(--color-third) !important;
}

.card-gift-address {
    background-color: white !important;
    color: var(--color-six) !important;
}

.bg-wishes-dark {
    color: var(--text-primary) !important;
    background-color: var(--btn-primary) !important;
}

#wish ::placeholder {
    color: var(--color-fifth); /* Sets the placeholder color to red */
    opacity: 1; /* Ensures full opacity, especially for Firefox */
}

/* For older Internet Explorer (10-11) */
#wish :-ms-input-placeholder {
    color: var(--bs-primary);
}

/* For Microsoft Edge (12-18) */
#wish ::-ms-input-placeholder {
    color: var(--bs-primary);
}

.border-secondary {
    border-color: var(--color-primary) !important;
}

.btn-primary,
.btn-primary .bi,
.btn-primary .fas {
    color: white !important;
}

.btn-check:checked + .btn.btn-secondary, .btn-check:active + .btn.btn-secondary, .btn.btn-secondary:focus:not(.btn-active), .btn.btn-secondary:hover:not(.btn-active), .btn.btn-secondary:active:not(.btn-active), .btn.btn-secondary.active, .btn.btn-secondary.show, .show > .btn.btn-secondary {
    color: #FFFFFF;
    border-color: var(--bs-primary) !important;
    background-color: var(--invitation-bg) !important;
}

.square-top {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.square-bottom {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.square-left {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.square-right {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.square-bottom-left {
    border-bottom-left-radius: 0 !important;
}

.right-0 {
    right: 0;
}

#schedule .btn-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-fifth) !important;
}

#schedule .btn-primary,
#schedule .btn-primary .bi,
#schedule .btn-primary .fas {
    background-color: var(--color-primary) !important;
    color: var(--color-fifth) !important;
}

.bg-livestreaming {
    background-image: url("/themes/colorfun/img/livestreaming-top-left.png"), url("/themes/colorfun/img/livestreaming-top-right.png"), url("/themes/colorfun/img/livestreaming-bottom-left.png"), url("/themes/colorfun/img/livestreaming-bottom-right.png");
    background-position: top left+10px, top right+10px, bottom left+10px, bottom right+10px;
    background-repeat: no-repeat;
    margin-top: 2.5rem !important;
    padding-top: 95px !important;
    padding-bottom: 95px !important;
}

#gift .btn-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-fifth) !important;
}

#gift .btn-secondary {
    background-color: var(--color-third) !important;
    color: var(--color-fifth) !important;
}

.card-gift {
    background-color: var(--color-fifth);
    border-radius: 30px !important;
    margin-bottom: 10px;
}

.bg-gift-item {
    background-color: #fff !important;
}

#gift .btn-primary,
#gift .btn-primary .bi,
#gift .btn-primary .fas {
    background-color: var(--color-primary) !important;
    color: var(--color-fifth) !important;
}

@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(1.2, 1.2);
    }
    50% {
        transform: scale(1, 1);
    }
    100% {
        transform: scale(1.2, 1.2);
    }
}

li.splide__slide {
    width: 100px;
    height: 100px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px !important;
}

.splide--nav,
> .splide__slider,
> .splide__track1,
> .splide__list,
> .splide__slide,
.splide--nav > .splide__track > .splide__list > .splide__slide {
    border: 0;
}

splide--nav,
> .splide__slider,
> .splide__track,
> .splide__list,
> .splide__slide.is-active,
.splide--nav > .splide__track > .splide__list > .splide__slide.is-active {
    border: 3px solid var(--bs-primary);
}

#ig-story .font-title.text-primary {
    color: var(--bs-text-light) !important;
}

#ig-story a.btn.btn-primary.btn-flex.flex-column.w-100.mb-5.fs-7 {
    background-color: var(--bs-secondary-light);
    color: var(--bs-secondary);
}

#ig-story a.btn.btn-primary.btn-flex.flex-column.w-100.mb-5.fs-7 span {
    color: var(--bg-primary) !important;
}

#ig-stories .text-center.aos-init.aos-animate {
    color: var(--bs-text-light) !important;
}

#ig-story .btn-primary {
    background-color:white !important;
    color: var(--bs-primary) !important;
}

#ig-stories .bi {
    background-color: white !important;
    color: var(--bs-primary) !important;
}

#capture.frame,
#capture.frame .text-primary {
    color: var(--text-secondary) !important;
}

#capture.frame .bg-primary {
    background: var(--text-secondary) !important;
}

/* .btn.btn-secondary:hover:not(.btn-active) {
    background-color: var(--bs-secondary-hover) !important;
} */
.btn.btn-primary .svg-icon svg [fill]:not(.permanent):not(g) {
    transition: fill 0.3s ease;
    fill: #ffffff;
}

.left-0 {
    left: 0 !important;
}

.frame-bridge img {
    border-radius: 0 !important;
    height: auto;
    width: 60%;
}

/*.symbol.symbol-bride > img {*/
/*    width: 160px !important;*/
/*    height: 202px !important;*/
/*}*/

.mr-15 {
    margin-right: 3.75rem !important;
}

.ml-15 {
    margin-left: 3.75rem !important;
}

.card-lovestory {
    border: 10px var(--color-third) solid;
    background-color: var(--color-third) !important;
    color: var(--color-fifth) !important;
}

.bg-card-lovestory {
    background-color: var(--color-third) !important;
}

.bg-timeline {
    color: var(--text-primary) !important;
    background-color: var(--bs-secondary) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: var(--color-secondary) !important;
    background-color: var(--color-fifth) !important;
}

.border-primary-wishes {
    border: 1px var(--bs-secondary) solid;
}

.flip-image {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.gallery-image {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.bg-gallery {
    background-image: url("/themes/colorfun/img/gallery-bottom.png"), url("/themes/colorfun/img/gallery-bottom-line.png");
    background-position: bottom+10px center, bottom center;
    background-repeat: no-repeat;
    padding-bottom: 80px !important;
    margin-bottom: 30px !important;
}

.bg-gallery-title {
    background-color: var(--color-secondary) !important;
    color: var(--color-fifth) !important;
    border-radius: 2rem 2rem 0 0 !important;
    border-bottom: 4px dashed var(--color-fifth) !important;
}

@media only screen and (max-width: 600px) {
    .gallery-image {
        height: 88px !important;
    }
}

.rounded-bottom-left {
    border-radius: 0 0 0 30px !important;
    overflow: hidden;
}

.rounded-bottom-right {
    border-radius: 0 0 30px 0 !important;
    overflow: hidden;
}

.square-image {
    float: left;
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 3/4 = 0.75 for a 4:3 aspect ratio */
    /* = width for a 1:1 aspect ratio */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* you change this to "contain" if you don't want the images to be cropped */
}

.container-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.card-rounded {
    background-color: var(--invitation-bg);
    border-radius: 30px !important;
    margin-bottom: 10px;
}

.card-gift {
    background-color: var(--invitation-bg);
    border-radius: 30px !important;
    margin-bottom: 10px;
}

.rounded-top {
    border-top-left-radius: 50vw !important;
    border-top-right-radius: 50vw !important;
}

.rounded-bottom {
    border-bottom-left-radius: 50vw !important;
    border-bottom-right-radius: 50vw !important;
}

.min-h-90vh {
    min-height: 90vh !important;
}

.min-h-85vh {
    min-height: 85vh !important;
}

#ig-story {
    background-color: var(--text-secondary) !important;
}

#ig-story .btn-primary {
    background-color: var(--color-fifth) !important;
    color: var(--color-fourth) !important;
    border-radius: 20px !important;
}

#ig-stories .bi {
    background-color: var(--color-fifth) !important;
    color: var(--color-fourth) !important;
}

.timeline-label:before {
    left: 48.5%;
    top: 20px;
    border-left: 4px dotted var(--color-third);
    background-color: unset !important;
}

#modalGift .text-primary {
    color: #000 !important;
}

#modalGift .btn-light {
    color: var(--invitation-bg) !important;
    background-color: var(--bs-primary) !important;
}

#modalGift .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: initial;
}

.bg-cover-invitation {
    height: 527px !important;
}

.text-shadow {
    text-shadow: 2px 2px 5px #000000;
}

.pd-cover-invitation {
    padding-top: calc(3% + 20px);
}

.bg-quote {
    background-image: url("/themes/colorfun/img/quote.png");
    background-position: top+30px center;
    background-repeat: no-repeat;
    padding-top: 80px !important;
}

.bg-bride {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    padding-bottom: 70px !important;
    background-image: url("/themes/colorfun/img/bride-top-left.png"), url("/themes/colorfun/img/bride-top-center.png"), url("/themes/colorfun/img/bride-top-right.png"), url("/themes/colorfun/img/bride-bottom-left.png"), url("/themes/colorfun/img/bride-bottom-center.png"), url("/themes/colorfun/img/bride-bottom-right.png");
    background-position: top left+1.5rem, top center, top right+1.5rem, bottom left+1.5rem, bottom center, bottom right+1.5rem;
    background-repeat: no-repeat;
}

.bride-sub {
    background-color: var(--color-primary) !important;
    color: var(--color-fifth) !important;
}

.bg-prokes {
    background-image: url("/themes/colorfun/img/prokes.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#prokes .bg-primary {
    background: var(--color-fourth) !important;
}

.bg-lovestory {
    background-image: url('/themes/colorfun/img/lovestory-left.png'), url('/themes/colorfun/img/lovestory-right.png');
    background-position: bottom left, bottom right;
    background-repeat: no-repeat;
    padding-bottom: 100px !important;
}

.bg-footer {
    background-color: var(--color-primary) !important;
}

.ml-10 {
    margin-left: 1rem !important;
}

.mr-10 {
    margin-right: 1rem !important;
}

.w-80 {
    width: 80% !important;
}

.transform-frame-1 {
    transform: rotate(90deg);
}

.transform-frame-2 {
    transform: rotate(270deg);
}

.transform-frame-3 {
    transform: rotate(180deg);
}

.bridge-img {
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important; /* Ensures the image maintains its aspect ratio */
    background-size: cover !important; /* Makes the background image cover the entire div */
    background-position: center !important; /* Centers the background image */
    background-repeat: no-repeat !important; /* Prevents the image from repeating */
}

.bridge-img-square {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important; /* Ensures the image maintains its aspect ratio */
    background-size: cover !important; /* Makes the background image cover the entire div */
    background-position: center !important; /* Centers the background image */
    background-repeat: no-repeat !important; /* Prevents the image from repeating */
}

.disable-pointer {
    pointer-events: none !important;
}

.gradient-welcome {
    background: linear-gradient(to bottom, rgba(249, 243, 255, 0) 0%, rgba(255, 255, 248, 1) 26%);
}

@media only screen and (min-width: 320px) {
    .bg-invitation-decor {
        width: 80%;
    }
}

/* Small phones (≤ 360px — e.g., iPhone SE, older Androids) */
@media (max-width: 360px) {
    .bg-invitation-decor {
        width: 80%;
        padding: 0 2.5rem 0 2.5rem !important;
    }

    .fs-nbsp {
        font-size: 15rem !important;
        margin: -4rem 0 -8rem 0;
    }

    .pd-bride{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Regular phones (361px–480px — most iPhones, Androids) */
@media (min-width: 361px) and (max-width: 480px) {
    .bg-invitation-decor {
        width: 80%;
    }

    .fs-nbsp {
        font-size: 15rem !important;
        margin: -4rem 0 -8rem 0;
    }

    .pd-bride{
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Large phones & small tablets (481px–768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .bg-invitation-decor {
        width: 60%;
    }
    .fs-nbsp {
        font-size: 15rem !important;
        margin: -4rem 0 -8rem 0;
    }
}

/* Tablets & small laptops (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .bg-invitation-decor {
        width: 60%;
    }

    .fs-nbsp {
        font-size: 15rem !important;
        margin: -4rem 0 -8rem 0;
    }
}

/* Desktops (1025px and up) */
@media (min-width: 1025px) {
    .bg-invitation-decor {
        width: 60%;
    }

    .fs-nbsp {
        font-size: 15rem !important;
        margin: -4rem 0 -8rem 0;
    }
}

.border-radius-0{
    border-radius: 0 !important;
}

#mitra-container{
    background-color: var(--color-fifth);
}

#mitra-container .text-dark{
    color: black !important;
}

/*limited event*/
.text-limited-event,
.icon-limited-event {
    color: var(--color-fourth) !important;
}

#limited-event{
    background-color: rgba(	200, 78, 44, 0.05);
    border-color: var(--bs-primary) !important;
}
#schedule .sparator-line {
    border-bottom: 1px dashed var(--bs-primary) !important;
}