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

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

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

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

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

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


.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: #000000 !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;
}
.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);
}
.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(--bs-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-secondary) !important;
}
#ig-stories .btn-primary{
    background-color: var(--bs-secondary-light) !important;
    color: var(--bs-secondary) !important;
    border-radius: 20px !important;
}

#ig-stories .bi{
    background-color: var(--bs-secondary-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;
}

.frame-border {
    position: relative;
    padding: 10px 20px; /* Padding for content */
    margin: 20px;       /* Margin for spacing */
}

.frame-border::before,
.frame-border::after {
    content: '';
    position: absolute;
    width: 4px; /* Width of the borders */
    background-color: var(--bs-primary); /* Border color */
}

.frame-border::before {
    left: 0; /* Position at the left */
    top: 0; /* Start at 0 from the top */
    bottom: 0; /* End at 0 from the bottom */
}

.frame-border::after {
    right: 0; /* Position at the right */
    top: 0; /* Start at 0 from the top */
    bottom: 0; /* End at 0 from the bottom */
}

#modalInvitation .frame-border::before {
    left: 0; /* Position at the left */
    top: 60px; /* Start at 0 from the top */
    height: calc(100% + 60px); /* End at 0 from the bottom */
}

#modalInvitation .frame-border::after {
    right: 0; /* Position at the right */
    top: 60px; /* Start at 0 from the top */
    height: calc(100% + 60px); /* End at 0 from the bottom */
}

.frame-border-top {
    position: relative;
    padding: 20px; /* Padding for content */
}

.frame-border-top::before {
    content: '';
    position: absolute;
    top: 20px;        /* Position at the top */
    left: 119px;     /* Adjust as needed */
    width: calc(100% - 240px);    /* Width of the border */
    height: 4px;   /* Height of the border */
    background-color: var(--bs-primary); /* Border color */
}

.frame-border-full-top {
    position: relative;
    padding: 20px; /* Padding for content */
}

.frame-border-full-top::before {
    content: '';
    position: absolute;
    top: 60px;        /* Position at the top */
    left: 119px;     /* Adjust as needed */
    width: 100%;    /* Width of the border */
    height: 4px;   /* Height of the border */
    background-color: var(--bs-primary); /* Border color */
}
.frame-border-full-bottom {
    position: relative;
    padding: 20px; /* Padding for content */
}

.frame-border-full-bottom::before {
    content: '';
    position: absolute;
    bottom: 60px;        /* Position at the bottom */
    left: 119px;     /* Adjust as needed */
    width: 100%;    /* Width of the border */
    height: 4px;   /* Height of the border */
    background-color: var(--bs-primary); /* Border color */
}

.frame-margin{
    margin-top:-60px;
}
.m-border {
    margin-left: 2vh !important;
    margin-right: 2vh !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;
}

#modalInvitation .btn-primary,
#modalInvitation .btn-primary .bi,
#modalInvitation .btn-primary .fas {
    color: #000000 !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(--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(--bs-text-light) !important;
}
#capture.frame,
#capture.frame .text-primary {
    color: var(--bs-text-light) !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-primary) 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 .text-primary, .text-secondary {
    color: #fff !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-welcome {
    background-image: url("/themes/culture-bugis/img/bg-welcome.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 10vh;
    margin-bottom: 5px;
}

.bg-prokes {
    background-image: url('/themes/culture-bugis/img/decor-left.png'), url('/themes/culture-bugis/img/decor-right.png');
    background-position: left center, right center;
    background-size: 25% auto, 25% auto; /* Adjust size as needed */
    background-repeat: no-repeat;
}

.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 */
}

