@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: 'Cinzel Decorative', cursive;
}

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow: hidden;
    height: 100vh;
    margin: 0;
    background-color: gray !important;
}

input, textarea {
    font-family: 'Montserrat', sans-serif !important;
}

/* MAIN HEADER */
.main-header {
    background-image: url('../img/bg.png');
    background-position: center top;
    background-size: cover;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
    padding-bottom: 100px;
    background-color: #f6f6f6;
}

.main-header #particles {
    position: absolute;
    overflow: hidden;
    height: 100vh;
}

.main-header img.mainlogo {
    display: block;
    width: 200px;
    margin: 0 auto;

}


.main-header p.walimatul {
    text-align: center;
    font-weight: 500;
    padding-bottom: 30px;
    font-weight: 500;
    padding-top: 130px;
    color: #ffc37a;
}

.main-header p.nameone, .main-header p.nametwo {
    text-align: center;
    font-size: 60px;
    font-family: 'Tangerine', cursive;
    font-weight: bolder;
    padding: 0;
    margin: 0;
    line-height: 50px;
    color: #ffc37a;
}

.main-header p.and {
    text-align: center;
    font-size: 60px;
    padding: 0;
    margin: 0;
    font-weight: bold;
    font-family: 'Tangerine', cursive;
    margin-bottom: 20px;
    color: #ffc37a;
}

p.hashtag {
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-top: 50px;
    color: #ffc37a;
}

p.hari {
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-top: 80px;
    color: #ffc37a;
}

p.tarikh {
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 18px;
    color: #ffc37a;
}

p.tempat {
    text-align: center;
    font-size: 16px;
    font-weight: bolder;
    color: #ffc37a;
}

.main-header p.scrolldown {
    display: block;
    position: static;
    top: 0;
    right: 0;
    text-align: center;
    font-size: 35px;
    color: #ffc37a;
    animation: pulse 2s infinite;
}

/* NAVBAR MODAL */
.navbar-modal {
    overscroll-behavior: none;
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 888;
}

.navbar-modal .buka {
    max-height: 100vh;
    display: block !important;
    animation: slideUp 0.5s;
}

.navbar-modal .modals {
    display: none;
    width: 100%;
    background-color: white;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0px;
    margin: 0 auto;
    z-index: 889;
    overflow: auto;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    padding: 10px;
    padding-bottom: 90px;
    padding-top: 20px;
}

.navbar-modal p.title {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    color: #71563b;
    margin-bottom: 20px;
}

.navbar-modal p.location {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.navbar-modal .maps {
    width: 90%;
    display: block;
    margin: 0 auto;
    border: #d1d1d1 1px solid;
    border-radius: 10px;
}

.navbar-modal a.googleMap {
    display: block;
    width: 100%;
    text-align: center;
    color: #605346;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    margin-top: 30px;
    margin-bottom: 30px;
}

.navbar-modal {
    padding-left: 20px;
    padding-right: 20px;
}

.navbar-modal a.hantarBtn {
    display: block;
    width: 150px;
    margin: 0 auto;
    text-decoration: none;
    color: #605346;
    font-weight: bold;
    border: 2px solid #605346;
    padding: 5px;
    text-align: center;
    border-radius: 10px;
}

.navbar-modal a.hantarBtn i {
    font-size: 20px;
}

.navbar-modal label {
    color: #605346;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.navbar-modal img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.navbar-modal .location-modal {
    padding-top: 100px;
}

/* OVERLAY */
.overlay {
    background-image: url('../img/bg.png');
    background-position: center;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.4);
    overflow-x: hidden; 
    transition: 0.5s;
}

.overlay-in {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    overflow: hidden;
}

.overlay-in p.nameone, .overlay-in p.nametwo, .overlay-in p.and {
    text-align: center;
    font-size: 50px;
    font-family: 'Tangerine', cursive;
    font-weight: bolder;
    padding: 0;
    margin: 0;
    color: #ffc37a;
}

.overlay-in p.yangmulia {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #ffc37a;
}

.overlay-in p.walimatul {
    color: #ffc37a;
    text-align: center;
    font-size: 13px;

}

.overlay-in button {
    display: block;
    width: 250px;
    margin: 0 auto;
    margin-top: 50px;
    border: 0;
    font-size: 15px;
    padding: 10px;
    border-radius: 10px;
    background-color: #ffc37a;
    font-weight: bold;
    color:#6b5131;
    border: 0 !important;
}

/* BOTTOM BAR */
.bottombar {
    display: none;
    position: fixed;
    bottom: 0;
    background-color: #9b9b9b;
    width: 100%;
    z-index: 9999;
    padding-top: 10px;
    padding-bottom: 5px;
    box-shadow: -1px -9px 57px -19px rgba(0,0,0,0.51);
    -webkit-box-shadow: -1px -9px 57px -19px rgba(0,0,0,0.51);
    -moz-box-shadow: -1px -9px 57px -19px rgba(0,0,0,0.51);
}

.bottombar a {
    text-decoration: none;
    color: white;
}

.bottombar p.icon {
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
    text-align: center;
    line-height: 0px;
}

.bottombar p.text {
    padding: 0;
    margin: 0;
    font-weight: bold;
    font-size: .625rem;
    text-align: center;
    padding-top: 3px;
}

/* INTRO */
.intro {
    background-image: url('../img/bg.png');
    background-position: center top;
    background-size: cover;
    padding-top: 100px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 50px;
    background-color: #f6f6f6;
}

.intro img.flower-top {
    display: block;
    width: 300px;
    margin: 0 auto;
}

.intro img.flower-bottom {
    display: block;
    width: 300px;
    margin: 0 auto;
    margin-top: 30px;
}

.intro p {
    text-align: center;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.intro p.nameone, .intro p.nametwo, .intro p.dan {
    font-family: 'Cinzel Decorative', cursive;
    font-weight: bold;
    font-size: 20px;
    color: #ffc37a;
}

.intro p.yaqadhi {
    margin-top: 10px;
    margin-bottom: 30px;
    font-family: 'Cinzel Decorative', cursive;
    font-weight: 500;
    font-size: 20px;
    color: #ffc37a;
}

.intro p.nama {
    color: #ffc37a;
    line-height: 18px;
    font-size: 16px;
    font-weight: medium;
}

.intro p.junjungkasih {
    padding-top: 20px;
    color: #ffc37a;
}

.intro p.nameone {
    padding-top: 25px;
}

.intro p.arabic-bismillah {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ffc37a;
}

.intro img.bismillah {
    display: block;
    width: 300px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.intro p.nametwo {
    padding-bottom: 50px;
}

.intro .place-info p {
    color: #ffc37a;
    font-weight: bold;
    font-size: 12px;
}

.intro .event-info {
    margin-bottom: 30px;
}

.intro .event-info i.bx {
    font-size: 35px;
    color: #ffc37a;
    text-align: center;
}

.intro .event-info .right p {
    text-align: center;
    line-height: 20px;
}

.intro .event-info .left {
    text-align: center;
}

.intro .event-info p.title {
    margin: 0;
    padding: 0;
    font-weight: bold;
    color: #ffc37a;
    font-size: 18px;
}

.intro .event-info p.desc {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #ffc37a;
    font-weight: 500;
    margin-bottom: 50px;
}

/* ATURCARA */
.aturcara {
    padding-left: 10px;
    padding-right: 10px;
    background-image: url('../img/bg-2.png');
    background-position: center top;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #411516;
}

.aturcara p.title {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    color: #ffc37a;
    margin-bottom: 20px;
}

.aturcara p.icon {
    text-align: center;
    font-size: 50px;
    color: #ffc37a;
    margin: 0px;
}

.aturcara p.iconText {
    font-weight: 500;
    color: #ffc37a;
    text-align: center;
}

.aturcara p.iconText u {
    font-weight: bold;
}

.aturcara .borders {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-style: double !important;
    border-width: 1px !important;
    border-color: #ffc37a !important;
    border-radius: 10px;
    background-color: #69513b75;
    margin: 20px;
    margin-bottom: 50px;
}

.aturcara .schedule {
    margin: auto;
    margin: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-style: double !important;
    border-width: 1px !important;
    border-color: #ffc37a !important;
    border-radius: 10px;
    background-color: #69513b75;
}

.aturcara p.masa {
    text-align: right;
    font-weight: bold;
    color: #ffc37a;
}

.aturcara p.acara {
    text-align: left;
    color: #ffc37a;
}


.aturcara img.flower-top {
    display: block;
    width: 300px;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* FLIPDOWN */
.flipdown-cont {
    padding-top: 30px;
    width: 100%;
    background-image: url('../img/bg.png');
    background-position: top center;
    background-size: cover;
    background-color: #411516;
}

.flipdown {
    width: 350px;
    height: 70px;
    margin: auto;
    display: flex;
    justify-content: center;
}

.flipdown-cont img.flower-top {
    display: block;
    width: 250px;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 70px;
}

.flipdown-cont p.title {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    color: #ffc37a;
    margin-bottom: 20px;
}

.flipdown-cont img.border-bottom {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    margin-top: 20px;
    display: none;
}

.flipdown-cont .countdown {
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
}

.flipdown-cont .countdown .countdown-container {
    width: 100%;
    border: #ffc37a 5px double;
}

.flipdown-cont .countdown p.countdown-name {
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    padding: 0;
    margin: 0;
    color: #ffc37a;
    text-overflow: ellipsis;
}

.flipdown-cont .countdown p.countdown-time {
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    padding: 0;
    margin: 0;
    color: #ffc37a;
    text-overflow: ellipsis;
}

.flipdown-cont p.hashtag {
    padding-bottom: 50px;
}

/* UCAPAN */
.ucapan {
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: url('../img/bg-2.png');
    background-position: top center;
    background-size: cover;
    background-color: #411516;
}

.ucapan .ucapan-box {
    padding: 20px 10px;
    margin-right: 10px;
    margin-left: 10px;
    border-style: double !important;
    border-width: 5px !important;
    border-color: #ffc37a !important;
    border-radius: 10px;
}

.ucapan img.flower-top {
    display: block;
    width: 250px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.ucapan p.title {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    color: #ffc37a;
    margin-bottom: 20px;
}

.ucapan img.border-bottom {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    margin-top: 20px;
    display: block;
}

.ucapan i {
    font-size: 35px;
    color: #ffc37a;
}

.ucapan p.message {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #ffc37a;
}

.ucapan p.from {
    text-align: center;
    font-weight: bold;
    color: #ffc37a;
}

.ucapan button.ucapanBtn {
    display: block;
    width: 250px;
    margin: 0 auto;
    margin-top: 50px;
    border: 0;
    font-size: 15px;
    padding: 10px;
    border-radius: 10px;
    background-color:#ffc37a;
    font-weight: bold;
    color:#8f6c49;
    border: 1px solid #ffc37a;
}

/* DOA PENGANTIN */
.doa-pengantin {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: url('../img/bg-2.png');
    background-position: top center;
    background-size: cover;
    background-color: white;
}

.doa-pengantin p.title {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    color: #ffc37a;
    margin-bottom: 20px;
}

.doa-pengantin img.flower-top {
    display: block;
    width: 300px;
    margin: 0 auto;
}

.doa-pengantin .borders {
    padding: 20px;
    border-style: double !important;
    border-width: 1px !important;
    border-color: #ffc37a !important;
    border-radius: 10px;
    margin-bottom: 50px;
    margin: 0px 20px;
}

.doa-pengantin img.bismillah {
    display: block;
    width: 250px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 20px;
}

.doa-pengantin p.bold {
    text-align: center;
    font-weight: bold;
    color: #ffc37a;
}

.doa-pengantin p.normal {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #ffc37a;
}

.doa-pengantin p.amin {
    margin: 0;
    padding: 0;
    font-family: 'Tangerine', cursive;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    color: #ffc37a;
}

/* LOKASI MAJLIS */
.lokasi-majlis {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: url('../img/bg.png');
    background-position: top center;
    background-size: cover;
    background-color: white;
}

.lokasi-majlis p.title {
    margin-top: 20px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    color: #ffc37a;
    margin-bottom: 20px;
}

.lokasi-majlis img {
    display: block;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* ENDING */
.ending {
    padding-top: 25px;
    background-image: url('../img/bg.png');
    background-position: top center;
    background-size: cover;
    background-color: white;
}

.ending img.flower-top {
    display: block;
    width: 300px;
    margin: 0 auto;
}

.ending p.terima-kasih {
    font-weight: 500;
    margin-top: 100px;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    color: #ffc37a;
    font-family: 'Montserrat', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.ending p.pengantin {
    text-align: center;
    font-size: 60px;
    font-family: 'Tangerine', cursive;
    font-weight: bolder;
    padding: 0;
    margin: 0;
    padding-top: 50px;
    line-height: 60px;
    color: #ffc37a;
}

.ending p.createdBy {
    text-align: center;
    margin-top: 50px;
    color: #ffc37a;
    padding-left: 10px;
    padding-right: 10px;
}

.ending p.createdBy i {
    color: #fa7474;
    font-size: 25px;
}

.ending img {
    display: block;
    width: 150px;
    margin: 0 auto;
}

.ending img.border-bottom {
    display: block;
    width: 100%;
    margin: 0 auto;
    margin-top: 50px;
    padding-bottom: 50px;
}

.ending img.logo {
    padding-bottom: 150px;
}

/* ANIMATION */
@keyframes pulse {
    0% {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 10px);
        -webkit-transform: translate(0, 10px);
    }
    100% {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        bottom: -300px
    }
    100% {
        opacity: 1;
        bottom: 57px
    }
}

/* SCREEN */
@media screen and (min-width: 720px) {
    body {
        background-color: #999999;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        width: 500px !important;
        display: block;
        margin: auto;
    }

    .bottombar {
        width: 550px !important;
        margin: auto !important;
        left: 0;
        right: 0;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
    }

    .main-header {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
        height: auto;
    }

    .main-header #particles {
        width: 450px;
        height: 710px;
    }

    .intro, .flipdown-cont, .aturcara, .doa-pengantin, .ending, .ucapan {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .aturcara {
        padding-top: 10px;
    }

    .flipdown-cont .center-div {
        position: absolute;
    }

    .flipdown-cont img.border-bottom {
        display: block;
    }

    .flipdown {
        overflow: hidden;
        display: block !important;
        width: 350px;
        height: 300px;
    }

    .doa-pengantin .borders {
        margin-bottom: 0;
    }

    .navbar-modal {
        overscroll-behavior: none;
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        width: 500px !important;
        height: 100%;
        margin: 0 auto;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 888;
    }
    
    .navbar-modal .buka {
        max-height: 100vh;
        display: block !important;
        animation: slideUp 0.5s;
    }
    
    .navbar-modal .modals {
        display: none;
        width: 550px;
        background-color: white;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 57px;
        margin: 0 auto;
        z-index: 889;
        overflow: auto;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        padding: 10px;
    }
}