.dropdown:hover .dropdown-menu {
    display: block;
}

* {
    font-family: 'Montserrat', sans-serif;
}

a.nav-link {
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
}

a.nav-link:hover {
    color: rgb(106, 239, 106);
}

.apb h4 {
    font-weight: 600;
    color: #324851;
    margin-bottom: 20px;
}

.apb p {
    color: #324851;
    font-size: small;
}

.heads {
    height: 20px;
}

header .container {
    justify-content: space-between;
}

@media screen and (max-width: 1200px) {
    header .container {
        justify-content: center;
    }
}

.slideshow-container {
    max-width: 700px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.slideshow-container img {
    width: 100%;
    height: auto;
}

/* Style the dots */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: none;
    width: 100%;
    overflow: hidden;
  }

  .card h2 {
    margin-top: 0;
    color: #333;
  }

  .card p {
    color: #666;
  }

  .img-wrapper {
    width: 100%;
    max-height: 400px;
  }

  .slideshow-container {
    max-width: 700px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;

}

.slideshow-container img {
    width: 100%;
    height: auto;
}


.active {
    background-color: #717171;
}

/* Style the slideshow buttons */
.prev,
.next {
    cursor: pointer;
    /* Mengubah kursor menjadi pointer */
    position: absolute;
    /* top: 50%; */
    width: auto;
    /* margin-top: -22px; */
    padding: 10px;
    background-color: green;
    color: rgb(252, 252, 252);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 5px 0 0 5px;
    user-select: none;
    -webkit-user-select: none;
    align-items: center
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 0 5px 5px 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 100, 0, 0.8);
    color: white;
    /* Mengubah warna background saat hover */
}

.container1 {
    max-height: 100px;
    width: 100%;
    max-width: 100px;
    text-align: center;
}

.container1 img{
    width: 80%;
    height: 100%;
}

@media (max-width: 321px) {
    .container1 {
        height: 80px;
        width: 18%;
        text-align: center;
    }

    .container1 img{
        width: 100%;
        height: 100%;
    }
}

@media (min-width: 375px) {
    .container1 {
        height: 80px;
        width: 18%;
        text-align: center;
    }

    .container1 img{
        width: 100%;
        height: 100%;
    }
}

/* Tombol pagination */
/* Tombol pagination */
.pagination .page-item .page-link {
    color: #28a745; /* Warna teks hijau */
    background-color: #fff; /* Warna latar belakang putih */
    border-color: #28a745; /* Warna border hijau */
}

/* Tombol pagination aktif dan saat dihover */
.pagination .page-item .page-link:focus,
.pagination .page-item .page-link:hover,
.pagination .page-item.active .page-link {
    color: #fff; /* Warna teks putih */
    background-color: #28a745; /* Warna latar belakang hijau */
    border-color: #28a745; /* Warna border hijau */
}

img.berpotensi {
    max-width: 500px;
    width: 100%;
    max-height: 300px;
    text-align: center;
}

img.dusun {
    max-width: 500px;
    width: 100%;
    max-height: 500px;
    text-align: center;
}

.slider {
    height: 100%;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.slide-track {
    display: flex;
    width: calc(250px * {{ count($data) }});
    white-space: nowrap;
    animation: bannermove 20s linear infinite;
}

@keyframes bannermove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50%, 0);
    }
}

.slide {
    height: 120px;
    width: 150px;
    display: flex;
    align-items: center;
    padding: 10px;
}

.slide img {
    width: 100%;
    height: 100%;
}

@media (max-width: 320px) {
    .slide {
        height: 80px;
        width: 120px;
    }

    .headernama p {
        font-size: 0.8rem;
    }
}

img.propembaga {
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 500px;
}