:root {
    --warna1: #005a24;
    --warna2: #0093dd;
    --warna3: #ffd700;
    --warna4: #ffffff;
    --warna5: #000000;
}

body h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    font-family: "Outfit", sans-serif;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: var(--warna4);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--warna3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--warna1);
}

/* Tombol back to top */
#tombolatas {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--warna3);
    color: var(--warna1);
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 18px;
    transition: all 0.3s;
}
#tombolatas:hover {
    background-color: var(--warna1);
    color: var(--warna3);
}
/* tutup tombol back to top */

.judul-sesi {
    font-size: 32px;
    padding: 0px 10px;
    margin-top: 70px;
    font-weight: 800;
    border-left: 3px solid var(--warna3);
    border-width: 3px;
    width: fit-content;
    color: var(--warna5);
}

/* MODAL */
.modal-header {
    background-color: var(--warna2);
}

.modal .modal-dialog .modal-content .modal-header .modal-title {
    font-size: 24px;
    padding: 0px 10px;
    font-weight: 800;
    border-left: 3px solid var(--warna1);
    border-width: 0 10px;
    border-radius: 10px;
    width: fit-content;
    color: var(--warna4);
}

.modal-body {
    background-color: var(--warna4);
}

.modal .modal-dialog .modal-content .modal-body .gambar-modal {
    width: 100%;
    box-shadow: 10px 10px var(--warna3);
    margin-bottom: 30px;
}

.modal .modal-dialog .modal-content .modal-footer {
    background-color: var(--warna1);
}

/* TUTUP MODAL */

/* Heading */
.heading .brand .brand-img {
    width: 40px;
}

.heading .brand .brand-txt {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    /* text-shadow: 1px 1px 1px var(--warna4); */
    margin-bottom: 0;
}

.brand {
    text-decoration: none;
    color: var(--warna5);
}

#nav-2 .navbar-toggler {
    font-size: 24px;
    border: none;
}

/* Tutup Heading */

/* Side Nav */
.heading {
    padding: 0 !important;
}
.menu {
    right: 10px;
    top: 30px;
    position: absolute;
    font-size: 36px;
    transition: top 0.5s ease !important;
    color: var(--warna5);
    border: none;
    background-color: transparent;
    margin: 0;
}
.scrolled .menu {
    transition: top 0.5s ease;
    top: 25px;
}
.menu:hover {
    color: var(--warna4);
}

#navbar .navbar-toggler:focus,
#navbar .navbar-toggler {
    border: none;
    box-shadow: none;
}

.menu-2 {
    right: 10px;
    top: 10px;
    position: absolute;
    font-size: 36px;
    transition: all 0.3s;
    color: var(--warna4);
    border: none;
    background-color: transparent;
    margin: 0;
}

.menu-2:hover {
    color: var(--warna5);
}

.menu-utama {
    width: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.heading .offcanvas .offcanvas-header {
    background-color: var(--warna3);
}

.heading .offcanvas .offcanvas-header > h3 {
    font-weight: 500;
    color: var(--warna5);
}

.heading .offcanvas {
    background-color: var(--warna2);
}

.heading .sidebar {
    background-color: transparent;
    border: none;
}

.heading .sidebar li a {
    text-decoration: none;
    color: var(--warna5);
}

.heading .sidebar li a:hover {
    color: var(--warna4);
    font-weight: 700;
    transition: all 0.3s;
}

.heading .sidebar li .submenu li a {
    color: var(--warna5);
}

.heading .sidebar li .submenu li a:hover {
    color: var(--warna4);
    font-weight: 700;
    transition: all 0.3s;
}

.heading .sidebar li .submenu2 {
    list-style: none;
}

.heading .sidebar li .submenu2 li a {
    color: var(--warna5);
}

.heading .sidebar li .submenu2 li a:hover {
    color: var(--warna4);
    font-weight: 700;
    transition: all 0.3s;
}

.sidebar li .submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

.menu-utama ul li:hover > ul,
.menu-utama ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

.menu-utama ul li .dropdown li {
    clear: both;
    width: 100%;
}

nav ul ul ul {
    left: 150px;
}
/* Tutup Side Nav */

/* SESI 1 */
.bg-utama {
    height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

h1.judul {
    z-index: 1;
    color: var(--warna3);
    position: absolute;
    top: 35vh;
    left: 100px;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 2px #000;
}

.sesi1 .bg-utama .subjudul {
    position: absolute;
    top: 30vh;
    left: 100px;
    z-index: 1;
    color: #ffffff;
}

.sesi1 .bg-utama .subjudul2 {
    position: absolute;
    top: 44vh;
    left: 100px;
    z-index: 1;
    color: #ffffff;
}

#sosmed-header {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -86.5px;
}
#sosmed-header i {
    font-size: 24px;
    color: #9fbfa1;
    margin: 0 10px !important;
    transition: all 0.3s;
}
#sosmed-header i:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.sesi1 .bg-utama .tombol-sesi1 {
    position: absolute;
    bottom: 15vh;
    left: 100px;
    z-index: 5;
    background-color: transparent;
    color: var(--warna3);
    border: 2px solid var(--warna3);
    padding: 10px;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 700;
    border-radius: 20px;
}

.sesi1 .bg-utama .tombol-sesi1:hover {
    background-color: var(--warna5);
    color: var(--warna2);
    border: 2px solid var(--warna2);
}

.sesi1 .bg-utama .tombol-sesi1-2 {
    position: absolute;
    bottom: 15vh;
    left: 250px;
    z-index: 5;
    background-color: transparent;
    color: var(--warna3);
    border: 2px solid var(--warna3);
    padding: 10px;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 700;
    border-radius: 20px;
}

.sesi1 .bg-utama .tombol-sesi1-2:hover {
    background-color: var(--warna5);
    color: var(--warna2);
    border: 2px solid var(--warna2);
}

/* TUTUP SESI 1 */

/* SESI 2 */

.sesi2 {
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-color: var(--warna4);
}

.gambar-sesi2 {
    width: 300px;
    height: 400px;
    box-shadow: 10px 10px var(--warna3);
    margin-bottom: 30px;
    object-fit: cover;
}

#sesi2 .ikon-sesi2 {
    font-size: 48px;
    color: var(--warna2);
}

#sesi2 .judul-sesi2 {
    font-size: 18px;
    padding: 0;
    margin: 0;
    color: var(--warna2);
}

#sesi2 .isi-sesi2 {
    font-size: 18px;
    padding: 0;
    margin: 0;
    color: var(--warna5);
    font-weight: 800;
}

/* TUTUP SESI 2 */

/* SESI 3 */

.sesi3 {
    min-height: fit-content;
    height: fit-content;
    background-color: #fff;
}

.judul-sesi3 {
    font-size: 32px;
    padding: 0px 10px;
    margin-top: 70px;
    font-weight: 800;
    border-left: 3px solid var(--warna3);
    border-width: 10px;
    border-radius: 10px;
    width: fit-content;
    color: var(--warna5);
}

#sesi3 .gambar-carousel {
    width: 100%;
    height: 500px;
    margin: 0 auto;
    object-fit: cover;
}

#sesi3 .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 14px;
    color: #ffffff;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.8)
    );
    padding: 30px 50px;
    border-radius: 5px;
    width: 100%;
    height: auto;
    text-align: left;
}

.sesi3 .carousel-caption .caption1 {
    font-weight: 800;
    color: var(--warna4);
}

.sesi3 .carousel-caption .caption2 {
    color: var(--warna4);
}

.sesi3 .carousel-caption .tombol-carousel {
    background-color: transparent;
    padding: 5px;
    color: var(--warna4);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    border: 2px solid var(--warna4);
    transition: all 0.3s;
    text-decoration: none;
    font-size: 12px;
}

.sesi3 .carousel-caption .tombol-carousel:hover {
    background-color: var(--warna5);
    color: var(--warna2);
    border: 2px solid var(--warna2);
}

/* TUTUP SESI 3 */

/* SESI 4 */
.sesi4 {
    height: fit-content;
    background-color: #9fbfa1;
}

.sesi4 .container .row .col .card {
    background-color: #f1f2d8;
}

.sesi4 .container .row .col .card .card-body p.judul-card {
    color: #25594a;
    font-weight: 700;
    font-size: 24px;
}

.sesi4 .container .row .col .card .card-body .d-flex .btn-group .tombol-card {
    border: 2px solid #25594a;
    color: #25594a;
    transition: all 0.3s;
    background-color: #9fbfa1;
    font-weight: 600;
}

.sesi4
    .container
    .row
    .col
    .card
    .card-body
    .d-flex
    .btn-group
    .tombol-card:hover {
    border: 2px solid #25594a;
    color: #f1f2d8;
    background-color: #25594a;
    border-radius: 20px;
}

.page-item .page-lapak {
    color: #25594a;
}
/* TUTUP SESI 4 */

/* SESI 5 */
.sesi5 {
    min-height: 100vh;
    background-color: var(--warna4);
}
/* tutup gsesi 5 */

/* sesi 6 */
.sesi6 {
    height: 100vh;
    background-color: #ffffff;
}
/* tutup sesi 6 */

/* sesi 7 */
.sesi7 {
    background-color: #ffffff;
}
/* tutup sesi 7 */

/* Sesi 8 */
#mitra-nagari {
    background-color: #ffffff;
}
#mitra-nagari .card {
    background-color: var(--warna3);
}
#mitra-nagari .card h5 {
    color: var(--warna5);
}
#mitra-nagari .card p {
    color: var(--warna5);
}
#mitra-nagari .card a {
    background-color: var(--warna2) !important;
    color: var(--warna4);
}
#mitra-nagari .card a:hover {
    background-color: var(--warna5) !important;
    color: var(--warna3);
}
/* tutup sesi 8 */

/* Kontak */
.kontak {
    min-height: fit-content;
    background-color: var(--warna2);
    color: white;
}

#kontak i {
    font-size: 1.4rem;
    margin: 0 10px;
    color: var(--warna4);
}

#kontak i:hover {
    color: var(--warna2);
    transition: all 0.3s;
}

#kontak .judul-kontak {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--warna2);
    margin: 0;
    padding: 0;
}

#kontak .isi-kontak {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.kontak-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.label-kontak {
    width: 120px;
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.separator {
    width: 15px;
    text-align: center;
    flex-shrink: 0;
}

.value-kontak {
    flex: 1;
    line-height: 1;
}

.value-kontak a {
    word-break: break-word;
}
/* Tutup Kontak */

/* FOOTER */
.footer {
    padding: 20px;
    background-color: var(--warna2);
    color: var(--warna4);
}

.footer a {
    text-decoration: none;
    color: var(--warna5);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--warna4);
}
/* FOOTER */

/* Perangkat Nagari */
#perangkat-nagari {
    min-height: 100vh;
    height: auto;
    width: 100%;
}

.perangkat-nagari .row .col-12 .p-nag-card {
    width: 250px;
    height: 350px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: white;
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);

    img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 1;
        transition: opacity 0.2s ease-out;
        object-fit: cover;
    }

    h3 {
        position: absolute;
        inset: auto auto 30px 30px;
        margin: 0;
        transition: inset 0.3s 0.3s ease-out;
        font-family: "Josefin Sans", sans-serif;
        font-weight: 700;
        font-size: 18px;
        text-transform: uppercase;
        color: var(--warna5);
    }

    p,
    a {
        position: absolute;
        opacity: 0;
        max-width: 80%;
        transition: opacity 0.3s ease-out;
        color: var(--warna5);
    }

    p {
        inset: auto auto 10px 30px;
    }

    a {
        inset: auto auto 40px 30px;
        color: inherit;
        text-decoration: none;
    }

    &:hover h3 {
        inset: auto auto 300px 30px;
        transition: inset 0.3s ease-out;
    }

    &:hover p,
    &:hover a {
        opacity: 1;
        transition: opacity 0.5s 0.1s ease-in;
    }

    &:hover img {
        transition: opacity 0.3s ease-in;
        opacity: 0.3;
    }
}
#perangkat-nagari .lainnya a {
    color: var(--warna4);
    background-color: var(--warna3);
    width: fit-content;
    margin: 0 auto;
    padding: 10px 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 12px;
}
#perangkat-nagari .lainnya a:hover {
    color: var(--warna3);
    background-color: var(--warna5);
}
/* Tutup perangkat nagari */

/* Statistik */
#statistik {
    min-height: 100vh;
    height: auto;
    width: 100%;
    background-color: var(--warna4);
}
/* Tutup Statistik */

/* -----------------------------Halaman Deskripsi-------------------------------------- */

body nav.navbar-deskripsi {
    background-color: var(--warna2);
}

body nav.navbar-deskripsi .container-fluid .navbar-brand {
    font-weight: 700;
    color: var(--warna5);
}

/* Navbar Detail */
body
    > nav.navbar-deskripsi
    > .container-fluid
    > .offcanvas
    > .offcanvas-header {
    background-color: var(--warna3);
}

body
    > nav.navbar-deskripsi
    > .container-fluid
    > .offcanvas
    > .offcanvas-header
    > h3 {
    font-weight: 500;
    color: var(--warna5);
}

body > nav.navbar-deskripsi > .container-fluid > .offcanvas {
    background-color: var(--warna2);
}

body > nav.navbar-deskripsi > .container-fluid .sidebar {
    background-color: transparent;
    border: none;
}

body > nav.navbar-deskripsi > .container-fluid .sidebar li a {
    text-decoration: none;
    color: var(--warna5);
}

body > nav.navbar-deskripsi > .container-fluid .sidebar li a:hover {
    color: var(--warna4);
    font-weight: 700;
    transition: all 0.3s;
}

body > nav.navbar-deskripsi > .container-fluid .sidebar li .submenu li a {
    color: var(--warna5);
}

body > nav.navbar-deskripsi > .container-fluid .sidebar li .submenu li a:hover {
    color: var(--warna4);
    font-weight: 700;
    transition: all 0.3s;
}

body > nav.navbar-deskripsi > .container-fluid .sidebar li .submenu2 {
    list-style: none;
}

body > nav.navbar-deskripsi > .container-fluid .sidebar li .submenu2 li a {
    color: var(--warna5);
}

body
    > nav.navbar-deskripsi
    > .container-fluid
    .sidebar
    li
    .submenu2
    li
    a:hover {
    color: var(--warna4);
    font-weight: 700;
    transition: all 0.3s;
}

.sidebar li .submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}
/* tutup navbar detail */

/* Deskripsi 1 */
/* dari bg reza */
/* .deskripsi1 {
    
    min-height: 100vh;
    background-color: var(--warna4);
    padding-top: 100px;
    padding-bottom: 50px;
} */

/* dari chat gpt */
.deskripsi1 {
    /* min-height: auto;
    background-color: var(--warna4);
    padding-top: 100px;
    padding-bottom: 120px; */

    background-color: var(--warna4);
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: auto;
}

.deskripsi1 .body-deskripsi1 {
    padding-bottom: 30px;
}

.deskripsi1 .body-deskripsi1 h1 {
    font-size: 1.5rem;
}

.deskripsi1 .body-deskripsi1 .row h1 {
    padding-bottom: 0;
    padding-top: 20px;
    padding-left: 20px;
    color: var(--warna5);
}

#deskripsi1 .gambar-deskripsi1 {
    width: 100%;
    box-shadow: 5px 5px var(--warna4);
    margin-bottom: 30px;
}

.deskripsi1 .body-deskripsi1 .row .col-12 .isi-deskripsi1 {
    text-align: justify;
}
/* tutup deskripsi 1 */

/* Perangkat Nagari */
.body-deskripsi1 .row .col-12 .p-nag-card {
    width: 250px;
    height: 350px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: white;
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);

    img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 1;
        transition: opacity 0.2s ease-out;
        object-fit: cover;
    }

    h3 {
        position: absolute;
        inset: auto auto 30px 30px;
        margin: 0;
        transition: inset 0.3s 0.3s ease-out;
        font-family: "Josefin Sans", sans-serif;
        font-weight: 700;
        font-size: 18px;
        text-transform: uppercase;
        color: var(--warna5);
    }

    p,
    a {
        position: absolute;
        opacity: 0;
        max-width: 80%;
        transition: opacity 0.3s ease-out;
        color: var(--warna5);
    }

    p {
        inset: auto auto 10px 30px;
    }

    a {
        inset: auto auto 40px 30px;
        color: inherit;
        text-decoration: none;
    }

    &:hover h3 {
        inset: auto auto 300px 30px;
        transition: inset 0.3s ease-out;
    }

    &:hover p,
    &:hover a {
        opacity: 1;
        transition: opacity 0.5s 0.1s ease-in;
    }

    &:hover img {
        transition: opacity 0.3s ease-in;
        opacity: 0.3;
    }
}

.material-symbols-outlined {
    vertical-align: middle;
}
/* Tutup perangkat Nagari */

/* halaman tabel */
.body-deskripsi1 .row .col-12 .table-responsive .table .judul-tabel {
    background-color: #9fbfa1;
}
/* tutup halaman tabel */

/* Detail Berita */
.body-deskripsi1 .row .col-md-8 .gambar-berita {
    width: 100%;
}
#beritaterakhir img {
    width: 115px;
    height: 96px;
    object-fit: cover;
}
/* tutup detail berita */

/* Foto Galeri */
.img-fluid {
    box-shadow: 5px 5px var(--warna3);
    border-radius: 10px;
    margin-bottom: 30px;
}
/* Tutup Foto Galeri */

/* video galeri */
.card.card-video {
    height: 250px;
    box-shadow: 2px 2px 10px #000;
}

.gambar-video {
    height: 250px;
}

.isi-card-video {
    padding: 0 1.5rem;
    position: absolute;
    overflow: hidden;
    bottom: 0;
    left: 0;
    width: 100%;
    display: grid;
    gap: 0.5ch;
    background: hsl(0 0% 100% / 0.8);
    backdrop-filter: blur(var(--blur));
    height: fit-content;
    align-content: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.nama-video {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}
.card-video:hover .nama-video {
    opacity: 1;
    transition: opacity 0.3s 0.1s ease-in;
}

.card-video:is(:hover, :focus-visible) {
    --hover: 1;
}
.nama-video a {
    text-decoration: none;
    color: #25594a;
}
.nama-video a:hover {
    text-decoration: none;
    color: #000;
}

.frame-video {
    border-radius: 20px;
    box-shadow: 10px 10px #9fbfa1;
}
/* tutup video galeri */

/* Berita Lainnya */
.baca-selengkapnya {
    font-weight: 700;
    text-decoration: none;
    color: #25594a;
}
.baca-selengkapnya:hover {
    color: #000;
}

.page-item .page-berita {
    color: #25594a;
    background-color: #9fbfa1;
}
/* tutup berita lainnya */

/* lihat lapak */
.product {
    background-color: #eee;
}
.brand {
    font-size: 13px;
}
.act-price {
    color: #25594a;
    font-weight: 700;
}
.dis-price {
    text-decoration: line-through;
}
.about {
    font-size: 14px;
}
.color {
    margin-bottom: 10px;
}
label.radio {
    cursor: pointer;
}
label.radio input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none;
}
label.radio span {
    padding: 2px 9px;
    border: 2px solid #25594a;
    display: inline-block;
    color: #25594a;
    border-radius: 3px;
    text-transform: uppercase;
}
label.radio input:checked + span {
    border-color: #25594a;
    background-color: #25594a;
    color: #fff;
}
.btn-danger {
    background-color: #25594a !important;
    border-color: #25594a !important;
}
.btn-danger:hover {
    background-color: #9fbfa1 !important;
    border-color: #9fbfa1 !important;
}
.btn-danger:focus {
    box-shadow: none;
}
.cart i {
    margin-right: 10px;
}
.judul-card-lapak {
    color: #25594a;
    font-weight: 700;
    font-size: 24px;
}
a.tombol-card-lapak {
    background-color: #9fbfa1;
    color: #25594a;
    border: 2px solid #25594a;
    text-decoration: none;
    padding: 5px;
    border-radius: 5px;
}
.tombol-card-lapak:hover {
    background-color: #25594a;
    color: #9fbfa1;
    border-color: #9fbfa1;
}
/* tutup lihat lapak */

/* Kartu Bidang */
.kartu-bidang {
    border-radius: 10px;
    filter: drop-shadow(0 5px 10px 0 #ffffff);
    width: 100%;
    min-height: 200px;
    height: fit-content;
    background-color: #ffffff;
    padding: 20px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: 0.2s ease-in;
}

.kartu-bidang::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -15px;
    left: -15px;
    background: #25594a;
    height: 235px;
    width: 25px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-out;
}

a.kartu-layanan {
    text-decoration: none;
    min-height: 300px;
}

.kartu-bidang:hover::before {
    transition-delay: 0.1s;
    transform: scale(40);
}

.kartu-bidang:hover {
    color: #9fbfa1;
}

.kartu-bidang h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    font-weight: 800;
    font-size: 24px;
}

.kartu-bidang i {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    color: #9fbfa1;
    text-shadow: 2px 2px 2px #000;
    text-align: center;
    font-size: 48px;
}
/* Tutup kartu bidang */

/* Lihat  Mitra */
#mitranagari {
    height: fit-content;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 3px 3px 10px #aaaaaa;
    border-right: 30px solid var(--warna2);
}
#mitranagari h1 {
    font-weight: 800;
    color: var(--warna5);
}
#mitranagari i {
    font-size: 18px;
    color: var(--warna2);
    margin-right: 10px;
}
#mitranagari i:hover {
    color: var(--warna3);
}
/* Tutup Lihat Mitra */

/* Desa Wisata */
#desawisata {
    position: relative;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-image: url("../img/bg-duokoto.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
#desawisata h1 {
    font-family: "Kaushan Script", cursive;
    font-weight: 400;
    font-style: normal;
    margin-top: 115px;
    color: #ffffff;
    text-shadow: 2px 2px 2px #000000;
    z-index: 2;
}
#desawisata h1 span {
    color: var(--warna3);
}
#desawisata p {
    color: #ffffff;
    margin: 30px 0 0;
}
#desawisata .bar-judul {
    height: 3px;
    width: 300px;
    background-color: var(--warna3);
    margin: -10px auto 0;
    z-index: 0;
}
#desawisata #bg-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -2;
}
#desawisata .gambardesawisata {
    margin-top: 30px;
}
#desawisata .canvas {
    position: relative;
    max-width: 100%;
    margin-bottom: 30px;
}
#desawisata .gambar-desawisata {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
    transition: all 0.5s ease;
    overflow: hidden;
    display: inline-block;
}
#desawisata .overflow {
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
}
#desawisata .overflow:hover .gambar-desawisata {
    transform: rotate(3deg) scale(1.1);
    border-radius: 15px;
}
#desawisata .overflow:hover h2 {
    color: var(--warna3);
}
#desawisata h2 {
    position: absolute;
    width: 200px;
    text-align: center;
    color: var(--warna4);
    font-size: 28px;
    text-align: center;
    top: 50%;
    left: 50%;
    margin-top: -33.58px;
    margin-left: -100px;
    font-family: "Kaushan Script", cursive;
    font-weight: 400;
    font-style: normal;
    text-shadow: 2px 2px 2px var(--warna1);
    transition: all 0.3s;
}
#desawisata h2:hover {
    color: var(--warna3);
}
#sosmed-desawisata i {
    font-size: 32px;
    color: var(--warna3);
    margin: 10px 10px 100px;
    transition: all 0.3s;
}
#sosmed-desawisata i:hover {
    color: var(--warna1);
    transform: scale(1.1);
}
#desawisata .konten-desawisata {
    z-index: 5;
    position: relative;
    height: fit-content;
    width: 100%;
}
#desawisata .overlay-bawah {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        to top,
        rgb(89, 30, 30, 0.5),
        rgb(89, 30, 30, 0)
    );
    z-index: 1;
    position: absolute;
}
/* tutup Desa Wisata */

/* modalJasaLingkunganAlam */
#modalJasaLingkunganAlam .modal-body {
    height: 100%;
    width: 100%;
    display: grid;
    align-items: center;
}
#modalJasaLingkunganAlam .canvas {
    position: relative;
    height: 400px;
    margin: 10px 0;
}
#modalJasaLingkunganAlam .gambar-desawisata {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    object-fit: cover;
    transition: all 0.5s ease-out;
    overflow: hidden;
    display: inline-block;
}
#modalJasaLingkunganAlam .overflow {
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
    display: grid;
    align-items: center;
}
#modalJasaLingkunganAlam .overflow:hover .gambar-desawisata {
    transform: rotate(3deg) scale(1.1);
    border-radius: 10px;
}
#modalJasaLingkunganAlam .overflow:hover h2 {
    color: var(--warna3);
}

:root {
    --tinggi-h2-modaldesawisata: 100px;
}

#modalJasaLingkunganAlam h2 {
    position: absolute;
    width: 300px;
    text-align: center;
    color: #ffffff;
    font-size: 28px;
    text-align: center;
    left: 50%;
    margin-left: -150px;
    font-family: "Kaushan Script", cursive;
    font-weight: 400;
    font-style: normal;
    text-shadow: 2px 2px 2px var(--warna1);
    transition: all 0.3s;
}
/* Tutup modalJasaLingkunganAlam */

/* Kategori Konten */
#card-kat-konten .card {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

#card-kat-konten .card:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

#card-kat-konten .card-img-container {
    position: relative;
    width: 100%;
    height: 200px; /* Fixed height for image container */
    overflow: hidden;
}

#card-kat-konten .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

#card-kat-konten .card:hover .card-img {
    transform: scale(1.1); /* Zoom effect on hover */
}

#card-kat-konten .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(193, 6, 6, 0.4); /* Dark overlay for contrast */
    transition: opacity 0.3s;
    opacity: 0;
}

#card-kat-konten .card:hover .card-overlay {
    opacity: 1;
}

#card-kat-konten .card-content {
    position: relative;
    padding: 20px;
    background: var(--warna1); /* Darker background for content */
    z-index: 1;
}

#card-kat-konten .card-title {
    margin: 0;
    font-size: 1.6em;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#card-kat-konten .card-description {
    margin: 10px 0 0;
    font-size: 1em;
    color: #ddd;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
/* Tutup Kategori Konten */

/* konten */
#konten .btn-konten {
    background-color: var(--warna3);
    color: var(--warna4);
    padding: 5px 10px;
    margin-top: 20px;
    font-weight: 700;
    transition: all 0.3s;
    margin-right: 25px;
    font-size: 14px;
}
#konten .btn-konten:hover {
    background-color: var(--warna1);
    color: var(--warna4);
}
#konten p {
    padding: 10px 30px 0;
    text-align: justify;
}
#konten .konten-img {
    margin-right: 20px;
    float: left;
    width: 500px;
    height: auto;
}
#konten .konten-img-lainnya {
    width: fit-content !important;
    height: fit-content !important;
    margin: 0 auto;
    overflow: hidden;
}
#konten .konten-img-lainnya img {
    width: 300px;
    height: 200px;
    margin: 0 auto;
    object-fit: cover;
    transition: all 0.3s ease-out;
    overflow: hidden;
    display: inline-block;
}
#konten .konten-img-lainnya img:hover {
    transform: rotate(3deg) scale(1.1);
}
#konten .frame-video {
    border-radius: 5px !important;
}
/* tutup konten */

/* Pengaduan */
#pengaduan {
    background-color: #ffffff;
    min-height: fit-content;
}
#pengaduan .pengaduan {
    background-color: #ffffff;
}
#pengaduan .grid-gambar {
    overflow: hidden;
    padding: 0;
}
#pengaduan .gambar-pengaduan {
    height: 100%;
    object-fit: cover;
}
#pengaduan .grid-form {
    padding: 30px;
}
#pengaduan h3 {
    color: var(--warna5);
}
#pengaduan .bar-pengaduan {
    height: 10px;
    width: 150px;
    background-image: linear-gradient(to right, var(--warna1), var(--warna2));
    margin-bottom: 40px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
#pengaduan label {
    color: var(--warna5);
}
#pengaduan input:focus,
#pengaduan textarea:focus {
    box-shadow: 0 0 0 0.2rem var(--warna3) !important;
    border-color: var(--warna2) !important;
}
#pengaduan ::placeholder {
    color: var(--warna5);
    opacity: 0.3; /* Firefox */
}
#pengaduan .btn-kirim {
    background-color: var(--warna2) !important;
    color: var(--warna4);
    transition: all 0.3s;
}
#pengaduan .btn-kirim:hover {
    background-color: var(--warna5) !important;
    color: var(--warna3);
    transform: scale(0.9);
}
/* Tutp Pengaduan */

/* kategori legalitas */
#kat-legalitas .active {
    background-color: #25594a !important;
}
#ka-legalitas button {
    color: #25594a !important;
}
#kat-legalitas .tab-pane {
    background-color: #ffffff !important;
}
#kat-legalitas .nav-link {
    color: #9fbfa1 !important;
}
#kat-legalitas .tab-content {
    margin-top: 30px;
    height: 200px;
}
#kat-legalitas .tahun-legalitas {
    background-color: #9fbfa1;
    border-radius: 10px;
    padding: 45px 0;
    height: 150px;
    transition: all 0.5s;
}
#kat-legalitas .tahun-legalitas i {
    font-size: 32px;
    color: #ffffff;
    transition: all 0.5s;
}
#kat-legalitas .tahun-legalitas h4 {
    color: #ffffff;
    transition: all 0.5s;
}
#kat-legalitas .tahun-legalitas:hover {
    transform: scale(0.9);
    border: 3px solid #25594a;
}
#kat-legalitas .tahun-legalitas:hover i {
    color: #25594a;
}
#kat-legalitas .tahun-legalitas:hover h4 {
    color: #25594a;
}

#kat-legalitas .list-tahun {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
}

/* dari bg reza */
/* #kat-legalitas .tahun-legalitas {
    flex: 0 0 calc(30% - 20px);
    text-align: center;
    background-color: #a3c2a3;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
} */

/* dari chat gpt */

#kat-legalitas .tahun-legalitas {
    text-align: center;
    background-color: #a3c2a3;
    border-radius: 10px;
    padding: 30px 20px;
    min-height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#kat-legalitas .tahun-legalitas:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.list-tahun a {
    display: block; /* Ubah jadi block supaya lebar penuh */
    flex: 0 0 calc(30% - 20px);
    text-decoration: none; /* Opsional: Hilangkan underline link */
    color: inherit; /* Opsional: Warna teks tetap sesuai */
}

.list-tahun a .tahun-legalitas {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.list-tahun a:hover .tahun-legalitas {
    background-color: #90b494; /* contoh efek hover */
    cursor: pointer;
}

@media (max-width: 992px) {
    #kat-legalitas .tahun-legalitas {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    #kat-legalitas .tahun-legalitas {
        flex: 0 0 100%;
    }
}
/* tutup kategori legalitas */

/*===============================================================================================================
Breakpoint 
==============================================================================================================*/

@media screen and (max-width: 600px) {
    body {
        overflow-x: hidden !important;
    }
    .judul-sesi {
        font-size: 18px;
    }
    #deskripsi1 .breadcrumb-item {
        font-size: 14px;
    }
    #deskripsi1 .judul-deskripsi1 {
        font-size: 2rem;
    }

    #tombolatas {
        bottom: 20px;
        right: 30px;
    }

    /* Nav */
    #navbar {
        width: 100%;
    }
    .heading .brand .brand-img {
        width: 30px;
    }

    .heading .brand .brand-txt {
        font-size: 12px;
        font-weight: 700;
    }

    .brand {
        text-decoration: none;
        color: black;
    }
    /* tutup nav */

    /* Nav-2 */
    #nav-2 .navbar-brand {
        font-size: 16px;
    }
    #nav-2 .brand-img {
        width: 30px;
    }
    #nav-2 .navbar-toggler {
        font-size: 14px;
        border-color: #ffffff !important;
    }
    .menu {
        font-size: 28px;
    }
    .menu-2 {
        font-size: 28px;
    }
    /* Tutup Nav-2 */

    /* SESI 1 */
    .sesi1 {
        overflow: hidden !important;
    }
    #sosmed-header {
        top: 45%;
        margin-left: -66.25px;
    }
    #sosmed-header i {
        font-size: 14px;
    }
    .bg-utama .rangkiang {
        width: 250px;
        height: 250px;
        left: 50%;
        margin-left: -128px;
        bottom: 2%;
    }

    h1.judul {
        z-index: 1;
        position: absolute;
        top: 40vh;
        left: 50%;
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        font-size: 38px;
        font-weight: 700;
        text-shadow: 1px 1px 1px #25594a;
        width: 100%;
        text-align: center;
    }

    .sesi1 .bg-utama .subjudul {
        position: absolute;
        top: 36vh;
        left: 50%;
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        z-index: 1;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    .sesi1 .bg-utama .subjudul2 {
        position: absolute;
        top: 48vh;
        left: 50%;
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        z-index: 1;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    .sesi1 .bg-utama .tombol-sesi1 {
        position: absolute;
        bottom: 10%;
        left: 50%;
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        z-index: 5;
        background-color: transparent;
        color: var(--warna4);
        border: 2px solid var(--warna4);
        border-radius: 10px;
        padding: 5px;
        transition: all 0.3s;
        text-decoration: none;
        font-size: 14px;
        width: 150px;
        text-align: center;
    }

    .sesi1 .bg-utama .tombol-sesi1-2 {
        position: absolute;
        bottom: 18%;
        left: 50%;
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        z-index: 5;
        background-color: transparent;
        color: var(--warna4);
        border: 2px solid var(--warna4);
        border-radius: 10px;
        padding: 5px;
        transition: all 0.3s;
        text-decoration: none;
        font-size: 14px;
        width: 150px;
        text-align: center;
    }
    /* TUTUP SESI 1 */

    /* Sesi 2 */
    .gambar-sesi2 {
        width: 80%;
        box-shadow: 10px 10px var(--warna3);
        margin-bottom: 30px;
    }

    #sesi2 .ikon-sesi2 {
        font-size: 28px;
    }

    #sesi2 .judul-sesi2 {
        font-size: 14px;
    }

    #sesi2 .isi-sesi2 {
        font-size: 14px;
    }

    /* Sesi 3 */
    .judul-sesi3 {
        font-size: 18px;
    }

    #sesi3 .gambar-carousel {
        width: 100%;
        height: 500px;
        margin: 0 auto;
        object-fit: cover;
    }

    #sesi3 .carousel-caption .tombol-carousel {
        font-size: 10px;
    }

    #sesi3 .caption1 {
        font-size: 24px;
    }
    #sesi3 .caption2 {
        font-size: 14px;
    }
    #sesi3 a {
        font-size: 14px;
    }
    /* Tutup Sesi 3 */

    /* Sesi 4 */
    .sesi4 .container .row .col .card .card-body p.judul-card {
        font-size: 18px;
    }

    #sesi4 .tombol-card {
        font-size: 12px !important;
    }

    #sesi4 .teks-card {
        font-size: 12px;
    }
    #sesi4 .page-lapak {
        font-size: 12px;
    }
    /* template sesi 4 */

    /* sesi 6 */
    #sesi6 h5 {
        font-size: 14px;
    }

    #sesi6 a {
        font-size: 12px;
    }
    /* tutup sesi 6 */

    /* sesi 7 */
    #sesi7 i {
        height: 40px;
    }
    #sesi7 h3 {
        font-size: 16px;
    }
    .kartu-bidang {
        min-height: fit-content !important;
        height: fit-content;
    }
    a.kartu-layanan {
        min-height: fit-content;
        height: fit-content;
    }
    /* tutup Sesi 7 */

    /* kontak */
    #kontak i {
        font-size: 18px;
    }

    #kontak .judul-kontak {
        font-size: 14px;
    }

    #kontak .isi-kontak {
        font-size: 12px;
    }

    /* tutup kontak */

    /* detail wali nagari */
    #walinagari .card-block p {
        font-size: 14px;
    }
    /* tutup detail wali nagari */

    /* halaman detail berita */
    #beritaterakhir img {
        width: 100%;
        height: 96px;
        object-fit: cover;
    }
    /* tutup halaman detail berita */

    /* konten */
    #konten .btn-konten {
        font-size: 12px;
        font-weight: 500;
    }
    #konten .konten-img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    /* tutup konten */

    /* footer */
    #footer p {
        font-size: 10px;
    }
    /* tutup footer */
}

/* =================================================================================================
Highcharts
==================================================================================================== */
.highcharts-figure,
.highcharts-data-table table {
    min-width: 310px;
    max-width: 100%;
    margin: 1em auto;
}

#container {
    height: 500px;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.highcharts-description {
    margin: 0.3rem 10px;
}

/* TP PKK */

.sambutan {
    text-align: justify;
}
.selengkapnya {
    text-decoration: none;
    background-color: var(--warna2);
    color: var(--warna3);
    padding: 10px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.selengkapnya:hover {
    background-color: var(--warna5);
    color: var(--warna2);
}
.terbaru {
    background-color: var(--warna3);
    color: var(--warna5);
    border-radius: 10px;
}
#detail-konten h3 {
    color: var(--warna2);
    text-align: justify;
}
.terbaru-container {
    min-height: 150px;
    height: 150px;
    overflow: hidden;
}
.isi-kegiatan {
    text-align: justify;
}
.terbaru a {
    text-decoration: none;
    color: var(--warna5);
    text-align: justify;
    transition: all 0.3s ease;
}
.terbaru a:hover {
    color: var(--warna2);
}
.terbaru .col-4 {
    overflow: hidden;
}
