@font-face {
    font-family: "Coffee Signs";
    font-style: normal;
    font-weight: normal;
    src: local("Coffee Signs"), url("../fonts/CoffeeSigns.woff") format("woff");
}
@font-face {
    font-family: "Photoshoot";
    font-style: normal;
    font-weight: normal;
    src: local("Photoshoot"), url("../fonts/Photoshoot.woff") format("woff");
}
@font-face {
    font-family: "Saudagar";
    font-style: normal;
    font-weight: normal;
    src: local("Saudagar"), url("../fonts/Saudagar.woff") format("woff");
}
@font-face {
    font-family: "Harabara Bold";
    font-style: normal;
    font-weight: normal;
    src: local("Harabara Bold"), url("../fonts/Harabara.woff") format("woff");
}
@font-face {
    font-family: "Gilroy Medium";
    font-style: normal;
    font-weight: normal;
    src: local("Gilroy Medium"),
        url("../fonts/Gilroy-medium.ttf") format("truetype");
}
@font-face {
    font-family: "Gilroy Regular";
    font-style: normal;
    font-weight: normal;
    src: local("Gilroy Regular"),
        url("../fonts/Gilroy-regular.ttf") format("truetype");
}

html {
    max-width: 575px;
    margin: auto;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
}

body {
    overflow-x: hidden;
}

/* COMMON */
.header {
    color: #8b5f56;
    font-family: "Photoshoot";
    font-size: 25px;
}
.circle-1 {
    position: absolute;
    bottom: -100px;
    z-index: -1;
    width: 400px;
    left: -200px;
}
.circle-2 {
    position: absolute;
    width: 900px;
    right: -500px;
    top: 250px;
    z-index: -1;
}
.circle-3 {
    position: absolute;
    width: 700px;
    left: -350px;
}
.circle-4 {
    position: absolute;
    width: 700px;
    right: -350px;
}
#main-content {
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out 1s;
}
#main-content.open {
    opacity: 1;
    visibility: visible;
}
#audio {
    opacity: 0;
    visibility: hidden;
}

/* OPENING */
#opening {
    /* position: absolute; */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transition: all ease-in-out 1s;
    height: 100vh;
}
#opening .overlay {
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    color: #fff;
    padding: 20px 50px 100px;
}
#opening .logo {
    width: 25px;
    margin-bottom: 10px;
}
#opening .top {
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 2px;
    font-family: "Times New Romans", sans-serif;
}
#opening .name {
    font-size: 40px;
    letter-spacing: 2px;
    font-family: "Photoshoot";
    line-height: 2.5;
}
#opening .text {
    font-size: 12px;
}
#opening .and {
    font-size: 30px;
    line-height: 1;
}
#opening .bottom {
    font-size: 20px;
    padding: 0 30px;
    letter-spacing: 2px;
}
#opening .undangan {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid;
    border-radius: 10px;
    margin: 5px 0;
}
#opening .btn-container {
    margin: 10px 0 !important;
}
#opening .btn-open {
    color: #8b5f56;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 30px;
    font-size: 15px;
}
#opening.open {
    height: 0;
    visibility: hidden;
    opacity: 0;
}

/* NAVBAR */
#navbar {
    width: 100%;
    max-width: 575px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    background: #6f4942;
    align-items: center;
    /* padding: 15px 0; */
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    position: fixed;
    bottom: 0;
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out 1s;
}
#navbar.open {
    opacity: 1;
    visibility: visible;
}
#navbar .icon-container {
    height: 60px;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: all ease-in-out 0.2s;
    position: relative;
}
#navbar .icon-container a {
    position: relative;
}
#navbar .icon-container.active {
    background-color: #bc2f12;
}
#navbar .icon-container:first-child {
    border-top-left-radius: 15px;
}
#navbar .icon-container:last-child {
    border-top-right-radius: 15px;
}
#navbar .icon {
    /* width: 25px; */
}

/* SLIDER */
#slider {
    padding-bottom: 70px;
    position: relative;
    overflow-x: clip;
}
#slider .owl-item {
    /* height: 900px; */
}
#slider .img-slider-container {
    height: 100%;
}
#slider .img-slider {
    height: auto;
    width: 100%;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}
#slider .owl-dots {
    text-align: center;
    padding-top: 0px;
    position: absolute;
    bottom: 20px;
    width: 100%;
}
#slider .owl-dots button.owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    background: rgba(255, 255, 255, 0.7);
    margin: 0 8px;
    transition: all ease-in-out 0.2s;
}
#slider .owl-dots button.owl-dot.active {
    width: 50px;
    border-radius: 10px;
}
#slider .owl-dots button.owl-dot:focus {
    outline: none;
}

/* PEMBUKA */
#pembuka {
    padding: 50px 3rem;
    position: relative;
    overflow-x: clip;
}
#pembuka .text-container {
    background: #eee8dc;
    padding: 50px 3rem;
    border-radius: 20px;
    text-align: center;
    font-size: 18px;
    line-height: 2;
    color: #8b5f56;
    font-family: "Gilroy Medium", sans-serif;
}

/* PENGANTIN */
#pengantin {
    position: relative;
    overflow-x: clip;
    padding: 50px 0;
}
#pengantin .pengantin-inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    margin: 0 30px;
    position: relative;
}
#pengantin .pengantin-name {
    font-family: "Harabara Bold";
    font-size: 30px;
    padding: 25px 5rem;
    text-align: center;
    color: #8b5f56;
    letter-spacing: 3px;
    line-height: 1.2;
}
#pengantin .pengantin-img {
    background-color: rgba(175, 135, 126, 0.4);
    border-radius: 100%;
    height: 300px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#pengantin .pengantin-img img {
    width: 90%;
    border-radius: 100%;
}
#pengantin .pengantin-desc {
    text-align: center;
    font-size: 18px;
    color: #8b5f56;
}
#pengantin .pengantin-social {
    align-items: center;
    justify-content: center;
    display: flex;
    position: absolute;
    flex-direction: column;
    left: 0;
}
#pengantin .pengantin-social a {
    color: #fff;
    display: block;
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    margin: 5px;
    align-items: center;
    justify-content: center;
    display: flex;
    text-decoration: none;
    background-color: #8b5f56;
}
#pengantin .pengantin-social a i {
    font-size: 25px;
}
#pengantin .pengantin-social a:hover {
    background-color: #fff;
    color: #8b5f56;
}
#pengantin .and {
    font-size: 60px;
    color: #8b5f56;
    text-align: center;
}

/* ACARA */
#acara {
    text-align: center;
    padding: 50px 0px;
    position: relative;
    overflow-x: clip;
}
#acara .inner {
    padding: 0 30px;
}
#acara .paragraf {
    font-family: "Gilroy Medium", sans-serif;
    font-size: 18px;
    padding: 30px 3rem;
    color: #8b5f56;
}
#acara .time {
    font-family: "Harabara Bold";
    font-size: 45px;
    color: #445159;
    letter-spacing: 2px;
}
#acara .time-inner {
    font-size: 25px;
}
#acara .countdown {
    display: flex;
    justify-content: center;
    padding: 50px 0px;
}
#acara .box-count {
    margin: 0 10px;
    border-radius: 10px;
}
#acara .box-count .value {
    background-color: #eee8dc;
    padding: 12px;
    font-size: 30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#acara .box-count .text {
    background-color: #8b5f56;
    color: #fff;
    padding: 5px 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
#acara .location {
    font-size: 25px;
    color: #8b5f56;
}
#acara .btn-location {
    padding: 20px 30px;
    background-color: #8b5f56;
    color: #fff;
    border-radius: 20px;
}
#acara .btn-covid {
    padding: 20px 30px;
    background-color: #bc2f12;
    color: #fff;
    border-radius: 20px;
}
#acara .img-om-1 {
    width: 100%;
    max-width: 300px;
}
#acara .img-om-2 {
    width: 100%;
    max-width: 400px;
}

/* DIGITAL ENVELOPE  */
#digital-envelope {
    margin-top: 3rem;
    padding: 50px 0px 0px;
    position: relative;
    overflow-x: clip;
}
#digital-envelope .box {
    border: 1px solid #2f2f2f;
    max-width: 300px;
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 30px 10px;
    position: relative;
}
#digital-envelope .inner {
    padding: 0 30px;
}
#digital-envelope .paragraf {
    font-family: "Gilroy Medium", sans-serif;
    font-size: 18px;
    padding: 0 3rem;
    color: #8b5f56;
}
#digital-envelope .btn-envelope {
    background: #8b5f56;
    color: white;
    padding: 10px 40px;
    border-radius: 15px;
}

#modal-envelope .modal-body {
    background-color: #eee8dc;
    /* background-image: url("../icon/bg.svg"); */
    padding: 1rem 2rem;
}
#modal-envelope .btn-copy {
    background-color: #8b5f56;
    color: white;
    padding: 10px 40px;
    border-radius: 15px;
}

/* ADDITIONAL */
#additional {
    margin-top: 50px;
    padding: 50px 30px 0px;
    position: relative;
    overflow-x: clip;
}
#additional .box {
    background-color: #eee8dc;
    max-width: 300px;
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 30px 10px 10px;
    border-radius: 15px;
}
#additional .title {
    font-family: "Gilroy Medium", sans-serif;
    font-size: 25px;
    color: #8b5f56;
}
#additional .custom-border {
    height: 2px;
    width: 100%;
    background-color: #8b5f56;
    margin: 20px auto;
    padding: 0 10px;
    max-width: 80%;
}
#additional .time {
    font-size: 22px;
    color: #8b5f56;
}
#additional .time-inner {
    font-size: 15px;
    margin-top: 10px;
}
#additional .location-inner {
    font-size: 15px;
}
#additional .btn-location {
    margin-top: 15px;
    width: 100%;
    padding: 15px;
    background-color: #8b5f56;
    color: #fff;
    border-radius: 10px;
}

/* GALERI */
#galeri {
    padding: 50px 30px;
}
#galeri .img-gallery {
    padding: 5px;
}
#galeri .img-gallery img {
    border-radius: 15px;
}
#galeri .video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
}
#galeri .responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 10px;
    border-radius: 25px;
}

/* LIVE */
#live {
    padding: 50px 30px;
    /* background-color: #EEE8DC; */
}
#live .video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
}
#live .responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 10px;
    border-radius: 25px;
}
#live .btn-live {
    width: 70%;
    padding: 20px 30px;
    background-color: #8b5f56;
    color: #fff;
    border-radius: 15px;
}

/* KONFIRMASI */
#konfirmasi {
    padding: 50px 30px;
}
#konfirmasi .form-control {
    background-color: #eee8dc;
}
#konfirmasi .form-control:focus {
    border-color: #eee8dc;
    box-shadow: 0 0 0 0.2rem rgba(175, 135, 126, 0.5);
}
#konfirmasi .custom-control-label {
    color: #8b5f56;
}
#konfirmasi .custom-control-label::before {
    border: 2px solid #8b5f56;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #eee8dc;
}
#konfirmasi .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #8b5f56;
    border-color: #8b5f56;
}
#konfirmasi .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(175, 135, 126, 0.5);
}
#konfirmasi .custom-control-label::after {
    top: 0.35rem;
    left: -1.37rem;
}
#konfirmasi .btn-submit {
    width: 100%;
    max-width: 250px;
    padding: 20px;
    background-color: #8b5f56;
    color: #fff;
    border-radius: 20px;
}

/* COMMENT */
#comment {
    padding: 50px 30px;
    color: #8b5f56;
}
#comment .box {
    background-color: #eee8dc;
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 10px;
}
#comment .box:nth-child(2n + 1) {
    text-align: left;
}
#comment .box:nth-child(2n) {
    text-align: right;
}
#comment .box:nth-child(2n + 1) .text {
    border-left: 2px solid #8b5f56;
    padding: 5px 5px 5px 20px;
}
#comment .box:nth-child(2n) .text {
    border-right: 2px solid #8b5f56;
    padding: 5px 20px 5px 5px;
}
#comment .title {
    font-size: 20px;
}

/* FOOTER */
#footer {
    padding-bottom: 100px;
    color: #8b5f56;
}
#footer .footer-social {
    align-items: center;
    justify-content: center;
    display: flex;
}
#footer .footer-social a {
    color: #8b5f56;
    display: block;
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    margin: 5px;
    align-items: center;
    justify-content: center;
    display: flex;
    text-decoration: none;
}
#footer .footer-social a i {
    font-size: 25px;
}
#footer .copyright a {
    color: #8b5f56;
}

@media screen and (max-width: 426px) {
    .header {
        font-size: 20px;
    }
    .circle-1 {
        bottom: -200px;
    }
    .circle-2 {
        width: 800px;
    }
    .circle-3 {
        width: 500px;
        left: -250px;
    }
    .header h1 {
        font-size: 2rem;
    }
    #opening .top {
        font-size: 12px;
    }
    #opening .bottom {
        font-size: 12px;
        padding: 0;
    }
    #opening .name {
        font-size: 28px;
    }
    #opening .btn-container {
        margin: 20px 0 !important;
    }
    #opening .btn-open {
        font-size: 12px;
    }
    #opening .undangan {
        height: 50px;
    }
    #slider .owl-dots button.owl-dot {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
    #slider .owl-dots button.owl-dot.active {
        width: 30px;
        border-radius: 10px;
    }
    #pembuka {
        padding: 0 2rem 50px;
    }
    #pengantin .pengantin-img {
        width: 250px;
        height: 250px;
    }
    #pengantin .pengantin-name {
        font-size: 25px;
        padding: 25px 3rem;
    }
    #pengantin .pengantin-social a {
        width: 25px;
        height: 25px;
    }
    #pengantin .pengantin-social a i {
        font-size: 10px;
    }
    #pengantin .and {
        font-size: 35px;
    }
    #pengantin .pengantin-desc {
        font-size: 16px;
    }
    #acara .paragraf {
        font-size: 18px;
        padding: 30px 1rem;
    }
    #acara .time {
        font-size: 30px;
    }
    #acara .img-om-1 {
        max-width: 150px;
    }
    #acara .img-om-2 {
        max-width: 200px;
    }
    #digital-envelope .paragraf {
        font-size: 18px;
        padding: 0 1rem;
    }
    #additional .title {
        font-size: 20px;
    }
    #additional .time {
        font-size: 15px;
    }
    #additional .time-inner {
        font-size: 12px;
    }
    #additional .location-inner {
        font-size: 12px;
    }
    #comment .text {
        font-size: 15px;
    }
}

@media screen and (max-width: 376px) {
    .circle-1 {
        width: 300px;
        bottom: -100px;
    }
    .circle-2 {
        width: 700px;
        top: 150px;
    }
    .circle-3 {
        width: 300px;
        left: -150px;
    }
    .circle-4 {
        width: 500px;
        right: -250px;
    }
    .header h1 {
        font-size: 1.75rem;
    }
    #opening .bottom {
        padding: 0;
    }
    #opening .btn-open {
        font-size: 12px;
    }
    #pembuka .text-container {
        font-size: 12px;
    }
    #pengantin .pengantin-img {
        width: 200px;
        height: 200px;
    }
    #pengantin .pengantin-name {
        font-size: 20px;
        padding: 20px 0;
    }
    #pengantin .pengantin-desc {
        font-size: 15px;
    }
    #acara .paragraf {
        font-size: 18px;
    }
    #acara .location {
        font-size: 20px;
    }
    #acara .btn-location {
        font-size: 16px;
    }
    #acara .btn-covid {
        font-size: 16px;
    }
    #additional .title {
        font-size: 18px;
    }
    #additional .time-inner {
        font-size: 10px;
    }
    #additional .location-inner {
        font-size: 10px;
    }
    #konfirmasi .custom-control:not(:first-child) {
        margin-left: 1rem !important;
    }
    #konfirmasi .btn-submit {
        font-size: 16px;
    }
}
