@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&display=swap');

#splash-screen {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(to bottom, #31057D, #030607);
    z-index: 4;
    overflow-x: hidden;
}

#splash-screen #invitation-text {
    color: white;
    font-family: serif;
    letter-spacing: 5px;
    font-size: 18px;
    margin-top: 30px;
}

#foto-splash-screen {
    margin-left: -80px;
}

#nama-splash-screen {
    color: white;
    font-family: 'dancing script';
    margin-top: -120px;
    font-size: 40px;
    border-bottom: 1px solid white;
    width: fit-content;
    padding: 5px;
}

.sambutan-splash-screen {
    color: white;
    font-family: 'Poppins';
    font-size: 14px;
}

#btn-buka-undangan {
    color: white;
    font-family: 'Poppins';
    border: 1.5px solid white;
    border-radius: 40px;
    background: none;
    padding: 1px 13px;
    font-weight: bold;
}

#bottom_sheet {
    height: 80vh;
    width: 100%;
    position: fixed;
    bottom: -100vh;
    background-color: white;
    z-index: 3;
    transition: .5s;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    border: 1px solid rgb(204, 204, 204);
    overflow-y: auto;
    padding-bottom: 150px;
}

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    color: white;
    font-family: 'PT Serif';
}

#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(60%);
}

#hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    /* Ubah nilai alpha (0.5) sesuai kebutuhan transparansi */
    pointer-events: none;
    /* Mengizinkan klik pada video melalui lapisan overlay */
}

#countdown h5 {
    margin: 5px;
}

#bride {
    margin-top: 30px;
}

#foto_bride {
    width: 220px;
    height: 450px;
    background-color: #303030;
    border-top-left-radius: 50px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    padding: 10px;
    font-family: 'PT Serif';
}

#foto_bride h1 {
    order: -1;
    align-self: flex-end;
}

#bride .text-container {
    position: relative;
    display: inline-block;
    margin-top: 200px;
    margin-left: 15px;
}

#foto_groom {
    width: 220px;
    height: 450px;
    background-color: #303030;
    border-top-right-radius: 50px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    padding: 10px;
    font-family: 'PT Serif';
}

#groom .text-container {
    position: relative;
    display: inline-block;
    margin-top: 240px;
    margin-right: 19px;
}

.rotated-text {
    transform: rotate(-90deg);
    transform-origin: top left;
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 50px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

.normal-text {
    display: inline-block;
    margin-left: 5px;
    font-size: 40px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

#akad_resepsi {
    background-color: #444644;
    padding-top: 30px;
}

.card_akad {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    width: 300px;
    margin: 0 auto;
    box-shadow: 0 3px 20px rgb(38, 38, 38);
    color: white;
    font-family: 'PT Serif';
    background-color: #232323;
}

.img_akad {
    height: 350px;
    width: 100%;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    background-size: cover;
}

.card_akad #detail_akad {
    text-align: center;
    border-left: 1px solid white;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
}

#detail_akad h4 {
    line-height: 10px;
}


.card_resepsi {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    width: 300px;
    margin: 0 auto;
    box-shadow: 0 3px 20px rgb(38, 38, 38);
    color: white;
    font-family: 'PT Serif';
    background-color: #232323;
}

.img_resepsi {
    height: 350px;
    width: 100%;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    background-size: cover;
}

.card_resepsi #detail_resepsi {
    text-align: center;
    border-right: 1px solid white;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
}

#detail_resepsi h4 {
    line-height: 10px;
}

#journey {
    background-color: #232323;
    color: white;
    padding-top: 30px;
}

#img_journey {
    width: 100%;
    height: 120px;
    background-size: cover;
    margin-top: 50px;
}

.wedding_video_container {
    position: relative;
    display: inline-block;
    padding: 20px;
}

.wedding_video_container .video {
    width: 100%;
    border-radius: 10px;
}

.wedding_video_container .video::-webkit-media-controls {
    display: none;
}

.wedding_video_container .play_button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(196, 196, 196);
    border: none;
    cursor: pointer;
}

#gallery {
    padding: 20px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#top_curve {
    height: 20px;
    margin-bottom: -18px;
    z-index: 2 !important;
    position: relative;
    width: 100%;
    background-color: rgb(255, 255, 255);
    border-bottom-left-radius: 50% 100%;
    border-bottom-right-radius: 50% 100%;
}

#bottom_curve {
    height: 20px;
    margin-top: -18px;
    z-index: 2 !important;
    position: relative;
    width: 100%;
    background-color: rgb(255, 255, 255);
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
}

.card_prokes {
    width: 290px;
    padding: 20px;
    margin: 0 auto;
    box-shadow: 0 1px 20px rgb(211, 211, 211);
    border-radius: 20px;
    background-color: #F2F2F2;
}

#gift {
    margin-top: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #EEEEEE;
}

.card_konfirm_kehadiran {
    width: 290px;
    padding: 20px;
    margin: 0 auto;
    box-shadow: 0 1px 20px rgb(211, 211, 211);
    border-radius: 20px;
    background-color: #444644;
    color: white;
    margin-bottom: 20px;
}

.card_wishes {
    border-radius: 50px;
    width: 300px;
    margin: 0 auto;
    box-shadow: 0 3px 20px rgb(38, 38, 38);
    color: white;
    font-family: 'PT Serif';
    background-color: #232323;
    padding-bottom: 40px;
}

.img_wishes {
    height: 350px;
    width: 100%;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    background-size: cover;
}

#btn_comment {
    font-family: Poppins;
    margin-top: 10px;
}

#pesan_section {
    padding: 10px;
    background-color: whitesmoke;
    width: 250px;
    margin-top: -4px;
    position: relative;
    z-index: 5 !important;
    border-top: 1px solid grey;
}

#box_pesan {
    padding: 15px 8px;
    border: 1px solid rgb(201, 201, 201);
    border-radius: 5px;
    height: 300px;
    overflow-y: auto;
}

.items_pesan {
    padding: 10px 20px;
    border-radius: 10px;
    background-color: white;
}

footer {
    width: 100%;
    height: 500px;
    background-size: cover;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}