body,
html {
    height: 100%;
    margin: 0;
    overflow: hidden;
    /* Mencegah scrolling */
}

.wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel {
    width: 100%;
}

#carouselExample {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel img {
    /* width: 100%; */
    /* height: 700px; */
    /* Sesuaikan ukuran gambar */
    object-fit: cover;
}

.footer {
    width: 100%;
    background: #343f52;
    color: white;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    left: 0;
    /* overflow: hidden;
    white-space: nowrap; */
}


.content-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;

    /* Mengatur posisi gambar di tengah */
    background-position: center;

    /* Membuat gambar tetap di tempat saat scroll */
    background-attachment: fixed;

    transition: opacity 2s ease-in-out; /* Transisi halus */
    opacity: 1;
}

.outline-text {
    color: black;
    text-shadow:
        -2px -2px 0 white,
         2px -2px 0 white,
        -2px  2px 0 white,
         2px  2px 0 white;
}

.carousel-item {
    display: block !important;
    visibility: hidden;
    padding-top: 16px;
}
.carousel-item.active {
    visibility: visible;
}

/* HALAMAN DEPAN */
.text-outline {
    color: white;
    text-shadow: 2px 2px 4px black;
}



/* HALAMAN CUACA KABUPATEN */
.img-cuaca2 {
    max-width: 90%;
    /* Batasi lebar maksimal */
    max-height: 80px;
    /* Cegah SVG agar tidak terlalu tinggi */
    height: auto;
    /* Pastikan aspek rasio tetap */
    display: block;
    /* Supaya bisa ditengah pakai margin */
    margin: 0 auto;
    /* Tengahkan gambar */
}

.img-peringatan {
    width: 100%; /* Membuat gambar selebar container */
    height: auto; /* Menjaga rasio aspek */
    max-height: 62vh; /* Agar tidak melebihi tinggi layar */
    object-fit: contain; /* Pastikan gambar tidak terpotong */
}

.img-pariwisata {
    width: 100%; /* Membuat gambar selebar container */
    height: auto; /* Menjaga rasio aspek */
    max-height: 70vh; /* Agar tidak melebihi tinggi layar */
    object-fit: contain; /* Pastikan gambar tidak terpotong */
}





