:root {
    --pink: #f14e95;
    --bg: #0a0a0a;
    --shadow: 0 2px 2px rgb(0 0 0 / 0.5);
}

body {
    font-size:  1.2rem;
    font-family: 'Work Sans', sans-serif;
    min-height: 4000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(img/cover-hero.png);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero {
    position: relative;
    min-height: 100vh;
}

.hero h1, .hero h4, .hero p {
    text-shadow: var(--shadow);
}

.hero h1 {
    font-family: 'Sacramento', cursive;
    font-size: 6rem;
}

.hero h4 {
    font-size: 1.6rem;
}

.hero p {
    font-size: 1.4rem;
}

.hero a {
    color: var(--pink);
    background-color: white;
    box-shadow: var(--shadow);
}

.hero a:hover {
    background-color: var(--pink);
    color: white;
}

.mynavbar {
    background-color: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(4px);
}

.mynavbar .offcanvas {
    height: 100vh;
}

.mynavbar .navbar-brand,
.mynavbar .offcanvas-title {
    font-family: 'Sacramento', cursive;
    font-size: 3.2rem;
    font-weight: bold;
 }

 .mynavbar .nav-link {
    text-transform: uppercase;
 }

 .home {
    background-size: cover;
    min-height: 100vh;
    margin-top: -6rem;
    padding-top: 15rem;
    padding-bottom: 5rem;
 }

 .home h2,
 .Info h2,
 .story h2,
 .gallery h2,
 .rsvp h2 {
    color: var(--pink);
    font-family: 'Sacramento';
    font-size: 4rem;
 }

 .home h3 {
    color: #444;
    font-size: 1.3rem;
    margin-bottom: 1rem;
 }

 .home p {
    font-size: 1.1rem;
    color: #666;
 }

 .home .couple {
    margin-top: 100px;
 }

.home .couple h3 {
    font-family: 'Sacramento';
    font-size: 2.4rem;
    color: var(--pink);
}

 .home .heart {
    width: 50px;
    height: 50px;
    background-color: white;
    display: flex;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(65px);
}

 .home .heart i {
    margin: auto;
    color: var(--pink);
 }

 .Info {
    background-color: var(--bg);
    color: white;
    padding-top: 10rem;
    padding-bottom: 8rem;
 }

.Info .alamat {
    font-size: 1.1rem;
}

.Info .description {
    font-size: 1rem;
    font-weight: 300;
}

.Info .card {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid #999;
}

.Info .card-header {
    border-bottom: 1px solid #999;
    text-transform: uppercase;
    letter-spacing: 0.1rem
}

.Info .card-body {
    font-size: 1rem;
}

.Info .card-footer {
    border-top: 1px solid #999;
    font-size: 0.9rem;
    font-weight: 300;
} 

.story,
.gallery {
    padding-top: 10rem;
    padding-bottom: 8rem;
}

.story span, 
.gallery span {
    text-transform: uppercase;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.story p, 
.gallery p {
    font-size: 1rem;
    font-weight: 300;
}

.timeline {
    list-style: none;
    padding: 1.4rem 0;
    margin-top: 1rem;
    position: relative;
}

.timeline::before {
    content: '';
    top: 0;
    bottom: 0;
    position: absolute;
    width: 1px;
    background-color: #ccc;
    left: 50%;
}

.timeline li {
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline li::before,
.timeline li::after {
    content: '';
    display: table;
}

.timeline li::after {
    clear: both;
}

.timeline li .timeline-image {
    width: 160px;
    height: 160px;
    background-color: #ccc;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.timeline li .timeline-panel {
    width: 40%;
    float: left;
    border: 1px solid #ccc;
    padding: 2rem;
    position: relative;
    border-radius: 8px;
    background-color: #fff;
}

.timeline li .timeline-panel::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: 80px;
    right: -15px;
}

.timeline li .timeline-panel::after {
    content: '';
    position: absolute;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    top: 81px;
    right: -13px;
}

.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: -13px;
    right: auto;
}

.gallery {
    background-color: #f5f5f5;
}

.rsvp {
    padding-top: 7rem;
    padding-bottom: 8rem;

}

.rsvp h2 {
    color: var(--pink);
    font-family: "Sacramento", cursive;
}

.rsvp p {
    font-size: 1.1rem;
    color: #666;
}

.rsvp .form-control {
    width: 100%;
    border: 1px solid var(--pink);
}

.rsvp a {
    color: var(--pink);
    background: #fff;
    border: 1px solid var(--pink);
}

.rsvp a:hover {
    background: var(--pink);
    color: white;
}

.rsvp .respon-ucapan {
    height: 450px;
    overflow: scroll;
}

.rsvp .respon-ucapan .card {
    border: 1px solid var(--pink);
}

.rsvp .card .card-text {
    font-size: 1rem;
}

.gifts {
    background: var(--bg);
    padding: 7rem 0 3rem 0;
}

.gifts h3 {
    color: var(--pink);
    font-size: 3rem;
    font-family: "Sacramento", cursive;
}

.gifts a {
    color: var(--pink);
    background: #fff;
    border: 1px solid var(--pink);
}

.gifts a:hover {
    background: var(--pink);
    color: white;
}

.footer {
    background: var(--bg);
    padding: 4rem 0 3rem 0;
}

.footer .sosmed {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    text-align: center;
}

.footer .sosmed a {
    color: white;
}

.widget {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.widget .widget-pesan {
    background: var(--pink);
    width: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: .9rem .3rem;
}

.widget .widget-pesan .btn-pesan { /* */
    background: #ac2660;
}
.widget .widget-pesan .btn-pesan:hover { /* */
    background: #69173b;
}

.widget-pesan .btn-back {
    width: 7rem; 
    text-align: center;
}

.widget .widget-sosmed {
    background: var(--pink);
    width: 18rem;
    display: flex;
    justify-content: space-evenly;
    padding: .9rem .3rem;
    border-radius: 5px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
    align-self: center;
}

.widget a {
    background: #760033;
    width: 2.5rem;
    text-align: center;
    border-radius: 5px;
    align-self: center;
}

.widget a:hover .bi { 
    font-size: 1.5rem; 
    transition: 0.3s; 
    color: #ffffff; 
} 

.widget .widget-sosmed a:hover{ 
    background: none; 
}

.widget i {
    color: white;
    font-size: 1rem;
}

/* Part Yang di Pindah */
.widget .qrcode-btn {
    display: flex;
    justify-content: end;
    margin: 0 .9rem 1rem 0;
}

.widget .qrcode-btn button {
    background: var(--pink);
}

.widget .qrcode-btn button:hover {
    background: #69173b;
}
/* END */

.music-toggler  {
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    margin: 0 1rem 5% 0;
}

.music-toggler #play-music {
    background: var(--pink);
    padding: .5rem .8rem; 
    border-radius: 50%; 
    color: white;
    border: none;
}
.music-toggler #play-music:hover {
    background: #69173b;
    padding: .5rem .8rem; 
}

.music-toggler i {
    font-size: 1.2rem; 
    color: var(--whiteBrown);    
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#play-music {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}


/* Part Yang Dipindah */
#modal-barcode {
    min-height: 100vh;
}

#modal-barcode .card .qrcode-scan {
    display: flex;
    justify-content: center;
    min-height: 50vh;
    background: #f0f0f0;
}

#modal-barcode .qrcode-scan svg {
    fill: #b9b9b9;
    width: 25%;
}

#modal-barcode .card .card-body img {
    width: 25%;
}

#modal-barcode .show {
    display: flex !important;
    align-items: center;
}

#modal-barcode .card-body .qrcode-close-btn {
    border: none;
    background: var(--pink);
    border-radius: 10rem;
}

#modal-barcode .card-body .qrcode-close-btn:hover {
    border: none;
    background: #69173b;
    border-radius: 10rem;
}

#modal-barcode .card-body .qrcode-close-btn i {
    color: white;
}
/* END */

/* Media Query */
/* Extra large */
@media(max-width: 1200px) {
    .home .heart {
        transform: translateX(-50%) translateY(45px);
    }
}

/*  laptop */
@media(max-width: 992px) {
   html {
    font-size: 75%;
   }
   .simply-countdown>.simply-section {
    padding: 70px;   
   }

   .home .heart {
    display: none;
   }

   .timeline::before {
    left: 60px;
   }

   .timeline li .timeline-image {
    left: 15px;
    margin-left: 45px;
    top: 16px;
   }

   .timeline li .timeline-panel {
    width: calc((100% - 200px));
    float: right;
   }

   .timeline li .timeline-panel::before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
   }

   .timeline li .timeline-panel::after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -13px;
    right: auto;
   }

}


/*  tablet */
@media(max-width: 768px) {
    html {
     font-size: 65%;
    }
    .simply-countdown>.simply-section {
      padding: 60px;
      margin: 5px;
    }

    .mynavbar .nav-link {
        font-size: 2rem;
        text-align: center;
     }

    .sticky-top {
        overflow: hidden;
    }

    .timeline li .timeline-image {
        width: 140px;
        height: 140px;
    }
}


/*  mobile phone */
@media(max-width: 576px) {
    html {
     font-size: 70%;
    }

    .hero main {
        padding: 4rem;
    }

    .simply-countdown>.simply-section {
        padding: 30px;
        margin: 3px;
    }

    .timeline li .timeline-image {
        width: 80px;
        height: 80px;
    }

    .timeline li .timeline-panel {
        width: 65%;
        transform: translateX(-20px);
    }

    .timeline li .timeline-panel::before {
        top: 30px;
    }

    .timeline li .timeline-panel::after{
        top: 31px;
    }

    /* Part Yang di Pindah */
    .modal .card .qrcode-scan {
        min-height: 25vh;
    }
    
    .modal .card .card-body img {
        width: 50%;
    }
    /* END */
  }
    