@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Lato:wght@400;700&display=swap');

</style>
body {
    font-family: 'Montserrat', sans-serif;
}

section {
    padding-top: 60px;
    /* max-height: 640px; */
}

.bg-gray-1{
    background-color: rgb(40, 51, 84);
}

.bg-gray-2{
    background-color: #4D5772;
}

.masthead {
    height: 90vh;
    min-height: 500px;
    background-image: url('https://jpi.or.id/wp-content/uploads/2024/07/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.heading {
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    position: absolute;
    padding-top: 30px;
    top: 45%;
    padding-right: 135px;
    padding-left: 90px;
    padding-bottom: 30px;
    background: linear-gradient(90deg, rgba(51,51,102,1) 66%, rgba(51,51,102,0) 100%);
}

.divider {
    border-top: 3px solid whitesmoke;
    opacity: 0.5;
    margin-left: 0;
    width: 32%;
}

.stuck {
    -webkit-animation: shadow-drop-2-bottom 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) alternate both;
    animation: shadow-drop-2-bottom 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) alternate both;
}

.divider-dark {
    border-top: 4px solid black;
    margin-left: 0;
    width: 15%;
}

.heading h1 {
    font-size: 45px;
    font-family: Georgia;
}

.section-heading {
    font-family: Georgia;
}

.jpi-nav {
    background-color: #4D5772;
    color: #fff;
    font-family: Georgia;
    font-weight: 500;
    height: 10vh;
}

.jpi-nav a {
    color: #fff;
    text-decoration: none;
    padding-left: 40px !important;
    padding-right: 40px !important;
    z-index: 99;
}

.jpi-nav .nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.jpi-nav .nav-item span {
    width: 2px;
    height: 50%;
    content: "";
    background-color: #fff;
}

.jpi-nav .nav-link.active::before {
    position: absolute;
    content: '';
    width: 50%;
    height: 3px;
    bottom: 0;
    background-color: black;
    margin: auto;
    right: 25%;
    -webkit-animation: roll-in-blurred-left 0.65s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    animation: roll-in-blurred-left 0.65s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

.content-wrapper p {
    font-size: 12px;
    margin-bottom: .2rem;
}

.info-2 {
    padding: 10px 20px 5px;
    color: #fff;
}

.info-2 h6 {
    font-family: Georgia;
}

.info-2 ol li {
    font-size: 12px;
}

.imgPotensi{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
}

.img-wrapper p{
    z-index: 9;
}

.content-wrapper img.img-fluid:nth-child(2) {
    display: none;
}

#jpiMobileNav {
    display: none;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-image: url('https://jpi.or.id/wp-content/asset-static/reformasi-pasar-reformasi-kota/assets/images/loading.gif');
    background-repeat: no-repeat;
    background-color: #FFF;
    background-position: center;
}

#scrollTopBtn {
    padding: 10px;
    display: none;
    bottom: 38px;
    right: 30px;
    font-size: 14px;
    font-weight: 500;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #4d5772bb;
    color: rgb(255, 255, 255);
    cursor: pointer;
    box-shadow: 4px 8px 18px 0px #4d577260;
}

#scrollTopBtn:hover {
    background-color: #4D5772;
}

.infoShow{
    opacity: 100%;
}
.infoHide{
    opacity: 0;
}

/* Mobile Styles */
@media only screen and (max-width: 576px) {

    nav.navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 9999;
        height: auto;
    }

    .masthead{
        height: 38vh;

    }

    .heading{
        padding: 10px;
    }

    .heading h1{
        font-size: 30px;
    }

    #jpiMobileNav {
        display: flex;
        background-color: #4D5772;
        padding: 1rem 1rem 0.5rem;
    }

    #myHeader {
        display: none;
    }

    .jpi-nav a {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .jpi-nav .nav-item~.nav-item::after {
        display: none;
    }

    .content-wrapper>div {
        display: flex;
        flex-direction: column;
    }

    .content-wrapper>div>div:nth-child(1) {
        order: 2;
    }

    .content-wrapper>div>div:nth-child(2) {
        order: 1;
    }

    .content-wrapper .img-wrapper {
        min-height: 40vh;
    }

    .hover-information {
        padding: 1rem;
    }

    .navbar-toggler:focus {
        outline: unset;
    }

    .jpi-nav.fixed-top {
        height: auto;
        box-shadow: 0px 20px 55px -19px rgba(35, 31, 32, 0.8);
    }

    .jpi-nav .nav-item.hover::after {
        display: none;
    }

    .navbar-collapse{
        -webkit-animation: slide-in-left 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        animation: slide-in-left 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }
}

/* ----------------------------------------------
 * Generated by Animista on 2020-7-17 10:48:19
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation blink-1
 * ----------------------------------------
 */
@-webkit-keyframes blink-1 {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

@keyframes blink-1 {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

/**
 * ----------------------------------------
 * animation shadow-drop-2-bottom
 * ----------------------------------------
 */
@-webkit-keyframes shadow-drop-2-bottom {
    0% {
        -webkit-transform: translateZ(0) translateY(0);
        transform: translateZ(0) translateY(0);
        -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }

    100% {
        -webkit-transform: translateZ(50px) translateY(-12px);
        transform: translateZ(50px) translateY(-12px);
        -webkit-box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.35);
        box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.35);
    }
}

@keyframes shadow-drop-2-bottom {
    0% {
        -webkit-transform: translateZ(0) translateY(0);
        transform: translateZ(0) translateY(0);
        -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }

    100% {
        -webkit-transform: translateZ(50px) translateY(-12px);
        transform: translateZ(50px) translateY(-12px);
        -webkit-box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.35);
        box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.35);
    }
}

/* ----------------------------------------------
 * Generated by Animista on 2020-7-20 11:31:37
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation roll-in-blurred-left
 * ----------------------------------------
 */
@-webkit-keyframes roll-in-blurred-left {
    0% {
        -webkit-transform: translateX(-1000px) rotate(-720deg);
        transform: translateX(-1000px) rotate(-720deg);
        -webkit-filter: blur(50px);
        filter: blur(50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0) rotate(0deg);
        transform: translateX(0) rotate(0deg);
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes roll-in-blurred-left {
    0% {
        -webkit-transform: translateX(-1000px) rotate(-720deg);
        transform: translateX(-1000px) rotate(-720deg);
        -webkit-filter: blur(50px);
        filter: blur(50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0) rotate(0deg);
        transform: translateX(0) rotate(0deg);
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}



.blink-1 {
    -webkit-animation: blink-1 1.5s infinite both;
    animation: blink-1 1.5s infinite both;
}

.blink-2 {
    -webkit-animation: blink-1 1.5s 0.5s infinite both;
    animation: blink-1 1.5s 0.5s infinite both;
}

.blink-3 {
    -webkit-animation: blink-1 1.5s 1s infinite both;
    animation: blink-1 1.5s 1s infinite both;
}

.shadow-drop-2-bottom {
    background-color: white;
    padding: 1rem 2.5rem 0.5rem;
    -webkit-animation: shadow-drop-2-bottom 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) alternate both;
    animation: shadow-drop-2-bottom 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) alternate both;
}

.shadow-drop-2-bottom.jpi-nav .nav-item span {
    background-color: #000;
}

.shadow-drop-2-bottom.jpi-nav a {
    color: #000;
}

.shadow-drop-2-bottom.navbar-dark .navbar-toggler {
    color: rgb(0, 0, 0);
    border-color: rgb(0, 0, 0);
}

.slide-bottom {
	-webkit-animation: slide-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate-reverse both;
	        animation: slide-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate-reverse both;
}

/**
 * ----------------------------------------
 * animation slide-in-left
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-left {
    0% {
        -webkit-transform: translateX(-1000px);
        transform: translateX(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

/**
 * ----------------------------------------
 * animation slide-bottom
 * ----------------------------------------
 */
@-webkit-keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
}
@keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
}

