/*============================================
==> Animation CSS
============================================*/
@keyframes onplay {
    0% {
        background-color: var(--primary-color);
        color: #FFFFFF;
        border: 1px solid #FFFFFF;
    }

    100% {
        background-color: #FFFFFF;
        color: var(--secondary-color);
        border: 1px solid var(--primary-color);
    }
}

@-webkit-keyframe onplay {
    0% {
        background-color: var(--primary-color);
        color: #FFFFFF;
        border: 1px solid #FFFFFF;
    }

    100% {
        background-color: #FFFFFF;
        color: var(--secondary-color);
        border: 1px solid var(--primary-color);
    }
}

@keyframes swing1 {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}

@-webkit-keyframe swing1 {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}

/*============================================
==> Preloader CSS
============================================*/
.js-preloader {
    z-index: 9999999;
}

.js-preloader .preloader-inner .dot {
    background: var(--secondary-color);
}

.js-preloader .preloader-inner .dots span {
    background: var(--primary-color);
}

/*============================================
==> jsCalendar CSS
============================================*/
.jsCalendar table {
    font-family: Cinzel;
    font-weight: 600;
    width: 100%;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
}

.jsCalendar table thead .jsCalendar-week-days th,
.jsCalendar table tbody td {
    font-size: 15px !important;
}

.jsCalendar table thead {
    padding: 10px 4px;
    margin: 0px;
    border-radius: 0px 0px 20px 20px
}

.jsCalendar table thead tr {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.jsCalendar table thead .jsCalendar-title {
    width: 100%;
}

.jsCalendar table thead .jsCalendar-nav-left,
.jsCalendar table thead .jsCalendar-nav-right {
    font-size: 22px;
    height: auto;
    width: auto;
    padding: 10px;
}

.jsCalendar thead .jsCalendar-nav-left:hover,
.jsCalendar thead .jsCalendar-nav-right:hover {
    background-color: var(--primary-color);
}

.jsCalendar thead .jsCalendar-title {
    height: auto;
}

.jsCalendar thead .jsCalendar-title-name {
    padding: 10px 20px;
}

.jsCalendartable tbody tbody {
    padding: 15px 0px;
    margin: 0;
}

.jsCalendar table tbody tr {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.jsCalendar table tbody td.jsCalendar-current {
    background-color: var(--primary-color);
    border-radius: 8px;
    color: #FFFFFF;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}


/*============================================
==> Sweetalert CSS
============================================*/

.swal2-container {
    z-index: 99999999 !important;
}

/*============================================
==> Font CSS
============================================*/
@font-face {
    font-family: Cinzel;
    src: url("../../../assets/fonts/Cinzel/Cinzel-Regular.ttf");
}

@font-face {
    font-family: GreatVibes;
    src: url("../../../assets/fonts/GreatVibes/GreatVibes-Regular.ttf");
}

@font-face {
    font-family: Meritta;
    src: url("../../../assets/fonts/Meritta/MerittaSerif.ttf");
}

@font-face {
    font-family: Caveat;
    src: url("../../../assets/fonts/Caveat/Caveat-Bold.ttf");
}

@font-face {
    font-family: SpaceMono;
    src: url("../../../assets/fonts/SpaceMono/SpaceMono-Regular.ttf");
}

/*============================================
==> General CSS
============================================*/
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

html {
    overflow-x: hidden;
    overflow-y: overlay;
    scroll-behavior: unset !important;
}

body {
    position: relative;
    overflow-x: hidden;
    overflow-y: overlay;
    max-width: 480px;
    width: 100%;
    margin: auto;
    font-family: Cinzel;
    letter-spacing: 1px;
    color: var(--secondary-color);
    background: #FFFFFF;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* p {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.5;
} */

/* label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.1em;
} */

hr {
    height: 1.5px;
    background: var(--secondary-color);
}

.btn-main {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #FFFFFF;
}

.btn-main:hover {
    background-color: #FFFFFF;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.text-sm {
    font-size: 12px;
}

.text-main {
    color: var(--secondary-color);
}

.text-parent {
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0px;
}

.text-hashtag {
    color: var(--primary-color) !important;
    margin: 1em 0em;
    text-shadow: 0 1px 1px var(--secondary-color);
}

.form-group {
    margin-bottom: 1em;
}

.form-control {
    border: 1px solid var(--secondary-color);
}

.img-logo {
    max-width: 180px;
}

.social-media {
    display: flex;
    justify-content: center;
    padding: 1em;
    margin: 1em;
}

.social-media li {
    margin: 0px
}

.social-media a {
    display: inline-flex;
    background: var(--secondary-color);
    color: #FFFFFF;
    padding: 0.75em 0.8em;
    margin: 0em 0.25em;
    border-radius: 4px;
}

/*============================================
==> Section CSS
============================================*/


.sub-page {
    background-image: url(https://cdn.jemputan.co/catalogs/01KK2Z3HR8SZ9QE402B88JDYF4.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    text-align: center;
    padding: 2em 0em 4em 0em;
}

.sub-page .sub-animation {
    position: fixed;
    top: 0%;
    left: 50%;
    max-width: 480px;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    opacity: 0.75;
    transform: translateX(-50%);
}

.sub-page .sub-particle {
    position: fixed;
    top: 0%;
    left: 50%;
    max-width: 480px;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    transform: translateX(-50%);
}

.sub-page .sub-top-1,
.sub-page .sub-bottom-1,
.sub-page .sub-sub {
    position: absolute;
    bottom: 0%;
    left: 0%;
    width: 100%;
    height: 100vh;
}

.sub-page .sub-top-1 .el {
    position: absolute;
    top: -7%;
    left: -20%;
    width: 70%;
    height: 35%;
    background-image: url(el3.webp);
    background-position: top left;
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: top left;
    animation: swing1 2.0s ease-in-out 0.0s alternate infinite;
    -webkit-animation: swing1 2.0s ease-in-out 0.0s alternate infinite;
}

.sub-page .sub-bottom-1 .el {
    position: absolute;
    bottom: 0%;
    right: -20%;
    width: 70%;
    height: 35%;
    background-image: url(el4.webp);
    background-position: bottom right;
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: bottom right;
    animation: swing1 2.0s ease-in-out 0.0s alternate infinite;
    -webkit-animation: swing1 2.0s ease-in-out 0.0s alternate infinite;
}

.sub-page .container {
    position: relative;
    z-index: 1;
    padding: 1em;
}

.sub-page .container h4 {
    color: var(--secondary-color);
    font-weight: 600;
}

.sub-page .container.container-countdown {
    background-color: var(--primary-color);
    margin-bottom: 2em;
    padding: 2em 1.5em;
}

.sub-page .container.container-countdown h4 {
    color: #FFFFFF;
}

.card-divider {
    display: block;
    border: 1px solid var(--secondary-color);
    margin: 2em 0em;
}

.card-qr {
    background-color: #FFFFFF;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    overflow: hidden;
}

.card-qr .title {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-size: 22px;
    color: #FFFFFF;
    padding: 1em;
}

.card-qr .content {
    padding: 1em;
}

.card-qr .image-qr {
    margin-right: 1.5em;
}

.card-qr .btn-download {
    font-size: 26px;
    padding: 0.5em 0.75em;
}

.card-qr .btn-copy {
    font-size: 22px;
    padding: 0.5em 0.75em;
}

.card-qr label {
    color: var(--secondary-color);
    font-weight: 600;
}

.card-qr p {
    color: var(--primary-color);
    margin-bottom: 0px;
}

.sub-page .card-prayer {
    border: 1px solid var(--secondary-color);
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 2em;
}

.sub-page .card-prayer p {
    white-space: pre-line;
    margin-bottom: 0px;
}

.slider-gallery-main {
    width: 100%;
}

.slider-gallery-main .image {
    height: 275px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    box-shadow: var(--secondary-color) 0px 1px 5px 0px;
}

.slider-gallery-main .owl-stage-outer {
    overflow: unset !important;
}

.slider-gallery-sub {
    width: 100%;
}

.slider-gallery-sub .image {
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    margin-top: 10px;
    transition: 0.5s;
}

.slider-gallery-sub .center .image {
    margin-top: 0px;
    transition: 0.5s;
}

.slider-gallery-sub .center .image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: var(--secondary-color) 0px 1px 5px 0px;
}

.slider-gallery-sub .owl-stage-outer {
    overflow: unset !important;
}

.slider-guestbook .owl-dot {
    background-color: var(--primary-color) !important;
    height: 10px;
    width: 10px;
    margin: 0px 5px;
    border-radius: 4px;
    opacity: 0.75;
}

.slider-guestbook .owl-dot.active {
    background-color: var(--secondary-color) !important;
}

.slider-guestbook .text {
    font-family: Caveat;
    font-size: 20px;
}


.input-counter {
    display: flex;
    margin: 0.5em 0em;
}

.input-counter input {
    text-align: center;
}

.input-counter button:nth-child(1),
.input-counter button:nth-child(3) {
    background: var(--primary-color);
    color: #FFFFFF;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    margin: 0em 0.25em;
}

.modal-backdrop {
    position: absolute;
    opacity: 0.75;
    max-width: 480px;
    width: 100%;
    height: 100%;
}

/*============================================
==> Responsive CSS
============================================*/

@media(max-height: 700px) {
    .main-page .main-container {
        overflow-x: hidden;
        overflow-y: overlay;
    }
}

@media(max-width: 340px) {
    .main-page .container-content .content .date h2 {
        display: block;
    }

    .appbar .appbar-nav {
        max-height: 72px;
    }

    .appbar .appbar-nav ul li span {
        font-size: 11px;
    }
}