:root {

    --gold: #dfbf5f;
    --bg: #0a0a00;
    --shadow: 0 2px 2px rgb(0, 0, 0, / 0.5);

}

body {
    font-size: 1.2rem;
    font-family: 'Work Sans', serif;
    min-height: 4000px;
}

.hero ::before {

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(bg1jpg.jpg);
    z-index: -1;
    /* filter: grayscale(); */
    background-size: cover;
    background-position: center;

}

.hero{
    position: relative;
    min-height: 100vh;
    /* background-color: var(--bg); */
}

.hero h1, .hero h4, .hero p {
    text-shadow: var(--shadow);
}

.hero h4{
    /* background-color: rgb(0, 0, 0); */
    color: var(--gold);
    border-radius: 10px;
    /* font-size: 2rem; */
}

.hero p{
    /* background-color: rgb(17, 16, 16); */
    border-radius: 10px;
    color: var(--gold);
}

.hero h1 {
    font-family: "Carattere", cursive;
    font-size: 6rem;
    color: var(--gold);
    
}




.hero a{
    color: var(--gold);
    background-color: rgb(11, 11, 11);
}

.hero a:hover{
    background-color: var(--gold);
    color: rgb(7, 7, 7);

}

@keyframes sway {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
  }
  
  .img-intro {
    animation: sway 3s infinite;
  }




.mynavbar {
    background-color: rgba(237, 215, 118, 0.4) !important;
    backdrop-filter: blur(3px);
}


/* .mynavbar .offcanvas {
    height: 100vh;
} */

.mynavbar .navbar-brand, 
.mynavbar .offcanvas-title {
        font-family: "Goudy Bookletter 1911", serif;  
        font-size: 2rem;     
}

.mynavbar .nav-link {
    text-transform: uppercase;
    
}

.home{
    background-image: url(bg3jpg.jpg);
    background-size: cover;
    min-height: 100vh;
    margin-top: -4rem;
    padding-top: 9rem;
    padding-bottom: 5rem;
    background-position: center;
}

.home h2{
    color: var(--pink);
    font-family: "Goudy Bookletter 1911", serif;
    font-size: 5rem;
    font-weight: bold;
}

.home h3{
    color: #000000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.home p{
    color: #000000;
    font-size: 1.1rem;
}

.home .couple{
    margin-top: 100px;

}

.home .couple h3{
    font-family: "Carattere", cursive;
    font-size: 2.4rem;
    color: var(--pink);
}

.home .couple img {
    width: 100%;
}

.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: rgb(223, 112, 130);
}

/* info */
.info{
    background-image: url(bg4jpg.jpg);
    color: white;
    padding-top: 8rem;
    padding-bottom: 6rem;
    background-position: center;
    background-size: cover;
}

.info h2{
    color: var(--gold);
    font-family: "Goudy Bookletter 1911", serif;
    font-size: 5rem;
    font-weight: bold;

}

.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: 1rem;
    font-weight: 0.9rem;
}

.info h3{
    text-align: center;
}

.info .countdown{

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    font-family: 'Work Sans', serif;
}

.info .countdown div{
  width: 100px;
  height: 65px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
  margin: 10px;
  background: var(--gold);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 20rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
    
}


.info .countdown div h2{
    display: flex;
    flex-direction: column;
    line-height: 1;
    align-items: center;
    color: #000;
    font-family: 'Work Sans', serif;
    font-weight: bold;
    font-size: 2rem;
}

.info .countdown div small {
    font-size: 0.6rem;
    font-weight: 500;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Story */

.story{
    padding-top: 10rem;
    padding-bottom: 8rem;
    background-image: url(bg3jpg.jpg);
    background-size: cover;
    background-position: center;
}

.story span {
    text-transform: uppercase;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.story h2{
    color: #aa8105;
    font-family: "Goudy Bookletter 1911", serif;
    font-size: 5rem;
    font-weight: bold;
}

.story 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%;
    border-radius: 50%;
    transform: translateX(-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: 5px;
    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: 70px;
    right: -15px;
}

.timeline li .timeline-panel::after{
    content: '';
    display: inline-block;
    position: absolute;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 15px solid transparent;
    top: 71px;
    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 */

.gallery{
    padding-top: 10rem;
    padding-bottom: 8rem;
    background-image: url(bg5jpg.jpg);
    background-size: cover;
    background-position: center;
}

.gallery span {
    text-transform: uppercase;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.gallery p{
    font-size: 1rem;
    font-weight: 300;
}


.gallery h2{
    color: var(--pink);
    font-family: "Goudy Bookletter 1911", serif;
    font-size: 5rem;
    font-weight: bold;
}

/* rsvp */

.rsvp{
    padding-top: 10rem;
    padding-bottom: 8rem;
    background-image: url(bg4jpg.jpg);
    background-size: cover;
    background-position: center;
}

.rsvp h2{
    color: var(--gold);
    font-family: "Goudy Bookletter 1911", serif;
    font-size: 4.5rem;
    font-weight: bold;
}

.rsvp p{
    font-size: 1rem;
    font-weight: 300;
    color: white;
}

.rsvp form label {
    color: white;
}


.rsvp button {
    background-color: var(--gold);
    color: white;
    border: 1px solid var(--gold);
}

.rsvp button:hover{
    background-color: white;
    color: var(--gold);
    border: 1px solid white;
}

.rsvp h1 {
    color: var(--gold);
    text-align: center;
    margin-bottom: 10px;
    font-family:"Goudy Bookletter 1911", serif;
}
.subtitle {
    text-align: center;
    color: #fffefe;
    margin-bottom: 30px;
}
.comment-count {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}
.comment-form {
    /* background: white; */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
}
input[type="text"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}
textarea {
    min-height: 100px;
    resize: vertical;
}
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #45a049;
}
.comments-container {
    margin-top: 30px;
    border: 1px solid #e0e0e0;
}
.comment {
    
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: relative;
}
.comment-author {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--gold)
}
.comment-text {
    margin-bottom: 10px;
    color: #ffffff;
    white-space: pre-wrap;
}
.comment-date {
    font-size: 12px;
    color: #999;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.pagination button {
    margin: 0 5px;
    background-color: #f1f1f1;
    color: black;
}
.pagination button.active {
    background-color: #4CAF50;
    color: white;
}
/* gifts */

.gifts {
    padding-top: 10rem;
    padding-bottom: 8rem;
}

.gifts h2{
    color: var(--gold);
    font-family: "Goudy Bookletter 1911", serif;
    font-size: 4.5rem;
    font-weight: bold;
}

.gifts span{
    text-transform: uppercase;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.gifts p{
    font-size: 1rem;
    font-weight: 300;
    color: var(--bg);
}

/* footer */
footer {
    padding: 3rem;
    background-color: var(--gold);
    color: white;
}

footer a{
    text-decoration: none;
    color: var(--bg);
    font-weight: bold;
}

footer a:hover{
    color: white;
}

footer ul li {
    display: inline;
    list-style: none;
}

/* audio */
.audio-icon-wrapper {
    width: 4rem;
    height: 4rem;
    font-size: 4rem;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    cursor: pointer;
    color: white;
    opacity: 0.5px;
    mix-blend-mode: difference;
    animation: rotating 4s linear infinite;
    transform-origin: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;

}

@keyframes rotating {
    from{
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

/* resposive */

@media (max-width : 1200px){
    .home .heart{
        transform: translateX(-50%) translateY(45px);
    }
    .mynavbar .nav-link {
        font-size: 1.2rem;
        text-align: center;

    }
    
}

  @media (max-width : 992px ) {
        html {
            font-size: 75%;
        }
        .hero ::before {
            background-repeat: no-repeat;
        }
        .countdown div{
            padding: 30px;
        }


  }


  @media (max-width : 768px) {
        html {
            font-size: 70%;
          
        }

        .hero p{
            font-size: 2rem;
        }

        .hero h1{
            font-size: 3rem;
        }
        
        #countdown{
            margin-top: 15px;
        }

        #countdown div{
            padding: 20px;
            margin: 5px;
            width: 60px;
        }

        .info h3{
            margin-top: 5px;
        }

        .mynavbar .nav-link {
            font-size: 1.5rem;
            text-align: center;

        }

        .home .heart{
            display: none;
        }

        .timeline::before{
            left: 60px;
        }

        .timeline li .timeline-image{
            left: 15px;
            margin-left: 45px;
            top: 16px;
            width: 130px;
            height: 130px;
        }

        .timeline li .timeline-panel{
            /* width: calc(100%-200%) ; */
            width: 70%;
            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;
        }

        .hero img{
            width: 100%;
            height: auto;
        }

        #hero .img-intro{
            width: 100px;
            padding: 10px
        }

  }


  @media (max-width : 576px) {
        html{
            font-size: 60%;
        }

       
        .countdown div {
            padding: 15px;
            width: 50px;
            margin: 3px;
        }
        .mynavbar{
            backdrop-filter: none;
        }

        .timeline li .timeline-image{
           
            width: 80px;
            height: 80px;
        }

        .timeline li .timeline-panel{
            width: 50%;
            transform: translateX(-20px);
        }

        .timeline li .timeline-panel::before{
            top: 30px;
        }

        .timeline li .timeline-panel::after{
            top: 31px;
        }
  }
