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

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

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

.bg-backdrop{
    background-image: url("/themes/culture-minang/img/bg-backdrop.svg"), url("/themes/culture-minang/img/bg-backdrop.svg");
    background-repeat: repeat-y;
    background-position: left, right;
    background-size: min(15%,200px);
}

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

#gift .btn-primary,
#gift .btn-primary .bi,
#gift .btn-primary .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;
}

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

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

.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-bottom {
    position: relative;
    padding: 20px; /* Padding for content */
}

.frame-border-bottom::before {
    content: '';
    position: absolute;
    bottom: 35px; /* 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-bride {
    margin-right: 15px !important;
    margin-left: 15px !important;
    border: 4px solid var(--bs-primary) !important;
    border-bottom: 0 !important;
    border-top: 0 !important;
}

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

.hr-frame{
    width: 80%; /* Sets the width to 80% of its container */
    margin-left: auto !important; /* Centers the hr element horizontally */
    margin-right: auto !important; /* Centers the hr element horizontally */
    background-color: var(--bs-primary);
    border: none;
    height: 4px !important;
    color: var(--bs-primary);
    opacity: 1 !important;
}

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

.text-color-backdrop {
    color: #E2C68E !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: #723510 !important;
}

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

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

#wish button[type="submit"].btn-primary,
#wish button[type="submit"].btn-primary .bi,
#wish button[type="submit"].btn-primary .fas {
    color: var(--bg-primary) !important;
}

.btn-rsvp {
    background-color: var(--text-secondary) !important;
    color: #000000 !important;
    border: 1px solid #F6AA4C !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);
}


/*For IG Story template*/
#capture.frame,
#capture.frame .text-primary {
    color: var(--text-primary) !important;
}

#capture.frame .bg-primary {
    color: white !important;
}

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

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

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

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

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

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

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

#ig-story .ig-story-template-label,
#ig-story .ig-story-template-title,
#ig-story .ig-story-template-footer {
    color: var(--text-primary) !important;
}

/*#ig-story .font-title.text-primary {*/
/*    color: var(--bg-primary) !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(--bg-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-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-rsvp {
    min-height: 400px !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(--bg-primary) !important;
    color: var(--bs-primary) !important;
    border-radius: 20px !important;
}

#ig-stories .bi {
    background-color: var(--bg-primary) !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;
}

.bottom-15 {
    bottom: 15px !important;
}

.right-10 {
    right: 2.5rem !important;
}

.left-40 {
    left: 40px !important;
}

.bg-border-full {
    background-image: url("/themes/culture-minang/img/left-border.png"), url("/themes/culture-minang/img/right-border.png");
    background-position: top left, top right;
    background-repeat: repeat-y;
}

.bg-border-left {
    background-image: url("/themes/culture-minang/img/left-border.png"), url("/themes/culture-minang/img/page-break.png");
    background-position: top left, bottom right;
    background-repeat: repeat-y, no-repeat;
    padding-left: 40px !important;
}

.bg-border-left-top-bottom {
    background-image: url("/themes/culture-minang/img/left-border.png"), url("/themes/culture-minang/img/page-break.png"), url("/themes/culture-minang/img/page-break.png");
    background-position: top left, top 10px right, bottom 10px right;
    background-repeat: repeat-y, no-repeat, no-repeat;
    padding-left: 40px !important;
}

.bg-border-left-secondary {
    background-image: url("/themes/culture-minang/img/left-border-secondary.png");
    background-position: top left;
    background-repeat: repeat-y;
    padding-left: 40px !important;
}

.bg-page-break {
    background-image: url("/themes/culture-minang/img/page-break.png");
    background-position: bottom;
    background-repeat: repeat-x;
}

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

.bg-prokes {
    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: 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 */
}

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

.padding-left-gift{
    padding-left: 38px !important;
}

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

#prokes .svg-icon svg {
    transition: fill 0.3s ease;
    fill: var(--bg-primary) !important;
}

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

#mitra-container{
    background-color: var(--invitation-bg) !important;
    color: #fff !important;
}

#mitra-container .text-dark,
#mitra-container .bi-geo-alt-fill {
    color: #fff !important;
}

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