:root {

    --orange: #FF9148;
    ;
    --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: 2000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url(img/bg.jpg) ; 
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: ;
}

.hero {
    position: relative;
    min-height: 100vh;
    /* background-color: var(--bg); */
}


.hero h1 {
    font-family: "Garamond";
    font-size: 290%;
    color: #FF9148;
    text-shadow: var(--shadow);
}

.hero h2 {
    text-shadow: var(--shadow);
    font-family: "Noto Naskh Arabic", serif;
}

.hero h4 {
    font-size: 1.4rem;
    text-shadow: var(--shadow);
    margin-top: 10;
}

.hero h6 {
    font-size: 0.9rem;
    text-shadow: var(--shadow);
    margin-top: 10;
}

.hero p {
    text-shadow: var(--shadow);
}

.hero a {
    color: var(--orange);
    background-color: whitesmoke;
    box-shadow: var(--shadow);
    
}

.hero a:hover {
    background-color: var(--orange);
    color: whitesmoke;
}


.mynavbar {
background-color: rgba(255, 255, 255, 0.3) !important;
backdrop-filter: blur(3px);
}

.mynavbar .offcanvas{
    height: 100vh;
}

.mynavbar .navbar-brand,
.mynavbar .offcanvas-title {
    font-weight: bold;
}

.mynavbar .nav-link {
    font font-weight: 400;
    text-transform: uppercase;
}

.home {
    background-image: url(img/bg.png);
    background-size: cover;
    min-height: 100vh;
    margin-top: -3.8rem;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.info {
    padding-top: 4rem;
    padding-bottom: 5rem;
    margin-top: -3.8rem;
}

.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: #FF9148;
    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;
    padding: 2rem;
    border: 1px solid #FF9148;
    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 #FF9148;
    border-right: 0 solid #FF9148;
    border-bottom: 15px solid transparent;
    top: 70px;
    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: 71px;
    right: -13px;
}

.timeline li.timeline-kebalikan .timeline-panel {
    
    float: right;
}

.timeline li.timeline-kebalikan .timeline-panel::before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline li.timeline-kebalikan .timeline-panel::after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -13px;
    right: auto;
}

.rsvp {
    background-color: var(--bg);
}

.rsvp h2 {
    font-size: 3.5rem;
    color: #fff;

}

.rsvp p {
    color: white;
}

.rsvp form label {
    color: #fff;
}


.rsvp button {
    background-color: var(--orange);
    color: #fff;
    border: 1px solid var(--orange);
}

.rsvp button:hover {
    background-color: white;
    color: var(--orange);
    background-color: white;
}

/* media query */
/* laptop */
@media (max-width : 992px){
    html {
        font-size: 85%;
    }

    .timeline::before {
        left: 60px;
    }

    .timeline li .timeline-image {
        left: 15px;
        margin-left: 45px;
        top: 16px;
    }

    .timeline li .timeline-panel{
        width: calc((100%-200%));
        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: 75%;
    }
    .mynavbar .nav-link {
        font-size: 2rem;
        text-align: center;
    }

    .sticky-top{
        overflow: hidden;
    }

    .timeline li .timeline-image {
        width: 100px;
        height: 100px;
    }
}
/* HP */
@media (max-width : 576px){
    html {
        font-size: 65%;
    }

    .timeline li .timeline-image {
        width: 90px;
        height: 90px;
    }

    .timeline li .timeline-panel {
        width: 65%;
        transform: translateX(-20px);
    }

    .timeline li .timeline-panel::before {
        top: 30px;

    }

    .timeline li  .timeline-panel::after {
        top: 31px;

    }
}