@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

:root {
    --ff-body: "Libre Bodoni", serif;
    --fw-body: 400;
    --ff-title: "Alex Brush", cursive;
    --ff-subtitle: "Playfair Display", serif;
}

body {
    overflow: hidden;
    font-family: var(--ff-body);
    font-weight: var(--fw-body);
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
p {
    margin-bottom: 0;
}

hr {
    margin: 0;
    opacity: 1;
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
    --bs-gutter-x: 4rem;
    --bs-gutter-y: 0;
}

.form-control {
    font-family: var(--ff-body);
    font-weight: var(--fw-body);
}

.btn {
    font-family: var(--ff-body);
    font-weight: var(--fw-body);
}

.music-disc {
    position: fixed !important;
    bottom: 30px !important;
    left: 20px;
    background: transparent;
    width: 40px;
    z-index: 999;
}

/* --------------- layout --------------- */

.primary-pane {
    overflow: hidden;
    top: 0;
    left: 0;
    bottom: 0;
    position: fixed;
    width: 61%;
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url(../img/primary-pane.jpg);
    background-size: cover;
    background-position: center;
}

.secondary-pane {
    position: static;
    right: 0;
    width: 39%;
    margin-left: auto;
}

@media only screen and (max-width: 960px) {
    .primary-pane {
        position: relative;
        width: 100%;
        display: none;
    }
    .secondary-pane {
        position: relative;
        width: 100%;
    }
}
/* --------------- preloader --------------- */

#preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--bs-body-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.blink-svg {
    width: 130px; /* sesuaikan ukuran */
    height: auto;
    animation: blink 1s infinite;
    color: var(--bs-primary);
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* --------------- top-cover --------------- */

section.top-cover {
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: -120%;
    left: 0;
    z-index: 9999;
    opacity: 1;
}
section.top-cover.show {
    top: 0;
    transition: top 0.3s ease-out;
}
section.top-cover.hide {
    top: -120%;
    pointer-events: none;
    transition: top 1.8s cubic-bezier(0.23, 0.56, 0.38, 0.78);
}
section.top-cover > .inner {
    position: static;
    width: 39%;
    height: 100vh;
    right: 0;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 50px;
    padding-bottom: 120px;
    text-align: center;
}

section.top-cover > .inner {
    background-image:
        linear-gradient(180deg, rgba(0, 4, 10, 0.36) 68%, #000c0f 100%),
        url(../img/cover.jpg);
    background-size: cover;
    background-position: center;
}
section.top-cover > .inner p {
    font-size: 16px;
    color: var(--bs-white);
    font-family: var(--ff-body);
}
section.top-cover > .inner h2 {
    font-size: 18px;
    color: var(--bs-white);
    font-family: var(--ff-subtitle);
}
section.top-cover > .inner h1 {
    font-family: var(--ff-title);
    font-size: 3rem;
    color: var(--bs-white);
}

@media only screen and (max-width: 960px) {
    section.top-cover > .inner {
        position: relative;
        width: 100%;
    }
}

/* --------------- RSVP --------------- */

#rsvp {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}
#rsvp .section-desc {
    font-size: 14px;
}
#rsvp .rsvp-item {
    margin-top: 2rem;
}
#rsvp .rsvp-item .card .card-body span {
    font-size: 2.5rem;
}
#rsvp .rsvp-item .card .card-body h4 {
    font-size: 18px;
}
#rsvp .rsvp-item .card .card-body p {
    font-size: 14px;
}

/* Tombol RSVP */
.btn-rsvp {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: var(--fw-body);
    line-height: 1.5;
    text-align: center;
    border-radius: 0.375rem;
    cursor: pointer;
    background-color: #fff;
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    transition: all 0.15s ease-in-out;
}
.btn-rsvp.btn-outline {
    background-color: #fff;
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

.btn-check:checked + .btn-rsvp {
    background-color: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}

.form-spinner .btn {
    font-weight: var(--fw-body);
}

/* --------------- GIFT --------------- */

#weddingGift {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    text-align: center;
}
#weddingGift span {
    font-size: 48px;
}
#weddingGift p {
    font-size: 14px;
}

/* --------------- Wishes --------------- */

#weddingWishes {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}
#weddingWishes .card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
#weddingWishes .card .card-body {
    padding: 0 1rem 1rem 1rem;
}
#weddingWishes .section-desc {
    font-size: 14px;
    text-align: center;
}
#weddingWishes .comment-block {
    padding-top: 2rem;
}
#weddingWishes .comment-block .item {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: white;
    border-radius: 4px;
    box-shadow: rgba(var(--bs-primary-rgb), 0.16) 0px 1px 4px;
}
#weddingWishes .comment-block .item .in {
    width: 100%;
}
#weddingWishes .comment-block .item .comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
#weddingWishes .comment-block .item .comment-header .title {
    margin: 0;
    padding-right: 10px;
    color: #0a0000;
    font-size: 14px;
}
#weddingWishes .comment-block .item .comment-header .time {
    font-size: 9px;
    color: #9da8b7;
}
#weddingWishes .comment-block .item .text {
    font-size: 14px;
    color: #44525f;
}

/* --------------- Footer --------------- */

.page-footer {
    position: relative;
    overflow: hidden;
    background-color: var(--bs-body-bg);
    padding: 12px 0;
}
.page-footer img {
    height: 30px;
}
.page-footer p {
    font-size: 12px;
}

/* --------------- Timeline --------------- */

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
    max-width: 1200px;
    margin: 1rem auto 2rem auto;
}

.timeline:before {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background-color: var(--bs-primary);
}

.timeline > .timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline > .timeline-item:after,
.timeline > .timeline-item:before {
    content: " ";
    display: table;
}

.timeline > .timeline-item:after {
    clear: both;
}

.timeline > .timeline-item > .timeline-panel {
    float: left;
    position: relative;
    width: 46%;
    padding: 16px;
    border: 1px solid transparent;
    background-color: var(--bs-white);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.timeline > .timeline-item > .timeline-badge {
    z-index: 10;
    position: absolute;
    top: 16px;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    border-radius: 50% 50% 50% 50%;
    text-align: center;
    font-size: 1.4em;
    line-height: 55px;
    color: var(--bs-secondary);
    overflow: hidden;
    background-color: var(--bs-primary);
}

.timeline > .timeline-item.timeline-inverted > .timeline-panel {
    float: right;
}

.timeline > .timeline-item.timeline-inverted > .timeline-panel:before {
    right: auto;
    left: -8px;
    border-right-width: 8px;
    border-left-width: 0;
}

.timeline > .timeline-item.timeline-inverted > .timeline-panel:after {
    right: auto;
    left: -7px;
    border-right-width: 7px;
    border-left-width: 0;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
    font-weight: 400;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-left:before {
    left: 30px;
}

.timeline-left > .timeline-item > .timeline-badge {
    left: 30px;
    top: 10px;
}

.timeline-left > .timeline-item > .timeline-panel {
    width: calc(100% - 70px);
}

.timeline-body h5 {
    font-family: var(--ff-body);
    font-weight: 500;
    font-size: 18px;
    color: var(--bs-primary);
    margin-bottom: 8px;
}

.timeline-body p {
    font-family: var(--ff-body);
    font-weight: 500;
    font-size: 14px;
    color: var(--bs-primary);
}

/* --------------- Animation --------------- */

.putar-kiri {
    animation: rota-full-left 10s infinite linear;
}

@keyframes rota-full-left {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
@keyframes blink {
    0%,
    20% {
        opacity: 0;
    }
    50%,
    100% {
        opacity: 1;
    }
}

/* --------------- Content --------------- */

#header {
    position: relative;
    overflow: hidden;
}

#header .swiper {
    width: 100%;
    height: 100vh;
}

#header .swiper-slide {
    transition-timing-function: linear;
}

#header .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#header .header-inner {
    position: absolute;
    width: 100%;
    padding: 5rem 0;
    inset: 0;
    z-index: 2;
    height: 100vh;
    background: linear-gradient(
        0deg,
        rgba(var(--bs-dark-rgb), 1) 10%,
        transparent 50%
    );
}

#header .header-title {
    padding: 30px 0;
}

#header .header-title p {
    color: var(--bs-white);
    font-size: 14px;
}

#header .header-title h1 {
    font-family: var(--ff-title);
    font-size: 3rem;
    color: var(--bs-white);
    margin-bottom: 8px;
}

.countdown {
    overflow: hidden;
    padding: 0 16px;
}

.countdown .box-countdown {
    background: transparent;
    width: 100%;
    padding: 0.5rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    text-align: center;
}

.countdown .value span {
    font-size: 20px;
    color: var(--bs-white);
}

.countdown .label {
    font-size: 14px;
    color: var(--bs-white);
}

/* ---------------------------------------- */

#about {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background-color: var(--bs-dark);
}

#about {
    font-size: 14px;
    color: var(--bs-white);
}

/* ---------------------------------------- */

#couple {
    position: relative;
    overflow: hidden;
}

#couple .bride {
    position: relative;
    overflow: hidden;
}

#couple .groom {
    position: relative;
    overflow: hidden;
}

#couple .swiper {
    width: 100%;
    height: 100vh;
}

#couple .swiper-slide {
    transition-timing-function: linear;
}

#couple .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

#couple .couple-inner {
    position: absolute;
    width: 100%;
    padding: 4rem 0;
    inset: 0;
    z-index: 2;
    height: 101vh;
    background: linear-gradient(
        0deg,
        rgba(var(--bs-secondary-rgb), 1) 10%,
        transparent 50%
    );
    backface-visibility: hidden;
    transform: translateZ(0);
}

#couple .couple-inner hr {
    border-width: 3px;
    color: var(--bs-primary);
}

#couple .couple-inner h1 {
    font-family: var(--ff-subtitle);
    font-size: 38px;
    font-weight: 700;
    color: var(--bs-primary);
}

#couple .couple-inner h2 {
    font-family: var(--ff-subtitle);
    font-size: 20px;
    font-weight: 700;
    color: var(--bs-primary);
}

#couple .couple-inner p {
    font-size: 16px;
}

#couple h3 {
    font-family: var(--ff-title);
    font-size: 2rem;
    color: var(--bs-primary);
}

/* ---------------------------------------- */

#weddingDate {
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
}

#weddingDate h1 {
    font-family: var(--ff-title);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--bs-primary);
}

#weddingDate .savethedate {
    position: relative;
    overflow: hidden;
}

#weddingDate .savethedate .swiper {
    width: 100%;
    height: 70vh;
}

#weddingDate .savethedate .swiper-slide {
    transition-timing-function: linear;
}

#weddingDate .savethedate .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#weddingDate .savethedate .savethedate-inner {
    position: absolute;
    width: 100%;
    padding: 2rem 0;
    inset: 0;
    z-index: 2;
    height: 71vh;
    background: linear-gradient(
        0deg,
        rgba(var(--bs-secondary-rgb), 1) 10%,
        transparent 50%
    );
    backface-visibility: hidden;
    transform: translateZ(0);
}

#weddingDate h2 {
    font-family: var(--ff-subtitle);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bs-primary);
}

#weddingDate h3 {
    font-size: 22px;
}

#weddingDate h4 {
    font-size: 20px;
}

#weddingDate p {
    font-size: 16px;
}

#weddingDate .svg-logo {
    width: 70px;
    color: var(--bs-primary);
}

#weddingDate .st0 {
    stroke: var(--bs-body-color);
    stroke-width: 20px;
    fill: none;
}

/* ---------------------------------------- */

#rsvp h1 {
    font-family: var(--ff-subtitle);
    font-size: 38px;
    font-weight: 700;
    color: var(--bs-primary);
}

#rsvp hr {
    border-width: 3px;
    color: var(--bs-primary);
}

#weddingWishes h1 {
    font-family: var(--ff-subtitle);
    font-size: 38px;
    font-weight: 700;
    color: var(--bs-primary);
}

#weddingWishes hr {
    border-width: 3px;
    color: var(--bs-primary);
}

#weddingGift {
    background-color: var(--bs-dark);
    color: var(--bs-light);
}

#weddingGift .row i {
    font-size: 50px;
}

#weddingGift h1 {
    font-family: var(--ff-subtitle);
    font-size: 38px;
    font-weight: 700;
}

#weddingGift span {
    font-size: 48px;
}

#weddingGift p {
    font-size: 16px;
}

/* ---------------------------------------- */

#loveStory {
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
}

#weddingDate .loveStory-title {
    position: relative;
    overflow: hidden;
}

#loveStory .loveStory-title .swiper {
    width: 100%;
    height: 70vh;
}

#loveStory .loveStory-title .swiper-slide {
    transition-timing-function: linear;
}

#loveStory .loveStory-title .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#loveStory .loveStory-title .loveStory-inner {
    position: absolute;
    width: 100%;
    padding: 2rem 0;
    inset: 0;
    z-index: 2;
    height: 71vh;
    background: linear-gradient(
        0deg,
        rgba(var(--bs-secondary-rgb), 1) 10%,
        transparent 50%
    );
    backface-visibility: hidden;
    transform: translateZ(0);
}

#loveStory .loveStory-title .loveStory-inner h1 {
    font-family: var(--ff-subtitle);
    font-size: 38px;
    font-weight: 700;
    color: var(--bs-primary);
}

#loveStory .loveStory-title .loveStory-inner hr {
    border-width: 3px;
    color: var(--bs-primary);
}

/* ---------------------------------------- */

#gallery {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 2rem 0;
    background-color: var(--bs-dark);
    color: var(--bs-light);
    margin-top: -10px;
}

#gallery h1 {
    font-family: var(--ff-subtitle);
    font-size: 38px;
    font-weight: 700;
}

#gallery hr {
    border-width: 3px;
}

/* ---------------------------------------- */

#tankyou {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

#tankyou h1 {
    font-family: var(--ff-subtitle);
    font-size: 38px;
    font-weight: 700;
}

#tankyou hr {
    border-width: 3px;
}

#tankyou p {
    font-size: 16px;
    text-align: center;
}

#tankyou h3 {
    font-size: 18px;
    text-align: center;
    margin-top: 1rem;
}

#tankyou .swiper {
    width: 100%;
    height: 300px;
}

#tankyou .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#tankyou .penutup h2 {
    font-family: var(--ff-title);
    font-size: 2rem;
    text-align: right;
}

#tankyou .penutup p {
    font-size: 14px;
    text-align: right;
}

/* ---------------------------------------- */

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-color: #fff;
}
