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

.text-primary {
    color: var(--text-primary)
}

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

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

.text-primary {
    color: var(--text-primary)
}
#ig-story-title{
    font-size: var(--font1) !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(--bs-primary);
    border-radius: 30px !important;
    margin-bottom: 10px;
}

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

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

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

.font-title {
    font-family: "Montserrat", cursive;
}

#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(--bs-primary) !important;
    padding: 15px;
    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: 0px 0px 20px 0px 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(--bs-text-light) !important;
}

#modalInvitation .btn-primary {
    background-color: var(--btn-primary) !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(--bs-secondary) !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;
}

.bg-cover {
    opacity: 0.8;
}

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

.border-primary {
    border-color: var(--bs-primary) !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;
}

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

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

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

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

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

.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;
}

@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__track
> .splide__list
> .splide__slide,
.splide--nav > .splide__track > .splide__list > .splide__slide {
    border: 0px;
}

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(--text-primary) !important;
}

#ig-story div.text-center {
    color: var(--text-primary) !important;
}

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

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

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

#capture.frame .bg-primary {
    background: var(--bs-primary) !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;
}

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

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

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

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

.card-shadow-lovestory {
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 30%);
    border: 10px #fff solid;
}

.timeline-label:before {
    left: 48.5%;
    top: 20px;
    border-left: 4px dotted var(--bs-primary);
    background-color: var(--invitation-bg);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: var(--bs-primary) !important;
    background-color: var(--bg-primary) !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;
}

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

.square-image {
    float: left;
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* = 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(--bs-primary) !important;
}

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

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

.timeline-badge > .fa {
    background-color: var(--invitation-bg);
}

#modalGift .text-primary {
    color: var(--invitation-bg) !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;
    /* width: 331px; */
}
.text-shadow {
    text-shadow: 2px 2px 5px #000000;
}

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

.bg-welcome {
    background-image: url("/themes/culture-bali/img/top.png"), url("/themes/culture-bali/img/left.png"), url("/themes/culture-bali/img/right.png");
    background-size: contain, auto, auto;
    background-position: top center, bottom left, bottom right;
    background-repeat: repeat-x, no-repeat, no-repeat;
    padding-top: 30px !important;
}

.bottom-decor {
    background-image: url("/themes/culture-bali/img/bottom.png");
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    padding-bottom: 50px !important;
    padding-top: 50px !important;
}

.bottom-decor-2 {
    background-image: url("/themes/culture-bali/img/bottom-2.png");
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    padding-bottom: 50px !important;
    padding-top: 50px !important;
}

.bg-quote {
    background-image: url("/themes/culture-bali/img/bg-quote.png");
    background-color: #E9631A !important;
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    color: var(--text-primary) !important;
}

.bg-bride {
    background-image: url("/themes/culture-bali/img/bg-flower-bride.png");
    background-position: center;
    background-repeat: no-repeat;
}

.decor-break {
    background-image: url("/themes/culture-bali/img/decor-border.png");
    background-position: bottom center;
    background-repeat: repeat-x;
    background-size: auto;
}

.decor-half-break {
    background-image: url("/themes/culture-bali/img/decor-border-half.png");
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: auto;
}

.decor-half-break-2 {
    background-image: url("/themes/culture-bali/img/decor-border-half-2.png");
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: auto;
}

.decor-top {
    background-image: url("/themes/culture-bali/img/top.png");
    background-position: top;
    background-repeat: repeat-x;
    background-size: auto;
}

.decor-rsvp {
    background-image: url('/themes/culture-bali/img/janur-left.png'), url('/themes/culture-bali/img/janur-right.png'), url("/themes/culture-bali/img/left.png"), url("/themes/culture-bali/img/right.png");
    background-position: top left, top right, bottom left, bottom right;
    background-repeat: no-repeat;
}

.decor-height {
    min-height: 469px;
}

.bg-prokes {
    background-image: url("/themes/culture-bali/img/left.png"), url("/themes/culture-bali/img/right.png");
    background-size: auto, auto;
    background-position: bottom left, bottom right;
    background-repeat: no-repeat, no-repeat;
}

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

.bg-love-story {
    position: relative;
}

.bg-love-story::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/themes/culture-bali/img/decor-top-love-story.png'), url('/themes/culture-bali/img/decor-bottom-left-love-story.png'), url('/themes/culture-bali/img/decor-bottom-right-love-story.png'), url('/themes/culture-bali/img/decor-left-center-love-story.png');
    background-position: top right, bottom left, bottom right, left center;
    background-repeat: no-repeat;
    opacity: 0.36; /* Set opacity here */
}

.bg-gift {
    position: relative;
    z-index: 1;
}

.bg-gift::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/themes/culture-bali/img/decor-top-gift.png'), url('/themes/culture-bali/img/decor-center-gift.png'), url('/themes/culture-bali/img/decor-bottom-gift.png');
    background-position: top right, center, bottom left;
    background-repeat: no-repeat;
    opacity: 0.36; /* Set opacity here */
    z-index: -1;
}

.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: 1 / 1.24 !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;
}
