@font-face {
    font-family: 'GreatVibes';
    src: url('../../assets/fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Assistant', sans-serif;
    src: url('../../assets/fonts/Quicksand-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../../assets/fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: bold;
    font-style: bold;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #9D653F;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body,
html {
    margin: 0;
    padding: 0;
}

p {
    font-family: 'Assistant', sans-serif;
    color: #573a3a;
}

b {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
}

.description p {
    font-family: 'Assistant', sans-serif;
    color: #573a3a;
    font-weight: 500;
}

.btn-default {
    color: #fff;
    background-color: #b8973e;
    /* border-color: #fff; */
    border-radius: 20px;
    padding: 10px 50px;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: -18px -10px 62px -9px rgba(214.93125915527344, 120.54840187404466, 0, 0.82) inset;
}

.btn-default:hover {
    color: #fff;
    background-color: #b8973e;
    /* border-color: rgb(190, 10, 46); */
    border-radius: 20px;
    padding: 10px 50px;
}

.form-control {
    border: 1px solid #9D653F;
}

.form-select {
    border: 1px solid #9D653F;
}

.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    /* Atur tinggi sesuai kebutuhan */
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade-in-out2 3s infinite alternate;
}

.hero-content {
    background: linear-gradient(rgb(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    position: absolute;
    top: 50%;
    left: 50%;
    background-size: cover;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.hero-content .title-mobile {
    display: none;
}

.hero-content h1 {
    font-size: 10vw;
    font-family: 'GreatVibes', cursive;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.hero-content h2 {
    font-family: 'Assistant', sans-serif;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.hero-content h3 {
    font-family: 'Assistant', sans-serif;
    font-weight: bold;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    font-size: 20px;
}

.hero-content .send-to {
    font-family: 'Assistant', sans-serif;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    font-size: 24px;
}

.hero-content h4 {
    font-size: 16px;
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
}

.hero-section span {
    font-size: 24px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    /* height: 50px; */
}

.hero-content p {
    font-size: 18px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.hero-content .btn {
    margin-top: 20px;
}

.quote {
    padding: 50px 0;
    background: linear-gradient(rgba(246, 207, 146, 0.4), rgba(246, 217, 146, 0.2));
}

.quote .quote-image {
    width: 100%;
    animation: fade-in-out 3s infinite alternate;
}

.float-image2 {
    position: absolute;
    top: -30px;
    left: -24px;
    rotate: 180deg;
    display: none;
}

.float-image {
    position: absolute;
    bottom: -35px;
    right: -20px;
    display: none;
}

.float-image img {
    width: 200px;
}

.float-image2 img {
    width: 200px;
}

@keyframes fade-in-out {
    0% {
        opacity: 10%;
        transform: scale(1);
    }
    100% {
        opacity: 20%;
        transform: scale(1.03);
    }
}

@keyframes fade-in-out2 {
    0% {
        opacity: 100%;
        transform: scale(1);
    }
    100% {
        opacity: 100%;
        transform: scale(1.02);
    }
}

.quote p {
    font-weight: 400;
    font-family: 'Assistant', sans-serif;
}

.quote .image-card-quote {
    background-size: cover;
    background-position: center;
    max-width: 500px;
    height: 500px;
    border-radius: 50px;
    border: 5px solid #e3a77f;
    /* margin: 0 auto; */
}

.quote .quote-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.quote .quote-text h1 {
    font-size: 64px;
    color: #9D653F;
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
}

.rounded-circle {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: solid 3px #e3a77f;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.overlay-card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background: rgba(0, 0, 0, 0.5); */
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mempelai {
    background: linear-gradient(rgba(246, 217, 146, 0.2), rgba(246, 207, 146, 0.4));
    padding: 50px 0;
}

.mempelai p {
    font-family: 'Assistant', sans-serif;
    font-weight: 500;
    padding-top: 20px;
}

.mempelai b {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    padding-top: 20px;
}

.mempelai h1 {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    z-index: 1;
    font-size: 80px;
    color: #9D653F;
    font-family: 'GreatVibes', cursive;
}

.mempelai span {
    font-size: 100px;
    color: rgba(0, 0, 0, 0.03);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    margin-top: -110px;
}

.mempelai h5 {
    font-size: 30px;
    font-weight: 500;
    color: #9D653F;
    font-family: 'Assistant', sans-serif;
}

.card-couple {
    border: 0px;
    background: transparent;
}

.card-couple p {
    padding: 0px;
    margin: 0px;
}

.couple-bottom {
    width: 50%;
    /* margin-top: -100px; */
    animation: fade-in-out 3s infinite alternate;
}

.place-time {
    background: #FFF;
    padding-bottom: 50px;
}

.counters {
    padding-bottom: 40px;
}

.counter {
    margin: 10px;
    color: #000;
    display: inline-block;
    min-width: 100px;
    border-radius: 20px;
    border-width: 4px 1px 4px 1px;
    border-style: solid;
    border-color: #e3a77f;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.199);
    /* box-shadow: -18px -10px 62px -9px rgba(214.93125915527344, 120.54840187404466, 0, 0.82) inset; */
}

.counter>p {
    background: transparent;
    padding: 8px;
    color: #000;
}

span {
    display: block;
    height: 100px;
    font-size: 50px;
    line-height: 100px;
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
}

.place-time {
    background: #FFF;
    padding-bottom: 50px;
}

.place-time p,
b {
    font-family: 'Assistant', sans-serif;
    font-weight: 500;
    padding: 0;
}

.place-time h5 {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    padding: 0;
}

.place-time h1 {
    z-index: 1;
    font-size: 80px;
    color: #9D653F;
    font-family: 'GreatVibes', cursive;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.place-time .title span {
    font-size: 100px;
    color: rgba(0, 0, 0, 0.03);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    margin-top: -110px;
}

.place-time-desc {
    background: #FFF;
    padding-top: 80px;
    padding-bottom: 10px;
}

.place-time-desc p,
b {
    font-family: 'Assistant', sans-serif;
    font-weight: 500;
    padding: 0;
}

.place-time-desc h2 {
    font-family: 'GreatVibes', cursive;
    font-size: 60px;
    padding-top: 10px;
    padding-bottom: 20px;
    color: #9D653F;
}

.place-time-desc h3 {
    font-weight: 400;
    font-family: 'Assistant', sans-serif;
}

.place-time-desc h5 {
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    padding: 0;
}

.place-time-desc .time {
    text-transform: uppercase;
}

.place-time-desc h1 {
    z-index: 1;
    font-size: 80px;
    color: #9D653F;
    font-family: 'GreatVibes', cursive;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.place-time-desc .title span {
    font-size: 100px;
    color: rgba(0, 0, 0, 0.03);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    margin-top: -110px;
}

.gallery {
    padding: 50px 0;
    background: linear-gradient(rgba(246, 217, 146, 0.2), rgba(246, 207, 146, 0.4));
}

.gallery .thumbnail {
    width: 100%;
    /* Lebar tetap */
    height: 200px;
    /* Ketinggian tetap */
    overflow: hidden;
    /* Menghindari gambar keluar dari kotak */
}

.gallery .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Memotong atau memperbesar gambar sesuai dengan kotak */
}

.gallery .img-thumbnail {
    background-color: transparent;
    border-radius: 10px;
    border-color: #e3a77f;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.gallery h1 {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    z-index: 1;
    font-size: 80px;
    color: #9D653F;
    font-family: 'GreatVibes', cursive;
}

.gallery span {
    font-size: 100px;
    color: rgba(0, 0, 0, 0.03);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    margin-top: -110px;
}

.story {
    padding: 50px;
    background: linear-gradient(rgba(239, 191, 174, 0.1), rgba(229, 152, 125, 0.2));
}

.story h1 {
    font-size: 80px;
    color: #9D653F;
    font-family: 'GreatVibes', cursive;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    z-index: 1;
}

.story span {
    font-size: 100px;
    color: rgba(0, 0, 0, 0.03);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    margin-top: -110px;
}

.story h4 {
    color: #631818;
    font-family: 'Assistant', sans-serif;
    font-weight: bold;
    font-size: 18px;
}

.story h5 {
    color: #972929;
    font-family: 'Assistant', sans-serif;
    font-weight: 500;
    font-size: 15px;
}

.wishes {
    background-size: cover;
    background-position: center;
}

.wishes-content {
    padding: 50px 0;
    /* background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(246, 217, 146, 0.5)); */
}

.wishes h1 {
    font-size: 80px;
    color: #9D653F;
    font-family: 'GreatVibes', cursive;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    z-index: 1;
}

.wishes span {
    font-size: 100px;
    color: rgba(0, 0, 0, 0.03);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    margin-top: -110px;
}

.card-wish {
    /* background: linear-gradient(rgba(246, 217, 146), rgba(246, 176, 146)); */
    background: #fff;
    padding: 20px;
    border-width: 2px 2px 2px 2px;
    border-style: solid;
    border-color: #e3a77f;
    border-radius: 20px;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.card-wish p,
.card-wish label {
    font-family: 'Assistant', sans-serif;
    color: #573a3a;
    font-weight: 500;
}

.guestbook {
    width: 100%;
    padding: 10px;
    height: 400px;
    overflow-y: scroll;
    margin-top: 40px;
}

.card-guestbook {
    padding: 10px 10px 0px 10px;
    margin-top: 10px;
    border: 1px solid #9D653F;
    background: linear-gradient(rgba(246, 217, 146, 0.2), rgba(246, 207, 146, 0.4));
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.card-guestbook p {
    font-size: 14px;
    padding: 0px;
}

.card-guestbook span.badge {
    font-size: 12px;
    height: auto;
    color: #fff;
    background-color: rgb(224, 129, 65);
    font-weight: 500;
    font-family: 'Assistant', sans-serif;
}

.background-card {
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    border: none;
    height: 480px;
}

.inner-card {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 20px;
    text-align: center;
    width: 80%;
    /* height: 80%; */
    justify-content: center;
    border-width: 2px 2px 2px 2px;
    border-style: solid;
    border-color: #e3a77f;
    border-radius: 20px;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.inner-card h3 {
    font-size: 40px;
    color: #9D653F;
    font-family: 'GreatVibes', cursive;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #9D653F;
    left: 50%;
    margin-left: -1.5px;
}

.timeline>li {
    margin-bottom: 20px;
    position: relative;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li>.timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #9D653F;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    background-color: #fff;
}

.timeline>li>.timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline>li>.timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline>li>.timeline-badge {
    color: #fff;
    width: 20px;
    height: 20px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 32px;
    left: 50%;
    margin-left: -10px;
    background-color: #9D653F;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body>p,
.timeline-body>ul {
    margin-bottom: 0;
}

.timeline-body>p+p {
    margin-top: 5px;
}

.gift {
    /* background: linear-gradient(rgb(255, 175, 104), rgb(223 149 123)); */
    background: linear-gradient(180deg, #f6d992 0%, #f6cf92 100%);
    background-size: cover;
    background-position: center;
    padding-top: 50px;
    padding-bottom: 0px;
    /* margin-bottom: -10px; */
}

.gift h1 {
    z-index: 1;
    font-size: 80px;
    color: #9D653F;
    font-family: 'GreatVibes', cursive;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.gift span {
    font-size: 80px;
    color: rgba(0, 0, 0, 0.03);
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    margin-top: -110px;
}

.modal-gift .modal-content {
    border-radius: 20px;
    border: 0px;
    border-top: 0px;
    border-bottom: 0px;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.199);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.199);
}

.devider {
    color: #fff;
    padding: 5px;
    margin-top: 50px;
}

.image-gif {
    opacity: 30%;
}

.invitation {
    background: linear-gradient(rgba(206, 135, 110, 1), rgb(185, 63, 19));
}

.invitation-content {
    background-repeat: repeat;
    margin-top: -200px;
    padding-bottom: 300px;
    opacity: 20%;
}

.card-invitation {
    background: linear-gradient(45deg, rgba(240, 102, 102, 0.5), rgba(159, 255, 102, 0.5));
}

.footer {
    background: linear-gradient(180deg, #f6cf92 0%, #DB9D52 100%);
    padding-bottom: 100px;
}

.footer h1 {
    font-family: 'GreatVibes', cursive;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    font-size: 50px;
    color: #fff;
}

.footer h5 {
    font-family: 'Assistant', sans-serif;
    color: #fff;
    padding-bottom: 10px;
    padding-top: 30px;
    font-size: 20px;
    font-weight: 400;
}

@keyframes slideIn {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.audio-icon-wrapper {
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    mix-blend-mode: difference;
    /* animation: rotating 4s linear infinite; */
    transform-origin: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
    z-index: 99;
}

@media (max-width: 767px) {
    p {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
        line-height: 24px;
        font-weight: 400;
    }
    b {
        line-height: 24px;
        font-weight: 700;
    }
    span {
        display: block;
        height: 60px;
        font-size: 30px;
        line-height: 70px;
        font-family: 'Assistant', sans-serif;
        font-weight: 400;
    }
    .quote p {
        font-size: 16px;
    }
    .btn-default {
        font-size: 14px;
        padding: 10px 40px;
    }
    .btn-default:hover {
        font-size: 14px;
        padding: 10px 40px;
    }
    .hero-content .title-default {
        display: none;
    }
    .hero-content .title-mobile {
        display: block;
    }
    .hero-content h1 {
        font-size: 100px;
        line-height: 100px;
    }
    .hero-content h2 {
        font-size: 20px;
    }
    .hero-content h3 {
        font-size: 16px;
    }
    .hero-content .send-to {
        font-size: 20px;
    }
    .container .title {
        margin-bottom: -30px;
    }
    .mempelai h1,
    .place-time-desc h1,
    .place-time h1,
    .gallery h1,
    .wishes h1,
    .story h1,
    .gift h1,
    .footer h1 {
        font-size: 50px;
    }
    .quote .quote-text h1 {
        font-size: 30px;
    }
    .place-time-desc h2 {
        font-size: 30px;
        padding-top: 8px;
        padding-bottom: 0px;
    }
    .place-time-desc h3 {
        font-size: 20px;
        font-weight: 400;
        padding-top: 20px;
    }
    .mempelai span,
    .place-time .title span,
    .place-time-desc .title span,
    .gallery span,
    .wishes span,
    .story span,
    .gift span {
        font-size: 40px;
        margin-top: -70px;
        line-height: 50px;
    }
    .place-time .title span {
        font-size: 50px;
    }
    .place-time .inner-card h5 {
        font-size: 15px;
    }
    .place-time .inner-card p {
        font-size: 15px;
    }
    .place-time-desc .title span {
        font-size: 50px;
    }
    .place-time-desc .inner-card h5 {
        font-size: 15px;
    }
    .place-time-desc .inner-card p {
        font-size: 15px;
    }
    .quote .image-card-quote {
        height: 400px;
        width: 80%;
        border-radius: 200px;
        margin: auto;
        /* margin-top: 50px; */
    }
    .background-card {
        height: 350px;
    }
    .inner-card-1 {
        margin-top: auto;
    }
    .inner-card-2 {
        margin-bottom: auto;
    }
    .quote .quote-image {
        width: 100%;
    }
    .quote-area {
        margin-top: 10px;
    }
    .float-image {
        display: block;
    }
    .float-image2 {
        display: block;
    }
    .couple-bottom {
        width: 80%;
        /* margin-top: -50px; */
    }
    .counters {
        padding-bottom: 16px;
    }
    .counter {
        min-width: 70px;
        margin: 3px;
    }
    .card-wish p,
    .card-wish label,
    .card-wish b {
        font-size: 14px;
    }
    .card-guestbook span.badge {
        margin-top: 0px;
        line-height: 0px;
        font-size: 12px;
    }
    .timeline {
        margin-left: -40px;
        margin-right: -30px;
    }
    .timeline h4 {
        font-size: 16px;
    }
    ul.timeline:before {
        left: 40px;
    }
    ul.timeline>li>.timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }
    ul.timeline>li>.timeline-badge {
        left: 15px;
        margin-left: 15px;
        top: 32px;
    }
    ul.timeline>li>.timeline-panel {
        float: right;
    }
    ul.timeline>li>.timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    ul.timeline>li>.timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
    .invitation h5 {
        font-size: 16px;
    }
    .invitation b {
        font-size: 14px;
    }
}
