* {
    /* outline: 1px solid red!important; */
}
/* .fp-tableCell{
    height: auto!important;
} */

/* .preload {
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
    text-align: center;
    background: #0a0908;
    transition: opacity 2s ease;
    display: flex;              
    justify-content: center;    
    align-items: center;        
} */

.preload{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
    text-align: center;
    background: #0a0908;
    transition: opacity 2s ease;
}

.preload #loading-text{
    font-family: "Special Elite", system-ui;
    font-weight: 400;
    font-style: normal;
    transition: opacity .5s ease; /* Smooth transition for fading out */
    font-size: 20px;    
}

#loading-text-1 {
    font-family: "Caramel", cursive;
    opacity: 0; /* Start hidden */
    transition: opacity 1s ease; /* Transition effect */
    font-weight: 400;
    font-style: normal;
    font-size: 22px; 
}

#loading-text-2 {
    font-family: "Montserrat", sans-serif;
    opacity: 0; /* Start hidden */
    transition: opacity 1s ease; /* Transition effect */
    font-weight: 400;
    font-style: normal;
    font-size: 20px; 
}

.btn-open{
    background-color: black!important;
    animation: zoom 2s infinite;
    border: none!important;
}

.btn-open:hover{
    border: none!important;
}

#scrollToTop{
    animation: moveUpDown 1s ease-in-out infinite!important;
}

@keyframes zoom {
    0%, 100% {
        transform: scale(.75);
    }
    50% {
        transform: scale(.82);
    }
}


@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* Move up */
    }
    100% {
        transform: translateY(0); /* Move back down */
    }
}

a.btn-instagram{
    padding-top: 5px!important;
    padding-bottom: 5px!important;
    padding-left: 10px!important;
    padding-right: 10px!important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid white!important;
    border-radius: 25px;
}
a.btn-instagram:hover{
    text-decoration: none!important;
}
.welcome-box .we-apologize{
    font-size: 11px!important;
}

#myVideo{
    /* background-color: rgba(0,0,0,0.9)!important;
    filter: brightness(20px); */
}
@media only screen and (max-width: 767px){
    #love_story, #love_story .fp-tableCell{
        height: 400px!important;
    }
}


#love_story .grid-offset{
    max-height: 500px;
    overflow-x:auto; /* Enables horizontal scrolling */
            white-space: nowrap; /* Prevents line breaks */
            padding: 10px; /* Adds padding around the scroll area */
}

#love_story .grid-offset img{
    display: inline-block; /* Aligns images in a row */
    min-width: 50px!important;
    min-height: 50px!important;
    max-width: 225px!important;
    max-height: 225px!important;
    height: auto!important;
    width: auto!important;
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 5px;
}

#love_story .grid img{
    /* min-width: 50px!important;
    min-height: 50px!important;
    max-width: 200px!important;
    max-height: 200px!important;
    height: auto!important;
    width: auto!important;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 10px; */

    min-width: 50px!important;
    min-height: 50px!important;
    max-width: 150px!important;
    max-height: 150px!important;
    height: auto!important;
    width: auto!important;
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 5px;
}

/* #love_story .fp-tableCell{
    height: auto!important;
} */

#love_story .carousel-inner img{
    max-width: 250px!important;
    margin-left: auto!important;
    margin-right: auto!important;
    border-radius: 20px;;
    /* max-height: 350px!important; */
}

/* #section-countdown .fp-tableCell{
    height: 500px!important;
} */

#countdown{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/countdown-bg.jpg");
    background-position: center;
    background-size: 100%;
    background-repeat:no-repeat;
}

/* #wedding-gift .fp-tableCell{
    height: auto!important;
} */

.btn-copy{
    background-color: transparent!important;
    color: white!important;
    padding: 0!important;
    border: none!important;
}

.btn-copy:focus{
    color: goldenrod!important;
}

@media only screen and (min-width: 1440px){
    #reception, #reception .fp-tableCell{
        height: 1050px!important;
    }
}

@media only screen and (max-width: 767px){
    #wedding-gift, #wedding-gift .fp-tableCell{
        height: 300px!important;
    }
}



#wedding-gift .fp-tableCell{
    display: table-cell;
    vertical-align: middle!important;
}

/* #wedding-gift .collapse .card.card-debit{
    max-width: 450px!important;
    min-width: 325px!important;
    width: auto!important;
    border-radius: 18px!important;
    background-image: url("../images/debit-bg.jpg");
    background-size: cover;
} */

#wedding-gift #card-bank{
    display: none;
}

#wedding-gift .card.card-debit{
    max-width: 500px!important;
    /* max-height: 500px!important; */
    /* min-width: 400px!important; */
    width: 100%!important;
    border-radius: 12px!important;
    color: white!important;
    /* background-image: url("../images/debit-bg.jpg");
    background-size: cover; */
}

#wedding-gift .card.card-debit#bri{
    background-image: url("../images/debit-card-bri.jpg");
    background-size: cover;
}

#wedding-gift .card.card-debit#mandiri{
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url("../images/debit-card-mandiri.jpg");
    background-size: cover;
}

#wedding-gift .card.card-debit .card-details{
    font-family: "Inconsolata", monospace;
}

#wedding-gift .card.card-debit .card-details .card-number{
    font-size: 22px!important;
    letter-spacing: -.8px;
}

#wedding-gift .card.card-debit .card-details .card-name{
    font-size: 15px!important;
    /* letter-spacing: -.8px; */
    font-weight: 400px;
}

#wedding-gift .card.card-debit .card-details .wed-date p{
    font-size: 8.5px!important;
    margin-bottom: 0!important;
    text-align: right!important;
    line-height: 1!important;
}

#wedding-gift .card.card-debit .card-details .dt span{
    font-size: 18px!important;
}


#wedding-gift .btn-copy-bri{
    position: absolute; /* Positioning the button absolutely */
    bottom: 45px; /* Adjust top position */
    right: 20px; /* Adjust left position */
    z-index: 10; /* Ensures the button is on top */
    background-color: transparent!important;
    color: white!important;
    font-weight: 300;
}


#wedding-gift .fp-tableCell {
    /* margin-top: 0!important;
    padding-top: 0!important; */
    /* display: table-cell; */
    /* height: auto!important; */
    /* vertical-align: middle!important; */
    /* width: 100%; */
    /* max-height: auto!important; */
    /* height: 20px!important; */
    /* min-height: 0!important; */
}

/* .collapsing {
    transition: unset !important;
 } */

 .comments-detail{
    min-height: 300px!important;
  max-height: 300px!important;
  height: 300px!important;
  overflow-y: scroll!important;
  /* overflow: visible!important; */
 }



 @media only screen and (min-width: 767px){
    #groom_bride_id,
    #reception,
    #love_story,
    #wedding-gift,
    #wishes,
    #groom_bride_id .fp-tableCell,
    #reception .fp-tableCell,
    #love_story .fp-tableCell,
    #wedding-gift .fp-tableCell,
    #wishes .fp-tableCell
    {
        height: auto!important;
    }
}

/* @media only screen and (min-width: 1199px ) and (max-width: 1499px) {
    #opening .welcome-first,
    #opening .welcome-date
    {
        font-size:42px!important;
    }
    #opening .welcome-dear,
    #opening .welcome-dear-main
    {
        font-size: xx-large!important;
    }

    #opening .we-apologize{
        font-size: x-large!important;
    }

    #groom_bride_id #surat-arum,
    #groom_bride_id #isi-surat-arum,
    #groom_bride_id span#bride,
    #groom_bride_id #bride_name,
    #groom_bride_id #bride_desc,
    #groom_bride_id span#groom,
    #groom_bride_id #groom_name,
    #groom_bride_id #groom_desc,
    #groom_bride_id .btn-instagram,

    #reception .reception_detail,

    #wedding-gift,

    #wishes
    {
        font-size:x-large!important;
    }

    #reception .reception_title{
        font-size:40px!important;
    }

    #reception #countdown h5{
        font-size:xx-large!important;
    }

    #love_story .grid-offset{
        max-height: 100%!important;
    }
    
    #love_story .grid-offset img{
        min-width: 300px!important;
        min-height: 450px!important;
        width: auto!important;
        height: auto!important;
    }

    #love_story .grid img{
        min-width: 225px!important;
        min-height: 325px!important;
        width: auto!important;
        height: auto!important;
    }

    #wedding-gift .card.card-debit {
        min-width: 500px !important;
        max-width: 500px !important;
    }


} */

@media only screen and (min-width: 1199px){
    #love_story .grid-offset img{
        min-width: 200px!important;
        min-height: 350px!important;
        width: auto!important;
        height: auto!important;
    }
    #love_story .grid img{
        min-width: 150px!important;
        min-height: 250px!important;
        width: auto!important;
        height: auto!important;
    }
}

@media only screen and (min-width: 1440px){
    #love_story .grid-offset img{
        min-width: 250px!important;
        min-height: 400px!important;
        width: auto!important;
        height: auto!important;
    }
    #love_story .grid img{
        min-width: 175px!important;
        min-height: 275px!important;
        width: auto!important;
        height: auto!important;
    }
}

