: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/bg.jpeg);
    background-size: cover;
    background-position: center;

    z-index: -1;
    /* filter: grayscale(); */
    /* grascale = hitamputih sepia kunig*/
}

.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;
    font-weight: bold;
}
.hero h4 {
    font-size: 1.6rem;
}

.hero p {
 font-size: 1.4rem;
}

.hero a {
    color:  black;
    background-color: white;
    box-shadow: var(--shadow);
}
.hero a:hover {
    background-color: black;
    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 ;
}

.home1,
.rsvp{
    background-image: url(img/bg32.jpeg);
    background-size: cover;
    min-height: 100vh;
    margin-top: -6rem;
    padding-top: 8rem;
    padding-bottom: 5rem;
}
.home1 p,
.akhir p{
    font-size: 1.4rem;
    color: #666;
    font-weight: 600;
}
.home1 h3 ,
.akhir h3{
    color: #444;
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.home1 img {
    width: 400px;
    height: 550px;
    /* width: 50%; */
    border-radius: 100%;
    overflow: hidden;
    border: 5px solid white;
    margin: 50px auto;
    box-shadow: 0 4px 15px rgb(0, 0, 0, 0.2);
    /* clip-path: ellipse(80% 70% at 50% 50%); */
    
}
.akhir img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    /* Membuat bentuk elips */
    clip-path: rect(5px 300px 400px 5px round 27%);
    overflow: hidden;
    box-shadow: 0 4px 15px rgb(0, 0, 0, 0.2);
    /* border-radius: 50%; */
    /* border: 2px solid white; */
}
.akhir{
    background-image: url(img/bg32.jpeg);
    background-size: cover;
    min-height: 100vh;
    margin-top: -6rem;
    padding-top: 8rem;
    padding-bottom: 5rem;
}
.akhir h1{
     font-family: "Sacramento", cursive;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: var(--shadow);
}

.home{
    background-image: url(img/bgn5.jpeg);
    background-size: cover;
    min-height: 100vh;
    margin-top: -6rem;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.home h2, 
.story h2,
.gallery h2,
.info h2,
.gifts h2{
  color: black;
  font-family: "Alex Brush", cursive;
  font-weight: 500;
  font-size: 3rem;
  font-style: normal;
}
.rsvp h2{
  color:black;
  font-family: "Alex Brush", cursive;
  font-weight: 500;
  font-size: 3rem;
  font-style: normal;
}

.home h3 {
    color: #444;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.home h1,
.gifts h1 {
    font-size: 1.1rem;
    color: #151515;
    margin-right: 50px;
    margin-left: 50px;
}

.home p {
    font-size: 1.1rem;
    color:#151515;

}
.home .couple{
    margin-top: 40px;
}
.home .couple h3{
    font-family: "Alex Brush";
    font-size: 2.4rem;
    color: black;
}

.home .couple img {
    width: 100%;
}

.home .heart {
    width: 45px;
    height: 45px;
    background-color:white;
    display: flex;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(245, 241, 241, 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: black;
    padding-top: 10rem;
    padding-bottom: 8rem;
}
.info{
    background-image: url(img/bgn.jpeg);
    background-size: cover;
    min-height: 100vh;
    margin-top: -6rem;
    padding-top: 8rem;
    padding-bottom: 5rem;
}
.story{
    background-image: url(img/bgn2.jpeg);
    background-size: cover;
    min-height: 100vh;
    margin-top: -6rem;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.info h3{
    font-size: 1.1rem;
    
    color:black;
}
.info .alamat{
    font-size: 1.1rem;
}
.info .description{
    font-size: 1.1rem;
    font-weight: 300;
}
.info .card{
    background-color: rgba(255,255, 255, 0.2) !important;
    color:black !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,
.rsvp,
.gifts{
    padding-top: 10rem;
    padding-bottom: 8rem;
}
.story span,
.gallery span,
.gifts span{
    text-transform: uppercase;
    color:black;
    font-size: 0.9rem;
    display: block;
    letter-spacing: 1px;
}
.story p,
.gallery p,
.rsvp p ,
.gifts p{
    font-size: 1.5rem;
    font-weight: 300;
    color: #0a0a0a;
}

.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: #666;
    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: white;
}
.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 white;
    border-right: 0 solid white;
    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 {
    background-color: var(--bg);
}
.rsvp h2{
    font-size: 4.5rem ;
}
.rsvp p{
    margin-top: 2;
    font-size: 1.3rem ;
    color:black;
}
.rsvp form label{
     color:black;
}
.rsvp button{
    background-color: white;
    color: black;
    border: 1px solid white;
}
.rsvp button:hover{
    background-color: white;
    color:black;
    border: 1px solid white;
}

.gifts{
    background-image: url(img/bgn5.jpeg);
    background-size: cover;
    min-height: 100vh;
    margin-top: -6rem;
    padding-top: 8rem;
    padding-bottom: 5rem;

}

footer{
    padding: 3rem;
    background-color:#D2B48C;
    color: black;
}
footer a{
    color: var(--bg);
    font-weight: bold;
    text-decoration: none;
}
footer a:hover{
    color: white;
}
footer li{
    list-style: none;
    display: inline;
    margin: 0.5rem;
}

.audio-icon-wrapper{
    width: 4rem;
    height: 4rem;
    font-size: 4rem;
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    cursor: pointer;
    color: white;
    opacity: 0.5;
    mix-blend-mode: difference ;
    animation: rotating 4s linear infinite;
    tranform-origin: center;
    display: flex;
    justify-content:center ;
    align-items: center;
    line-height: 0;
}
@keyframes rotating{
    form{
        transform: rotate();
    }
    to{
        transform: rotate(360deg);
    }
}


/* 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;
    }
    .timeline li .timeline-image{
    width: 140px;
    height: 140px;
}


}
/*mobile phone*/
@media (max-width :576px){
    html{
        font-size: 60%;
    }
    .simply-countdown > .simply-section{
        padding: 45px;
        margin: 3px;
    }
     .timeline li .timeline-image{
    width: 80px;
    height: 80px;
}
    .timeline lit .timeline-panel{
        width: 70%;
        transform: translateX(-20px);
    }
    .timeline li .timeline-panel::before{
        top: 30px;
    }
    .timeline li .timeline-panel::after{
        top: 31px;
    }

}