
.bg-2 {
    background-image: url("../img/latar3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Menyesuaikan ukuran gambar agar menutupi elemen */
}

.responsive-maps {
    width: 700px;
    height: 450px;
}
.postingan .card {
    height: 500px;
    max-height: 500px;
}
.postingan .card img {
    width: 100%;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
}

.postingan .card .card-middle {
    padding: 2px 5px 0;
}

.postingan .card .card-body h5.card-title {
    font-family: "Fira Sans", sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 20px;
    line-height: 1.2;
}
.postingan .card .card-body .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Jumlah baris yang ditampilkan */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(6 * 10em);
}

.features .col-md-12 .owl-carousel .postingpusat {
    height: 480px !important;
    max-height: 480px !important;
}

.col-md-12 .postingpusat .card-header img {
    width: 100%;
    height: 180px;
    max-height: 180px;
}
.col-md-12 .postingpusat .card-text {
    /* overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    height: 150px; */

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(6 * 10em);
}

.postingan .card .card-body p {
    font-family: "Fira Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
}

.postingan .card .card-body {
    margin-top: -5px;
}

/* lokasi */

.location {
    position: relative;
    width: 100%; /* Full width of the parent */
    padding-bottom: 56.25%; /* This gives a 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.responsive-maps {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width of the parent */
    height: 100%; /* Full height relative to the aspect ratio */
    border: 0; /* No border */
}

/* Untuk perangkat Android */
@media (max-width: 768px) {
    .responsive-maps {
        width: 100%; /* Menggunakan lebar penuh */
        height: 300px; /* Tinggi bisa disesuaikan */
    }
}
.linkhome {
    color: black;
}

@media (max-width: 768px) {
    .bg-1 {
        height: 10px !important;
        background-image: url("../img/lata.png");
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        background-size: 100% 100%;
    }

    .responsive-maps {
        width: 100%; /* Menggunakan lebar penuh */
        height: 300px; /* Tinggi bisa disesuaikan */
    }
}
.linkhome {
    color: black;
}

.waves {
    display: block;
    width: 100%;
    height: 60px;
    max-height: 60px;
    margin: 0;
    z-index: 5;
    bottom: 0;
    position: absolute;
    left: 0px;
    float: left;
    }

    .parallax > use {
        animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
        &:nth-child(1) {
            animation-delay: -2s;
        }
    }

    .parallax > use:nth-child(1) {
        animation: move-forever2 8s linear infinite;
        &:nth-child(1) {
            animation-delay: -2s;
        }
    }

    .parallax > use:nth-child(2) {
        animation: move-forever3 6s linear infinite;
        &:nth-child(1) {
            animation-delay: -2s;
        }
    }

    .parallax > use:nth-child(3) {
        animation: move-forever3 6s linear infinite;
        &:nth-child(1) {
            animation-delay: -2s;
        }
    }

    .parallax > use:nth-child(4) {
        animation: move-forever4 4s linear infinite;
        &:nth-child(1) {
            animation-delay: -2s;
        }
    }

    @keyframes move-forever1 {
        0% {
            transform: translate(85px, 0%);
        }
        100% {
            transform: translate(-90px, 0%);
        }
    }
    @keyframes move-forever2 {
        0% {
            transform: translate(-90px, 0%);
        }
        100% {
            transform: translate(85px, 0%);
        }
    }
    @keyframes move-forever3 {
        0% {
            transform: translate(85px, 0%);
        }
        100% {
            transform: translate(-90px, 0%);
        }
    }
    @keyframes move-forever4 {
        0% {
            transform: translate(-90px, 0%);
        }
        100% {
            transform: translate(85px, 0%);
        }
    }

    /*Shrinking for mobile*/

    @media (max-width: 768px) {
        .waves {
            height: 40px;
            min-height: 40px;
        }
    }
    .text iframe {
        width: 85%;
        height: 1123px;
        transition: transform 0.3s ease-in-out;
        transform: scale(1.2);
        transform-origin: top left;
        overflow: hidden;
        padding-bottom: 200px;
    }


.modal .mowidth {
    width: 95%;
    margin: 0 auto;
}
.modaliklan {
    background-color: transparent !important;
}
.mowidth .modal-content {
    margin-top: 120px;
    background: none;
    /* background-color: rgba(0, 0, 0, 0.1) !important; */
}
.modal-body .btn-close-iklan {
    position: absolute;
    right: 25px;
    top: 25px;
}
.modal-body .image-content {
    width: 100%;
    height: 100px;
}
.modal-body .image-content img {
    width: 100%;
    height: 600px;
}

.modal-body .image-content .image-mobile {
    display: none;
}

@media (max-width: 767px) {
}

/* Untuk perangkat Android */
@media (max-width: 768px) {

    .responsive-maps {
        width: 100%; /* Menggunakan lebar penuh */
        height: 300px; /* Tinggi bisa disesuaikan */
    }

    .modal-body .image-content .image-desktop {
        display: none;
    }
    .modal-body .image-content .image-mobile {
        display: block;
    }
}
.linkhome {
    color: black;
}
