/*
 |--------------------------------------------------------------------------
 | Root Variable
 |--------------------------------------------------------------------------
 */
:root {
    --card-width: 440px;
    --theme-button-background-color: var(--bs-gray-600);
    --theme-button-color: var(--bs-white);
    --theme-border-color: var(--bs-gray-400);
    --theme-background-color: var(--bs-gray-100);
    --theme-particle-color: var(--bs-gray-500);
    --theme-invert: 1;
    --theme-primary: var(--primary);
    --theme-white: var(--bs-white);
    --theme-disabled-color: var(--bs-gray-400);
}

/*
 |--------------------------------------------------------------------------
 | Root Variable
 |--------------------------------------------------------------------------
 */
@font-face {
    font-family: SpaceMono;
    src: url(../fonts/SpaceMono/SpaceMono-Regular.ttf);
}

/*
 |--------------------------------------------------------------------------
 | Basic Tag
 |--------------------------------------------------------------------------
 */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
    margin: 0;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0px;
}

p {
    margin-bottom: 0px;
}

label {
    font-size: 18px;
    font-weight: bold;
}

input::placeholder {
    color: var(--theme-disabled-color) !important;
}

textarea::placeholder {
    color: var(--theme-disabled-color) !important;
}

.form-group {
    margin-bottom: 15px;
}


.input-group-text {
    height: 100%;
}

.input-group-number input {
    text-align: center;
}

.btn-open {
    background-color: var(--theme-button-background-color);
    color: var(--theme-button-color);
    padding-left: 40px;
    padding-right: 40px;
}

.btn-open:hover {
    background-color: var(--theme-button-color);
    color: var(--theme-button-background-color);
    border-color: var(--theme-button-background-color);
}

.btn-submit {
    background-color: var(--theme-button-background-color);
    color: var(--theme-button-color);
}

.btn-submit:hover {
    background-color: var(--theme-button-color);
    color: var(--theme-button-background-color);
    border-color: var(--theme-button-background-color);
}

.btn-main {
    background-color: var(--theme-button-background-color);
    color: var(--theme-button-color);
}

.btn-main:hover {
    background-color: var(--theme-button-color);
    color: var(--theme-button-background-color);
    border-color: var(--theme-button-background-color);
}

.table-program {
    margin: 5px auto;
}

.table-program tr th {
    font-family: SpaceMono;
    white-space: nowrap;
}

.table-program tr td {
    text-align: left;
    padding: 0px 15px;
}

.gallery-slider {
    width: 100%;
    min-width: 0;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.gallery-slider .gallery-img {
    width: 100%;
    height: auto;
    background-position: center;
    background-size: cover;
    aspect-ratio: 16/9;
}

.galleries-slider {
    width: 100%;
    min-width: 0;
    overflow: unset;
}

.galleries-slider .gallery-img {
    width: 100%;
    height: auto;
    background-position: center;
    background-size: cover;
    border-radius: 4px;
    aspect-ratio: 16/9;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.guestbook-slider {
    width: 100%;
    min-width: 0;
    margin-bottom: 15px;
}

.guestbook-slider .speech-group {
    margin-bottom: 45px;
}

.guestbook-slider .speech-group p {
    white-space: pre-wrap;
}

.guestbook-slider .swiper-pagination-bullet-active {
    background-color: var(--theme-button-background-color);
}

.guestbook-feed {
    height: 45svh;
    min-height: 300px;
    max-height: 100%;
    border: 1px solid var(--theme-border-color);
    margin-bottom: 15px;
    overflow-y: scroll;
}

.guestbook-feed::-webkit-scrollbar {
    width: 6px;
}

.guestbook-feed::-webkit-scrollbar-track {
    background: transparent;
}

.guestbook-feed::-webkit-scrollbar-thumb {
    background: var(--theme-border-color);
    border-radius: 999px;
}

.guestbook-feed::-webkit-scrollbar-thumb:hover {
    background: var(--theme-button-background-color);
}

.guestbook-feed .speech-group {
    padding: 10px;
    margin-bottom: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.guestbook-feed .speech-group p {
    text-align: left;
    white-space: pre-wrap;
}

.guestbook-feed .speech-group h6 {
    text-align: right;
    margin-bottom: 0px;
}

.music-preview {
    background: var(--theme-border-color);
    white-space: nowrap;
    padding: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.music-preview h6 {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0px;
    gap: 40px;
    animation: marquee 18s linear infinite;
    animation-play-state: paused;
    will-change: transform;
}

.audio-player {
    width: 100%;
}

.audio-player audio {
    width: 100%;
}

.youtube-player iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.prayer-card {
    border: 1px solid var(--theme-border-color);
    border-radius: 14px;
    padding: 40px 20px;
    margin: auto;
}

.prayer-card p {
    font-style: italic;
    white-space: pre-wrap;
}

.iframe-preview iframe {
    width: 100%;
    height: 55svh;
    min-height: 300px;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.map-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-link .contact-group {
    display: flex;
    align-items: center;
    padding: 10px 0px;
    gap: 5px;
}

.contact-link .contact-group h6 {
    flex: 1;
    margin-bottom: 0px;
}

.money-gift-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.calendar #calendar {
    border: 1px solid var(--theme-border-color);
}

.calendar-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wishlist-address {
    white-space: pre-wrap;
}

.wishlist-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wishlist-list .wishlist-group {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.wishlist-list .wishlist-group .thumbnail {
    width: auto;
    height: 100px;
    background-position: center;
    background-size: cover;
    border: 1px solid var(--theme-border-color);
    border-radius: 5px;
    aspect-ratio: 1 / 1;
}

.wishlist-list .wishlist-group .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.wishlist-list .wishlist-group .content h6 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 14px;
    text-align: left;
    overflow: hidden;
}

.wishlist-list .wishlist-group .content p {
    font-size: 14px;
}

.wishlist-list .wishlist-group .content .btn {
    width: 100%;
}

/*
 |--------------------------------------------------------------------------
 | Theme Tag
 |--------------------------------------------------------------------------
 */
[theme-element] {
    display: none;
}

[data-active] {
    display: none;
}

[data-active="true"] {
    display: revert;
}

/*
 |--------------------------------------------------------------------------
 | Loader
 |--------------------------------------------------------------------------
 */
.loader-page {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--theme-background-color);
    transition:
        opacity 0.8s ease,
        filter 0.8s ease;
    will-change: opacity, filter;
}

.loader-page.is-hidden {
    opacity: 0;
    filter: blur(8px);
}

.loader-page .spinner-grow {
    color: var(--theme-primary);
    width: 5rem;
    height: 5rem;
}

/*
 |--------------------------------------------------------------------------
 | Layout Sizing
 |--------------------------------------------------------------------------
 */
.portrait-wrapper {
    position: relative;
    width: 100vw;
    min-width: 320px;
    height: 100svh;
    box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 23%);
    overflow: hidden;
}

@media (min-width: 420px) and (orientation: landscape) {
    .portrait-wrapper {
        position: relative;
        width: auto;
        height: 100svh;
        /* border: 1px solid var(--theme-border-color); */
        aspect-ratio: 9 / 16;
    }
}

/*
 |--------------------------------------------------------------------------
 | Splash Page
 |--------------------------------------------------------------------------
 */
.splash-page {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 999999;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--theme-background-color);
    text-align: center;
}

.splash-page .splash-actions {
    padding: 20px;
}

.splash-page .logo {
    width: 100%;
    max-width: 200px;
    margin-top: 15px;
}

.background-page {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -10;
}

.background-animation-page {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

/*
 |--------------------------------------------------------------------------
 | Main Page
 |--------------------------------------------------------------------------
 */
.main-page {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
}

@media (hover: hover) and (pointer: fine) {
    /* .main-page::-webkit-scrollbar {
        width: 6px;
    } */

    /* .main-page::-webkit-scrollbar-track {
        background: #2C2C2C;
    }

    .main-page::-webkit-scrollbar-thumb {
        background: #9F9F9F;
        border-radius: 10px;
    }

    .main-page::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, .55);
    } */
}

/*
 |--------------------------------------------------------------------------
 | Particle Page
 |--------------------------------------------------------------------------
 */
.particle-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle-page #tsparticles {
    width: 100%;
    height: 100%;
}

/*
 |--------------------------------------------------------------------------
 | Intro Page
 |--------------------------------------------------------------------------
 */
.intro-page {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 95svh;
    min-height: 620px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.intro-page * {
    text-align: center;
}

.intro-page .background-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.intro-page .animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.intro-page .animation-container * {
    pointer-events: none;
    cursor: none;
    user-select: none;
}

.intro-page .info-container {
    z-index: 10;
}

.intro-page .bride-group {
    margin: 30px 0px;
}

.intro-page .date-group {
    margin-bottom: 30px;
}

.intro-page .date-group h4 {
    padding: 5px 0px;
}

.intro-page .date-group h6 {
    padding: 5px 0px;
}

/*
 |--------------------------------------------------------------------------
 | Detail Page
 |--------------------------------------------------------------------------
 */
.detail-page {
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.detail-page * {
    text-align: center;
}

.detail-page .container.last-container {
    padding-bottom: 120px;
}

.detail-page .container {
    padding: 45px 20px;
}

.detail-page .container .title {
    margin-bottom: 30px;
}

.detail-page .info-container .greeting-image-group img {
    max-width: 100%;
    max-height: 100px;
    padding: 20px 0px;
}

.detail-page .info-container .greeting-image-group img[src*="dummyIntro.webp"] {
    filter: invert(var(--theme-invert));
}

.detail-page .info-container .parent-group {
    padding: 15px 0px;
}

.detail-page .info-container .parent-group * {
    line-height: 1;
}

.detail-page .info-container .bride-group {
    padding: 15px 0px;
}

.detail-page .info-container .bride-group * {
    line-height: 1;
}

.detail-page .info-container .hashtag-group {
    border: 1px solid var(--theme-border-color);
    border-radius: 51px;
    padding: 15px 0px;
    margin-top: 30px;
}

.detail-page .info-container .hashtag-group h6 {
    margin-bottom: 0px;
}

.detail-page .countdown-container {
    background: var(--theme-button-background-color);
    color: var(--theme-button-color);
}

.detail-page .countdown-container .countdown-group {
    padding-top: 15px;
}

.detail-page .footer-container {
    background: var(--theme-button-background-color);
    color: var(--theme-button-color);
}

.detail-page .footer-container .footer-logo img {
    width: 100%;
    max-width: 200px;
}

.detail-page .footer-container .footer-logo {
    margin-top: 30px;
    margin-bottom: 30px;
}

.detail-page .footer-container .footer-social-link {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.detail-page .footer-container .footer-social-link a {
    background: var(--theme-white);
    color: var(--theme-primary);
    border-radius: 8px;
    padding: 6px;
}

.detail-page .footer-container .footer-social-link a:hover {
    background-color: var(--theme-primary);
    color: var(--bs-white);
    border: 1px solid var(--bs-white);
}

/*
 |--------------------------------------------------------------------------
 | Footer Page
 |--------------------------------------------------------------------------
 */
.footer-page {
    position: relative;
    background: var(--theme-button-background-color);
    color: var(--theme-button-color);
    text-align: center;
}

.footer-page .footer-container {
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-page .footer-container .footer-logo img {
    width: 100%;
    max-width: 200px;
}

.footer-page .footer-container .footer-logo {
    margin-bottom: 30px;
}

.footer-page .footer-container .footer-social-link {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-page .footer-container .footer-social-link a {
    background: var(--theme-white);
    color: var(--theme-primary);
    border-radius: 8px;
    padding: 6px;
}

.footer-page .footer-container .footer-social-link a:hover {
    background-color: var(--theme-primary);
    color: var(--theme-white);
}

/*
 |--------------------------------------------------------------------------
 | Padding Page
 |--------------------------------------------------------------------------
 */
.padding-page {
    height: 100px;
}

/*
 |--------------------------------------------------------------------------
 | Appbar
 |--------------------------------------------------------------------------
 */
.appbar {
    position: fixed;
    left: 0px;
    bottom: -1px;
    z-index: 99999;
    width: 100%;
    background: var(--theme-background-color);
    border: 1px solid var(--theme-border-color);
    border-radius: 30px 30px 0px 0px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    padding: 15px 0px 5px 0px;
}

@media (min-width: 320px) and (orientation: landscape) {
    .appbar {
        position: absolute;
    }
}

.appbar .appbar-container .appbar-flex {
    display: flex;
    justify-content: space-around;
}

.appbar .appbar-container .appbar-flex .appbar-col {
    flex: 1;
    border-radius: 5px;
    padding: 5px 0px 5px 0px;
}

.appbar .appbar-container .appbar-flex .appbar-col button {
    width: 100%;
    font-size: 12px;
    white-space: nowrap;
    padding: 0px 2px;
}

.appbar .appbar-container .appbar-flex .appbar-col.active button {
    color: var(--theme-primary);
}

.appbar .appbar-container .appbar-flex button:active {
    border-color: transparent;
}

.appbar .appbar-container .appbar-flex button i {
    display: block;
    font-size: 18px;
    margin: 0px auto 5px auto;
}

@media (max-width: 375px) {
    .appbar .appbar-container .appbar-flex button {
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    .appbar .appbar-container .appbar-flex button span {
        display: none;
    }
}

.appbar-backdrop {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 99;
    display: none;
    height: 100%;
    width: 100%;
    background: rgba(33, 37, 41, 0.5);
}

.appbar-modal {
    position: absolute;
    bottom: 85px;
    left: 0px;
    z-index: 999;
    display: none;
    width: 98%;
    background: var(--theme-background-color);
    border: 1px solid var(--theme-border-color);
    border-radius: 5px 5px 25px 25px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    margin-left: 1%;
    margin-right: 1%;
    padding: 5px 5px 25px 5px;
}

.appbar-modal .modal-content .modal-header {
    padding: 10px
}

.appbar-modal .modal-content .modal-body {
    max-height: 75svh;
    padding: 10px 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

.appbar-modal .form-group {
    text-align: center;
}

.appbar-modal .form-group label {
    margin-bottom: 10px;
}

.music-fab {
    position: absolute;
    right: 20px;
    bottom: 95px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--theme-button-background-color);
    color: var(--theme-button-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 99 !important;
    box-shadow: 0 0px 25px 10px rgba(0, 0, 0, .3);
    will-change: transform;
}

.language-fab {
    position: absolute;
    left: 20px;
    bottom: 95px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--theme-button-background-color);
    color: var(--theme-button-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 99 !important;
    box-shadow: 0 0px 25px 10px rgba(0, 0, 0, .3);
    will-change: transform;
}

.drag-bounds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 75px;
    z-index: -1;
}

/*
 |--------------------------------------------------------------------------
 | Animation
 |--------------------------------------------------------------------------
 */
.animation-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.6s ease-in-out,
        transform 0.6s ease-in-out;
    will-change: opacity, transform;
}

.animation-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*
 |--------------------------------------------------------------------------
 | Keyframes
 |--------------------------------------------------------------------------
 */
@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% + -20px));
    }
}

/*
 |--------------------------------------------------------------------------
 | Sweetalert
 |--------------------------------------------------------------------------
 */
.swal2-container {
    z-index: 999999 !important;
}

@media (max-width: 366px) {
    .simply-countdown {
        gap: 0.1rem;
    }
}