@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');



* {

    padding: 0;

    margin: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

    height: auto;

}



body {

    font-family: 'Poppins', sans-serif;

}



ul {

    list-style: none;

}



a {

    text-decoration: none;

}



header {

    position: sticky;

    top: 0px;

    background-color: #0d3b19;

    width: 100%;

    z-index: 1000;

}



.container {

    max-width: 90rem;

    padding: 0 1rem;

    margin: 0 auto;

    display: flex;

    position: relative;

    height: 7rem;

}



.logo-container {

    flex: 1;

    display: flex;

    align-items: center;

}



.nav-btn {

    flex: 3;

    display: flex;



    align-items: center;

    float: right;

}



.nav-links {

    flex: 2;



}



.nav-links>ul {

    display: flex;

    float: right;

}



.nav-link {

    position: relative;

}



.nav-link>a {

    line-height: 3rem;

    color: #fff;

    padding: 0 1.5rem;

    letter-spacing: 1px;

    font-size: 1.5rem;

    display: flex;

    align-items: center;

    justify-content: space-between;

    transition: .5s;

}



.nav-link>a>i {

    margin-left: .2rem;

}



.nav-link:hover>a {

    transform: scale(1.1);

}



.dropdown {

    position: absolute;

    top: 100%;

    left: 0;

    width: 12rem;

    transform: translateY(10px);

    opacity: 0;

    pointer-events: none;

    transition: .5s;

}



.dropdown ul {

    position: relative;

}



/* ini dirubah */

.dropdown-link>a {

    display: flex;

    background-color: #fff;

    color: #162921;

    padding: .5rem 1rem;

    font-size: 1.5rem;

    align-items: center;

    justify-content: space-between;

    transition: .3s;

}

/* ////////////////// */



.dropdown-link:hover>a {

    background-color: #1e4934;

    color: #fff;

}



.dropdown-link:not(:nth-last-child(2)) {

    border-bottom: 1px solid #efefef;

}



.arrow {

    position: absolute;

    width: 11px;

    height: 11px;

    top: -5.5px;

    left: 32px;

    background-color: #fff;

    transform: rotate(45deg);

    cursor: pointer;

    transition: .3s;

    z-index: -1;

}



.dropdown-link:first-child:hover~.arrow {

    background-color: #1e4934;

}



.dropdown-link {

    position: relative;

}



.nav-link:hover>.dropdown {

    transform: translate(0, 0);

    opacity: 1;

    pointer-events: auto;

}



.hamburger-menu-container {

    flex: 1;

    display: none;

    align-items: center;

    justify-content: flex-end;

}



.hamburger-menu {

    width: 2.5rem;

    height: 2.5rem;

    display: flex;

    align-items: center;

    justify-content: flex-end;

}



.hamburger-menu div {

    width: 1.6rem;

    height: 3px;

    border-radius: 3px;

    background-color: #fff;

    position: relative;

    z-index: 1001;

    transition: .5s;

}



.hamburger-menu div:before,

.hamburger-menu div:after {

    content: '';

    position: absolute;

    width: inherit;

    height: inherit;

    background-color: #fff;

    border-radius: 3px;

    transition: .5s;

}



.hamburger-menu div:before {

    transform: translateY(-7px);

}



.hamburger-menu div:after {

    transform: translateY(7px);

}



#check {

    position: absolute;

    top: 50%;

    right: 1.5rem;

    transform: translateY(-50%);

    width: 2.5rem;

    height: 2.5rem;

    z-index: 90000;

    cursor: pointer;

    opacity: 0;

    display: none;

}



#check:checked~.hamburger-menu-container .hamburger-menu div {

    background-color: transparent;

}



#check:checked~.hamburger-menu-container .hamburger-menu div:before {

    transform: translateY(0) rotate(-45deg);

}



#check:checked~.hamburger-menu-container .hamburger-menu div:after {

    transform: translateY(0) rotate(45deg);

}



@keyframes animation {

    from {

        opacity: 0;

        transform: translateY(15px);

    }



    to {

        opacity: 1;

        transform: translateY(0px);

    }

}



#gallery {

    text-align: center;

}



.intro {

    position: relative;

    align-items: center;

    width: 100%;

}



.contentgallery-txt {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 36px;

    color: #0d3b19;

}



.imagegalery1 img {

    display: block;

    width: 100%;

    height: calc(100vh - 7rem);

    overflow: hidden;

    opacity: 0.5;

    filter: brightness(60%);

}



.contentgallery-txt h1 {
    

    padding: 10px;

    font-family: Arial;

    margin: 0;

    white-space: nowrap;

    border-bottom: 2px solid black;

}



.contentgallery-txt h2 {

    font-family: Arial;

    font-size: 30px;

    font-weight: 500;

    text-align: center;

    padding: 10px;

    color: black;

}



@media screen and (max-width: 800px) {



    .imagegalery1 {

        width: 100%;

    }



    .contentgallery-txt {

        width: 90%;

        text-align: center;

    }



    .contentgallery-txt h1 {

        white-space: nowrap;

        font-size: 18px;

        transform: none;

        left: 0;

        right: 0;

        padding: 5px;

    }



    .contentgallery-txt h2 {

        font-size: 16px;

        font-weight: 500;

        text-align: center;

        padding: 5px;

    }

}



.intro21 {

    width: 100%;

    height: auto;

    padding: 70px;

}





.intro21 h1 {

    padding: 0px 20px;

    text-align: justify;

    color: #222;

    font-size: 24px;

}



.intro21 a button {

    margin-top: 2vh;

    background-color: #04543c;

    color: white;

    padding: 10px 20px;

    border: none;

    border-radius: 5px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4);

    margin-left: 20px;

}



.intro2 p {

    padding: 20px 20px;

    text-align: justify;

    font-size: 15px;

    float: left;

    width: 50%;

    height: 30%;

}



@media screen and (max-width: 800px) {

    section {

        height: auto;

    }



    .intro {

        display: flex;

        flex-direction: column;

        width: 100%;

        min-height: auto;

        background-size: cover;

        background-position: center;

        background-repeat: no-repeat;

        text-align: center;

    }



    .intro21 {

        height: auto;

        padding: 20px;

    }



    .intro21 a button {

        font-size: 12px;

    }



    .intro21 h1 {

        font-size: 18px;

        padding-left: 20px;

    }



    .intro2 p {

        font-size: 12px;

        padding: 10px 20px;

        width: 100%;

    }



    .intro2 {

        display: flex;

        flex-direction: column-reverse;

    }



    .intro img {

        align-items: flex-start;

        max-width: 100%;

        display: flex;

        height: 30vh;

        margin-top: 0;

    }



    .intro21 .intro2 img {

        padding: 20px;

        width: 100%;

    }



    .footer4 {

        background-color: #0d3b19;

        padding: 20px;

    }



    .footer4 p {

        font-size: 12px;

        color: #efefef;

    }



    .footer4 a {

        font-size: 12px;

        color: #efefef;

    }



}



.intro2 img {

    align-items: flex-start;

    width: 50%;

    height: 30%;

    display: flex;

    margin-top: 0;

    float: right;

    padding: 20px 20px;

}



.column3 {

    float: left;

    width: 15%;

    padding: 10px;

    height: 40vh;

    color: #efefef;

}



.column3 p a {

    color: #efefef;

}



@media screen and (max-width: 800px) {

    .column3 {

        width: 100%;

        background-color: #0d3b19;

        height: auto;

    }

}



.column4 {

    float: left;

    width: 40%;

    padding: 10px;

    color: #efefef;

}



@media screen and (max-width: 800px) {

    .column4 {

        width: 100%;

        background-color: #0d3b19;

        height: auto;

    }

}





.column5 {

    float: left;

    width: 7%;

    padding: 10px;

    color: #efefef;

}



.column5 p a {

    color: #efefef;

}



@media screen and (max-width: 800px) {

    .column5 {

        width: 100%;

        background-color: #0d3b19;

        height: auto;

    }

}



.row:after {

    content: "";

    display: table;

    clear: both;

}



.footer4 {

    background-color: #0d3b19;

    padding: 20px;

    font-size: 12px;

}



@media (max-width: 920px) {



    .hamburger-menu-container {

        display: flex;

    }



    #check {

        display: block;

    }



    .nav-btn {

        position: fixed;

        height: calc(100vh - 7rem);

        top: 7rem;

        left: 0;

        width: 100%;

        background-color: #50725f;

        flex-direction: column;

        align-items: center;

        justify-content: space-between;

        overflow-x: hidden;

        overflow-y: auto;

        transform: translateX(100%);

        transition: .65s;

    }



    #check:checked~.nav-btn {

        transform: translateX(0);

    }



    #check:checked~.nav-btn .nav-link {

        animation: animation .5s ease forwards var(--i);

    }



    .nav-links {

        flex: initial;

        width: 100%;

    }



    .nav-links>ul {

        width: 100%;

        flex-direction: column;

        float: left;

    }



    .nav-link {

        width: 100%;

        opacity: 0;

        transform: translateY(15px);

    }



    .nav-link>a {

        line-height: 1;

        padding: 1.6rem 2rem;

    }



    .nav-link:hover>a {

        transform: scale(1);

        background-color: #1e4934;

    }



    .dropdown {

        position: initial;

        top: initial;

        left: initial;

        transform: initial;

        opacity: 1;

        pointer-events: auto;

        width: 100%;

        padding: 0;

        background-color: #50725f;

        display: none;

    }



    .nav-link:hover>.dropdown {

        display: block;

    }



    .nav-link:hover>a>i {

        transform: rotate(360deg);

    }



    .dropdown-link>a {

        background-color: transparent;

        color: #fff;

        padding: 1.2rem 2rem;

        line-height: 1;

    }



    .dropdown-link:not(:nth-last-child(2)) {

        border-bottom: none;

    }



    .arrow {

        z-index: 1;

        background-color: #50725f;

        left: 10%;

        transform: scale(1.1) rotate(45deg);

        transition: .5s;

    }



    .nav-link:hover .arrow {

        background-color: #50725f;

    }



    .dropdown-link:hover>a {

        background-color: #22935d;

    }



    .dropdown-link:first-child:hover~.arrow {

        background-color: #22935d;

    }



    .nav-link>a>i {

        font-size: 1.1rem;

        transform: rotate(-90deg);

        transition: .7s;

    }

}

/*///////////////*/

.slidetexthari {

    width: 100%;

    padding: 35px 35px;

    height: 100vh;

    text-align: center;

    justify-content: center;

    background: white;

}

/*///////////////*/



.slidetext {

    width: 100%;

    padding: 35px 35px;

    height: 70vh;

    text-align: center;

    justify-content: center;

    background: white;



}



.slidetext h1 {

    margin-top: 50px;

    margin-bottom: 30px;

    text-align: center;

    justify-content: center;

    color: #222;

    font-size: 24px;

}



.slidegambar {

    display: flex;

    padding: 0 35px;

    align-items: center;

    justify-content: center;



}



.wrapper {

    display: flex;

    max-width: 1200px;

    position: relative;

}



.wrapper i {

    top: 50%;

    height: 44px;

    width: 44px;

    color: #343F4F;

    cursor: pointer;

    font-size: 1.15rem;

    position: absolute;

    text-align: center;

    line-height: 44px;

    background: #fff;

    border-radius: 50%;

    transform: translateY(-50%);

    transition: transform 0.1s linear;

}



.wrapper i:active {

    transform: translateY(-50%) scale(0.9);

}



.wrapper i:hover {

    background: #f2f2f2;

}



.wrapper i:first-child {

    left: -22px;

    display: none;

}



.wrapper i:last-child {

    right: -22px;

}



.wrapper .carousel {

    font-size: 0px;

    cursor: pointer;

    overflow: hidden;

    white-space: nowrap;

    scroll-behavior: smooth;

}

/*///////////*/

.carousel img {

    height: 500px;

    object-fit: cover;

    user-select: none;

    margin-left: 14px;

    width: calc(100% / 3);

}



.carousel img :first-child {

    margin-left: 0px;

}

/*////////////////*/





.carousel img {

    height: 200px;

    object-fit: cover;

    user-select: none;

    margin-left: 14px;

    width: calc(100% / 3);

}



.carousel img:first-child {

    margin-left: 0px;

}





@media screen and (max-width: 900px) {

    .slidetext {

        padding: 20px 20px;

        height: auto;

        text-align: center;

        justify-content: center;

        background: white;

    }



    .slidetext h1 {

        margin-top: 0px;

        margin-bottom: 30px;

        text-align: center;

        justify-content: center;

        color: #222;

        font-size: 18px;

    }



    .slidegambar {

        display: flex;

        padding: 0 35px;

        margin-bottom: 30px;

        align-items: center;

        justify-content: center;



    }

    .carousel img {

        width: 100%;

    }







    /* ///////////////////////////////// */

    header .container .nav-btn .nav-links li.showMenu i.ar {

        transform: rotate(-180deg);

    }







    header .container .nav-links li .sub-menu {

        /* padding: 6px 6px 14px 80px; */

        margin-top: -10px;

        background: #50725f;

        display: none;

    }



    header .container .nav-links li.showMenu .sub-menu {

        display: block;

    }



    header .container .nav-link li .sub-menu a {

        color: #fff;

        font-size: 15px;

        padding: 5px 0;

        white-space: nowrap;

        opacity: 0.6;

        transition: all 0.3s ease;

    }



    header .container .nav-link li .sub-menu a:hover {

        opacity: 1;



    }



    header .container.close .nav-link li .sub-menu {

        position: absolute;

        left: 100%;

        top: -10px;

        margin-top: 0;

        padding: 10px 20px;

        border-radius: 0 6px 6px 0;

        transition: all 0.4s ease;

        opacity: 0;

        display: none;

        pointer-events: none;



    }



    header .container.close .nav-link li:hover .sub-menu {

        top: 0;

        opacity: 1;

        pointer-events: auto;

    }



    header .container .nav-link li .sub-menu .link_name {

        display: none;

    }



    header .container.close .nav-link li .sub-menu .link_name {

        font-size: 18px;

        opacity: 1;

        display: block;

    }



    header .container .nav-link li .sub-menu .blank {

        opacity: 1;

        pointer-events: auto;

        padding: 3px 20px 6px 16px;

    }



    header .container .nav-link li:hover .sub-menu .blank {

        top: 50%;

        transform: translate(-50%);

    }



    header .container .nav-links li .iocn-link {

        display: flex;

        align-items: center;

        justify-content: space-between;

    }



    .fas .fa-caret-down:before {

        content: "\ed35";

    }



}



.galintro {

    background: linear-gradient(to bottom, rgba(6, 70, 50, 0.7) 0%, rgba(3, 57, 41, 0.7) 100%), url(http://ptkmp.co.id/image/gallery/palopo/4.jpeg);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    width: 100%;

    min-height: 90vh;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}

/* //////// */
.galmap {



    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    width: 100%;

    min-height: 100vh;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}

/* /////// */


.gal {

    width: 100%;

    height: auto;

}

.gal a {

    color: inherit;
    /* Mengatur warna link sama dengan warna teks sekitarnya */
    text-decoration: none;
    /* Menghilangkan garis bawah pada link */

}

.gal h1 {


    text-align: center;

    padding: 10px;

    font-size: 3rem;

    color: #0d3b19;


}

.gal h3 {
    text-align: center;
    font-size: 2rem;
    color: #f2f7f3;

}

.imgal img {

    width: 40vh;

    height: 30vh;

    padding: 2vh 2vh;

    text-align: center;

}



.imgalhari img {

    width: 40vh;

    height: 50vh;

    padding: 2vh 2vh;

    text-align: center;

}

.imgalmap img {

    width: 80%;

    height: 60%;

    text-align: center;

}


/* .imgalmap img{

    width: 100%;

    height: 100%;

    text-align: center;

} */


@media screen and (max-width: 800px) {
     a {
            color: inherit; /* Mengatur warna link sama dengan warna teks sekitarnya */
            text-decoration: none; /* Menghilangkan garis bawah pada link */
        }

    .gal h1 {

        font-size: 18px;

    }


    .galmap {
        height: auto;
    }

    .imgalmap img {
        width: 100%;
        height: 40vh;
        text-align: center;
    }

}
