:root {
    --bg-primary: #f8f9fc;
    --shadow: 0 2px 2px rgb(0 0 0 / 0.5);
    --pink: #f14e95;
    --color-primary-light-brown: #edc;
    --text-primary: #171818;
    --text-secondary: #7b0a00;
    --text-green: #bad8b6;
    --text-light-brown: #fffaec;
    --blue: #1e55b3;
    --buttonColor: linear-gradient(90deg, #175e9a 0%, #7397f3 100%);
    --buttonColorHover: linear-gradient(90deg, #1e71b5 0%, #84a7ff 100%);
}

@font-face {
    font-family: "Allura";
    src: url("../../font/Allura/Allura-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Comfortaa";
    src: url("../../font/Comfortaa/static/Comfortaa-Light.ttf")
        format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "Comfortaa";
    src: url("../../font/Comfortaa/static/Comfortaa-Regular.ttf")
        format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Comfortaa";
    src: url("../../font/Comfortaa/static/Comfortaa-Medium.ttf")
        format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Comfortaa";
    src: url("../../font/Comfortaa/static/Comfortaa-SemiBold.ttf")
        format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Comfortaa";
    src: url("../../font/Comfortaa/static/Comfortaa-Bold.ttf")
        format("truetype");
    font-weight: 700;
}

body {
    font-size: 16px;
    font-family: "Comfortaa", serif;
    font-optical-sizing: auto;
    background: var(--bg-primary);
    overflow-x: hidden;
}

#content nav {
    max-width: 480px;
    background: rgba(255, 255, 255, 0.5);
}

#content nav .speaker {
    position: absolute;
    left: 10px;
    bottom: 80px;
}

#content nav .container a {
    position: relative;
    display: inline-block;
}

#content nav .container a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

#content nav .container a:hover::after {
    opacity: 1;
    visibility: visible;
}

.modal-fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
}

#exampleModal {
    z-index: 1060 !important;
}

#content {
    position: absolute; /* Agar elemen berada di atas */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0; /* Memastikan #main-undangan tetap di bawah #open-undangan */
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #212529;
    z-index: 1055 !important;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++ TEMPLATE UNDANGAN ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* OPEN UNDANGAN */
#open-undangan {
    background-color: #e7c6c3;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 10.5s ease, clip-path 1s ease;
    clip-path: inset(0 0 0 0);
}

#open-undangan.d {
    opacity: 0;
    clip-path: inset(100% 0 0 0); /* Elemen naik ke atas */
}

#open-undangan .container {
    width: 100%; /* Agar background merah tetap penuh */
    max-width: 480px;
    height: 100%;
    background-image: var(--root-bg);
    background-repeat: no-repeat;
    background-size: cover;
}

#open-undangan h1 {
    color: var(--text-primary);
    font-family: "Allura", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
}

#open-undangan h5 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: bold;
}
#open-undangan h6 {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: bold;
}

#open-undangan .nama-tamu {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: bold;
}

#open-undangan p {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: bold;
}

#open-undangan button {
    width: 193px;
    color: var(--bg-primary);
    background: var(--text-secondary);
    font-weight: bold;
    border: none;
}
#open-undangan button:hover {
    background-color: #a53228;
}

#open-undangan .header {
    margin-bottom: 10rem;
    z-index: 1;
}

#open-undangan .couple {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    max-width: 200px;
    object-fit: contain;
}

#open-undangan .flower {
    position: absolute;
    object-fit: contain;
}

#open-undangan .top-left {
    top: 0px;
    width: 250px;
    left: 0px;
}
#open-undangan .top-right {
    top: 0px;
    width: 250px;
    right: 0px;
}
#open-undangan .bottom-left {
    bottom: 0px;
    left: 0px;
    width: 200px;
}
#open-undangan .bottom-right {
    bottom: 0px;
    right: 0px;
    width: 200px;
}

/* OPEN UNDANGAN */

/* MAIN UNDANGAN */
#main-undangan {
    min-height: 100vh;
    background-color: #e7c6c3;
}

#main-undangan .container {
    padding-top: 1rem;
    padding-bottom: 4rem;
    width: 100%; /* Agar background merah tetap penuh */
    max-width: 480px;
    min-height: 100vh;
    background-image: url(../../img/template-3/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#main-undangan .container h1 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: bold;
}

#main-undangan .container .couple-main {
    width: 210px;
}

#main-undangan .container .couple-main-user {
    max-width: 50%;
    border-radius: 100%;
    border: 10px solid #fff;
    box-shadow: 5px 4px 5px 0px rgba(158, 158, 158, 1);
    margin-bottom: 1rem;
}

#main-undangan .container .couple-name {
    font-family: "Allura", serif;
    font-size: 50px;
    font-weight: 400;
    display: inline-block;
    position: relative;
    display: inline-block;
    position: relative;
    padding: 20px 40px; /* Ruang untuk teks */
}

#main-undangan .container .couple-name::before,
#main-undangan .container .couple-name::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 14px; /* Ketebalan border */
    background-color: var(--text-secondary);
}
#main-undangan .container .couple-name::before {
    top: 0;
    clip-path: polygon(0% 100%, 10% 0%, 90% 0%, 100% 100%);
}

#main-undangan .container .couple-name::after {
    bottom: 0;
    clip-path: polygon(0% 0%, 10% 100%, 90% 100%, 100% 0%);
}

#main-undangan .container .date-main {
    font-size: 40px;
    word-spacing: 20px;
    border-bottom: 2px solid var(--text-primary);
    border-top: 2px solid var(--text-primary);
}

#main-undangan .simply-countdown > .simply-section {
    padding: 35px;
    font-size: 12px;
    color: var(--bg-primary);
    background-color: var(--text-secondary);
}
/* MAIN UNDANGAN */

/* KUTIPAN */

#kutipan {
    min-height: auto;
    background-color: #e7c6c3;
}

#kutipan .container {
    padding: 5rem 3rem;
    width: 100%; /* Agar background merah tetap penuh */
    max-width: 480px;
    background-color: #fafafa;
}

#kutipan .container h3 {
    padding: 0;
    font-size: 10px;
    font-style: italic;
    line-height: 20px;
}

#kutipan .container .kutipan-flower {
    position: absolute;
    top: -60px;
    object-fit: contain;
}

#kutipan .container .kutipan-flower-2 {
    position: absolute;
    bottom: -60px;
    object-fit: contain;
    transform: scaleY(-1);
    z-index: 2;
}

/* KUTIPAN */

/* PASANGAN UNDANGAN */

#pasangan-undangan {
    min-height: auto;
    background-color: #e7c6c3;
}

#pasangan-undangan .container {
    padding-top: 5rem;
    padding-bottom: 5rem;
    width: 100%; /* Agar background merah tetap penuh */
    max-width: 480px;
    min-height: 100vh;
    background-image: url(../../img/template-3/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
}

#pasangan-undangan .container h3 {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: bold;
}
#pasangan-undangan .container h4 {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: bold;
}
#pasangan-undangan .container h1 {
    font-size: 50px;
    font-family: "Allura", serif;
    font-weight: 400;
    color: var(--text-primary);
    padding-top: 1rem;
}

#pasangan-undangan .container h6 {
    font-size: 14px;
    font-weight: bold;
    color: #6c757d;
}

#pasangan-undangan .container .profil-cowo {
    margin-top: 3rem;
}

#pasangan-undangan .container .picture-cowo {
    margin-top: 3rem;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    max-width: 50%;
    height: auto;
    border: 10px solid #fff;
    box-shadow: 5px 4px 5px 0px rgba(158, 158, 158, 1);
}

#pasangan-undangan .container .picture-cewe {
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    max-width: 50%;
    height: auto;
    border: 10px solid #fff;
    box-shadow: 5px 4px 5px 0px rgba(158, 158, 158, 1);
}

/* PASANGAN UNDANGAN */

/* INFORMASI UNDANGAN */

#informasi-undangan {
    min-height: auto;
    background-color: #e7c6c3;
}

#informasi-undangan .container {
    padding-top: 5rem;
    padding-bottom: 5rem;
    width: 100%; /* Agar background merah tetap penuh */
    max-width: 480px;
    min-height: 100vh;
    background-image: url(../../img/template-3/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
}

#informasi-undangan .container h3 {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: bold;
}
#informasi-undangan .container h1 {
    font-size: 50px;
    font-family: "Allura", serif;
    font-weight: 400;
    color: var(--text-primary);
}

#informasi-undangan .container h6 {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-primary);
}

#informasi-undangan .container .card {
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 4px 3px 5px 0px rgba(153, 132, 132, 0.75);
    -webkit-box-shadow: 4px 3px 5px 0px rgba(153, 132, 132, 0.75);
    -moz-box-shadow: 4px 3px 5px 0px rgba(153, 132, 132, 0.75);
}

#informasi-undangan .container h1 {
    font-size: 50px;
    font-family: "Allura", serif;
    font-weight: 400;
    color: var(--text-primary);
}
#informasi-undangan .container .card .flower-informasi-undangan {
    position: absolute;
    top: -50px;
    width: 150px;
    left: 50%;
    transform: translateX(-50%);
}

#informasi-undangan .container .card .date-main {
    color: var(--text-primary);
    font-size: 35px;
    word-spacing: 10px;
    border-bottom: 3px solid var(--text-primary);
    border-top: 3px solid var(--text-primary);
}

#informasi-undangan .container .card .map iframe {
    margin-top: 2rem;
    border: 1px solid var(--text-primary) !important;
    width: 100% !important;
    height: 300px !important;
}
#informasi-undangan .container .card .lihat-lokasi {
    background: var(--text-secondary);
    border: none;
}
#informasi-undangan .container .card .lihat-lokasi:hover {
    background: #a53228;
}

/* INFORMASI UNDANGAN */

/* STORY */

#story {
    min-height: auto;
    background-color: #e7c6c3;
}

#story .container {
    border: 5px solid white;
    padding-top: 5rem;
    padding-bottom: 3rem;
    width: 100%; /* Agar background merah tetap penuh */
    max-width: 480px;
    min-height: 100vh;
    background-image: url(../../img/template-3/bg2.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#story .flower-story {
    position: absolute;
    top: -70px;
    left: -39px;
    z-index: 2;
}
#story .flower-story-2 {
    position: absolute;
    top: -70px;
    right: -39px;
    transform: scaleX(-1);
    z-index: 2;
}
#story .flower-story-3 {
    position: absolute;
    bottom: -70px;
    left: -39px;
    transform: scaleY(-1);
    z-index: 2;
}
#story .flower-story-4 {
    position: absolute;
    bottom: -70px;
    right: -39px;
    transform: rotate(180deg);
    z-index: 2;
}

#story .container h1 {
    font-size: 50px;
    font-family: "Allura", serif;
    font-weight: 400;
    color: var(--text-primary);
}

#story .container h3 {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: bold;
}

#story .timeline {
    list-style: none;
    padding: 1.4rem 0;
    margin-top: 1rem;
    position: relative;
}

#story .timeline::before {
    content: "";
    top: 0;
    bottom: 0;
    position: absolute;
    width: 3px;
    /* background-color: var(--text-primary); */
    border-left: 3px dashed var(--text-secondary);
    left: 50%;
}

#story .timeline li {
    margin-bottom: 1.5rem;
    position: relative;
}

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

#story .timeline li::after {
    clear: both;
}

#story .timeline li .timeline-image {
    width: 30px;
    height: 30px;
    background-color: #ccc;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    top: 40px;
}

#story .timeline li .timeline-panel {
    width: 40%;
    float: left;
    position: relative;
    text-align: right;
}
#story .timeline li .timeline-panel .timeline-heading {
    width: 100%;
    float: left;
    padding: 1rem;
    position: relative;
    border: 1px solid var(--text-primary);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}

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

#story .timeline li .timeline-panel .timeline-heading::after {
    content: "";
    position: absolute;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid var(--text-secondary);
    border-right: 0 solid var(--text-secondary);
    border-bottom: 14px solid transparent;
    top: 20px;
    right: -18px;
}

#story .timeline li.timeline-inverted .timeline-panel {
    float: right;
    text-align: left;
}

#story
    .timeline
    li.timeline-inverted
    .timeline-panel
    .timeline-heading::before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -20px;
    right: auto;
}

#story .timeline li.timeline-inverted .timeline-panel .timeline-heading::after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -18px;
    right: auto;
}

#story .timeline .timeline-panel h3 {
    font-size: 10px;
    font-weight: bold;
    color: var(--text-primary);
}
#story .timeline .timeline-body p {
    font-size: 9px;
}
#story .timeline li.timeline-inverted .timeline-heading h3 {
    font-weight: bold;
    font-size: 10px;
}
#story .timeline li.timeline-inverted .timeline-body p {
    font-size: 9px;
}

/* STORY */

/* GALERI */

#galeri {
    background-color: #e7c6c3;
    text-align: center;
}

#galeri .container {
    padding-top: 3rem;
    padding-bottom: 5rem;
    width: 100%;
    max-width: 480px;
    /* min-height: 100vh; */
    background-image: url(../../img/template-3/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.img-top {
    margin-top: -2rem;
}

#galeri .header h1 {
    font-size: 50px;
    font-family: "Allura", serif;
    font-weight: 400;
    color: var(--text-primary);
}

#galeri .galeri-footer {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    z-index: 2;
}

.gallery {
    display: flex;
    flex-direction: column;
    max-width: 480px;
    margin: auto;
}

.row {
    display: flex;
}

.row a {
    display: block;
}

.portrait {
    width: 50%;
    aspect-ratio: 3 / 4;
}

.landscape {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.portrait img,
.landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* GALERI */

/* KEHADIRAN TAMU */

#kehadiran-tamu {
    background-color: #e7c6c3;
    text-align: center;
}

#kehadiran-tamu .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-image: url(../../img/template-3/bg2.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

#kehadiran-tamu .container .couple-main-user {
    max-width: 50%;
    border-radius: 100%;
    border: 10px solid #fff;
    box-shadow: 5px 4px 5px 0px rgba(158, 158, 158, 1);
}

#kehadiran-tamu .container .card {
    border: 1px solid var(--text-primary);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
}

#kehadiran-tamu .container h1 {
    font-size: 50px;
    font-family: "Allura", serif;
    font-weight: 400;
    color: var(--text-primary);
}
#kehadiran-tamu .container h3 {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: bold;
}

#kehadiran-tamu .container label {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: bold;
}

#kehadiran-tamu .container input,
#kehadiran-tamu .container select,
#kehadiran-tamu .container textarea {
    border: 1px solid var(--text-primary);
    font-size: 12px;
}

#kehadiran-tamu button {
    width: 100px;
    font-size: 14px;
    color: var(--bg-primary);
    background: var(--text-secondary);
    font-weight: bold;
    border: none;
}

#kehadiran-tamu button:hover {
    color: var(--bg-primary);
    background: #9c160a;
}

#kehadiran-tamu .btn-qrcode {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: auto;
    font-size: 14px;
    color: var(--bg-primary);
    background: var(--text-secondary);
    font-weight: bold;
    border: none;
}

#kehadiran-tamu .container h2 {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
}

#kehadiran-tamu .card {
    box-shadow: 4px 3px 5px 0px rgba(153, 132, 132, 0.75);
    -webkit-box-shadow: 4px 3px 5px 0px rgba(153, 132, 132, 0.75);
    -moz-box-shadow: 4px 3px 5px 0px rgba(153, 132, 132, 0.75);
}

#kehadiran-tamu .card .img-rsvp {
    position: absolute;
    width: 110px;
    right: -20px;
    bottom: -25px;
}

#kehadiran-tamu .card .img-wish {
    position: absolute;
    width: 110px;
    right: -20px;
    top: -25px;
    transform: scaleY(-1);
}

#kehadiran-tamu .filled {
    overflow-y: auto;
    /* Scroll ke bawah jika kontennya lebih panjang */
    height: 300px;
}

#kehadiran-tamu .empty {
    overflow-y: auto;
    /* Scroll ke bawah jika kontennya lebih panjang */
    height: auto;
}

#kehadiran-tamu .ucapan-tamu .card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 4px 3px 5px 0px rgba(153, 132, 132, 0.75);
    -webkit-box-shadow: 4px 3px 5px 0px rgba(153, 132, 132, 0.75);
    -moz-box-shadow: 4px 3px 5px 0px rgba(153, 132, 132, 0.75);
    border: 1px solid var(--text-primary);
    border-radius: 5px;
    width: 100%;
}

#kehadiran-tamu .ucapan-tamu .card h3 {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-primary);
}

#kehadiran-tamu .ucapan-tamu .card h5 {
    font-size: 10px;
    color: #757b89;
}
#kehadiran-tamu .ucapan-tamu .card h6 {
    font-size: 10px;
    color: #757b89;
}

#kehadiran-tamu-2 {
    background-color: #e7c6c3;
    text-align: center;
}

#kehadiran-tamu-2 .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-image: url(../../img/template-3/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

#kehadiran-tamu-2 .container .card {
    border: 1px solid var(--text-primary);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
}

#kehadiran-tamu-2 .container h1 {
    font-size: 50px;
    font-family: "Allura", serif;
    font-weight: 400;
    color: var(--text-primary);
}
#kehadiran-tamu-2 .container h3 {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: bold;
}

#kehadiran-tamu-2 .container label {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: bold;
}

#kehadiran-tamu-2 .container input,
#kehadiran-tamu-2 .container select,
#kehadiran-tamu-2 .container textarea {
    border: 1px solid var(--text-primary);
    font-size: 12px;
}

#kehadiran-tamu-2 button {
    width: 100px;
    font-size: 14px;
    color: var(--bg-primary);
    background: var(--text-secondary);
    font-weight: bold;
    border: none;
}

#kehadiran-tamu-2 .container h2 {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
}

#kehadiran-tamu-2 .container .couple-main-user {
    max-width: 50%;
    border-radius: 100%;
    border: 10px solid #fff;
    box-shadow: 5px 4px 5px 0px rgba(158, 158, 158, 1);
    margin-bottom: 1rem;
}

#footer {
    background-color: #e7c6c3;
    text-align: center;
}

#footer .container {
    padding-top: 1rem;
    padding-bottom: 5rem;
    width: 100%;
    max-width: 480px;
    min-height: auto;
    background-color: #16404d;
}

#footer .container h3 {
    font-size: 14px;
    color: var(--bg-primary);
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++ TEMPLATE UNDANGAN ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* RESPONSIVE */
/* Media Query */

/* Extra large */
@media (max-width: 1200px) {
    #open-undangan .couple {
        max-width: 270px;
    }

    #open-undangan .top-left {
        width: 250px;
    }
    #open-undangan .top-right {
        width: 250px;
    }
    #open-undangan .bottom-left {
        width: 270px;
    }
    #open-undangan .bottom-right {
        width: 270px;
    }

    #main-undangan .container h1 {
        font-size: 25px;
    }

    #main-undangan .container .couple-name {
        font-size: 60px;
    }

    #main-undangan .container .couple-main {
        width: 320px;
    }

    #main-undangan .container .couple-name::before,
    #main-undangan .container .couple-name::after {
        width: 300px;
    }

    #main-undangan .container .date-main {
        font-size: 40px;
    }

    #main-undangan .simply-countdown > .simply-section {
        padding: 46px;
        font-size: 20px;
    }
}

/* laptop */
@media (max-width: 992px) {
    #open-undangan .couple {
        max-width: 300px;
    }
    #open-undangan .top-left {
        width: 250px;
    }
    #open-undangan .top-right {
        width: 250px;
    }
    #open-undangan .bottom-left {
        width: 300px;
    }
    #open-undangan .bottom-right {
        width: 300px;
    }
    #main-undangan .container h1 {
        font-size: 30px;
    }

    #main-undangan .container .couple-name {
        font-size: 60px;
    }

    #main-undangan .container .couple-main {
        width: 320px;
    }

    #main-undangan .container .couple-name::before,
    #main-undangan .container .couple-name::after {
        width: 300px;
    }

    #main-undangan .container .date-main {
        font-size: 40px;
    }

    #main-undangan .simply-countdown > .simply-section {
        padding: 46px;
        font-size: 20px;
    }
}

/* tablet */
@media (max-width: 768px) {
    #open-undangan .couple {
        max-width: 270px;
    }
    #open-undangan .top-left {
        width: 250px;
    }
    #open-undangan .top-right {
        width: 250px;
    }
    #open-undangan .bottom-left {
        width: 270px;
    }
    #open-undangan .bottom-right {
        width: 270px;
    }

    #main-undangan .container h1 {
        font-size: 25px;
    }

    #main-undangan .container .couple-name {
        font-size: 60px;
    }

    #main-undangan .container .couple-main {
        width: 320px;
    }

    #main-undangan .container .couple-name::before,
    #main-undangan .container .couple-name::after {
        width: 300px;
    }

    #main-undangan .container .date-main {
        font-size: 40px;
    }

    #main-undangan .simply-countdown > .simply-section {
        padding: 46px;
        font-size: 20px;
    }

    .modal-dialog {
        width: 100vw;
        height: 100vh;
        margin: 0;
        max-width: 100%;
    }

    .modal-content {
        height: 100vh;
        border-radius: 0;
    }
}

/* mobile phone */
@media (max-width: 576px) {
}

@media (max-width: 480px) {
    /* HP kecil */

    #main-undangan .container h1 {
        font-size: 20px;
    }

    #main-undangan .container .couple-name {
        font-size: 50px;
    }

    #main-undangan .container .couple-main {
        width: 250px;
    }

    #main-undangan .container .couple-name::before,
    #main-undangan .container .couple-name::after {
        width: 230px;
    }

    #main-undangan .container .date-main {
        font-size: 30px;
    }

    #main-undangan .simply-countdown > .simply-section {
        padding: 35px;
        font-size: 14px;
    }

    #informasi-undangan .container h3 {
        font-size: 13px;
    }
    #informasi-undangan .container h6 {
        font-size: 13px;
    }

    #informasi-undangan .container .card .date-main {
        font-size: 25px;
    }

    #open-undangan .couple {
        max-width: 200px;
    }

    #open-undangan .top-left {
        width: 220px;
    }
    #open-undangan .top-right {
        width: 220px;
    }
    #open-undangan .bottom-left {
        width: 200px;
    }
    #open-undangan .bottom-right {
        width: 200px;
    }
    #story .timeline li .timeline-image {
        top: 35px;
        width: 25px;
        height: 25px;
    }

    #story .timeline li .timeline-panel .timeline-heading::before {
        border-top: 9px solid transparent;
        border-left: 9px solid #ccc;
        border-bottom: 9px solid transparent;
        right: -13px;
    }

    #story .timeline li .timeline-panel .timeline-heading::after {
        border-top: 8px solid transparent;
        border-left: 8px solid var(--text-secondary);
        border-bottom: 8px solid transparent;
        right: -11px;
    }

    #story
        .timeline
        li.timeline-inverted
        .timeline-panel
        .timeline-heading::before {
        border-right-width: 9px;
        left: -13px;
    }

    #story
        .timeline
        li.timeline-inverted
        .timeline-panel
        .timeline-heading::after {
        border-right-width: 8px;
        left: -11px;
    }

    #story .timeline .timeline-panel h3 {
        font-size: 9px;
    }

    #story .timeline .timeline-body p {
        font-size: 8px;
    }

    #story .timeline li.timeline-inverted .timeline-heading h3 {
        font-size: 9px;
    }

    #story .timeline li.timeline-inverted .timeline-body p {
        font-size: 8px;
    }
}

@media (max-width: 380px) {
    #open-undangan .couple {
        max-width: 180px;
    }

    #main-undangan .container h1 {
        font-size: 16px;
    }

    #main-undangan .container .couple-name {
        font-size: 45px;
    }

    #main-undangan .container .couple-main {
        width: 210px;
    }

    #main-undangan .container .couple-name::before,
    #main-undangan .container .couple-name::after {
        width: 200px;
    }

    #main-undangan .container .date-main {
        font-size: 25px;
    }

    #main-undangan .simply-countdown > .simply-section {
        padding: 30px;
        font-size: 10px;
    }

    #main-undangan .container .col-12 {
        padding-top: 0;
    }

    #informasi-undangan .container h3 {
        font-size: 12px;
    }
    #informasi-undangan .container h6 {
        font-size: 12px;
    }

    #informasi-undangan .container .card .date-main {
        font-size: 25px;
    }

    #open-undangan .couple {
        max-width: 180px;
    }

    #open-undangan .top-left {
        width: 200px;
    }
    #open-undangan .top-right {
        width: 200px;
    }
    #open-undangan .bottom-left {
        width: 170px;
    }
    #open-undangan .bottom-right {
        width: 170px;
    }
    #story .timeline li .timeline-image {
        top: 35px;
        width: 25px;
        height: 25px;
    }

    #story .timeline li .timeline-panel .timeline-heading::before {
        border-top: 9px solid transparent;
        border-left: 9px solid #ccc;
        border-bottom: 9px solid transparent;
        right: -10px;
    }

    #story .timeline li .timeline-panel .timeline-heading::after {
        border-top: 8px solid transparent;
        border-left: 8px solid var(--text-secondary);
        border-bottom: 8px solid transparent;
        right: -8px;
    }

    #story
        .timeline
        li.timeline-inverted
        .timeline-panel
        .timeline-heading::before {
        border-right-width: 9px;
        left: -10px;
    }

    #story
        .timeline
        li.timeline-inverted
        .timeline-panel
        .timeline-heading::after {
        border-right-width: 8px;
        left: -8px;
    }

    #story .timeline .timeline-panel h3 {
        font-size: 9px;
    }

    #story .timeline .timeline-body p {
        font-size: 8px;
    }

    #story .timeline li.timeline-inverted .timeline-heading h3 {
        font-size: 9px;
    }

    #story .timeline li.timeline-inverted .timeline-body p {
        font-size: 8px;
    }
}
/* RESPONSIVE */

/* ANIMASI */

@keyframes bounceInfinite {
    0%,
    100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-15px);
    }
    50% {
        transform: translateY(0);
    }
    70% {
        transform: translateY(-8px);
    }
}

.bounce-loop {
    animation: bounceInfinite 3s ease-in-out infinite;
}

@keyframes bounceReverse {
    0%,
    100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(15px);
    }
    50% {
        transform: translateY(0);
    }
    70% {
        transform: translateY(8px);
    }
}

.bounce-reverse {
    animation: bounceReverse 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floatingReverse {
    0% {
        transform: translateY(0) scaleX(-1);
    }
    50% {
        transform: translateY(10px) scaleX(-1);
    }
    100% {
        transform: translateY(0) scaleX(-1);
    }
}

.floating-reverse-mirror {
    animation: floatingReverse 3s ease-in-out infinite;
}

@keyframes floatingReverseFlipX {
    0% {
        transform: translateY(0) scaleY(-1);
    }
    50% {
        transform: translateY(10px) scaleY(-1);
    }
    100% {
        transform: translateY(0) scaleY(-1);
    }
}

.floating-reverse-flip-x {
    animation: floatingReverseFlipX 3s ease-in-out infinite;
}

@keyframes floatingReverseFlipY {
    0% {
        transform: translateY(0) scaleX(-1) scaleY(-1);
    }
    50% {
        transform: translateY(-10px) scaleX(-1) scaleY(-1);
    }
    X 100% {
        transform: translateY(0) scaleX(-1) scaleY(-1);
    }
}

.floating-reverse-flip-y {
    animation: floatingReverseFlipY 3s ease-in-out infinite;
}

@keyframes swing {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

.swing-loop {
    animation: swing 3s ease-in-out infinite;
}

@keyframes swingReverse {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
    }
}

.swing-reverse {
    animation: swingReverse 3s ease-in-out infinite;
}

@keyframes zoomInOut {
    0% {
        transform: translateX(-15px) scale(1);
    }
    50% {
        transform: translateX(-15px) scale(1.1); /* Zoom in */
    }
    100% {
        transform: translateX(-15px) scale(1);
    }
}

.zoom-animation {
    animation: zoomInOut 3s ease-in-out infinite;
}

/* ANIMASI */
