body {
    background-color: #fff;
}
@media (min-width: 992px) {
    .px-10 {
        padding: 0 10rem 0 10rem;
    }
}

@media (min-width: 576px) {
    .nav-item.dropdown:hover .main.dropdown-menu {
        display: block;
    }

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

@media (max-width: 591px) {
    #sambutan-rk {
        margin-top: 150px;
    }
    #sambutan {
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: #fff;
    }
}

#sambutan {
    margin-top: 200px;
}

.navbar {
    transition: all 0.3s ease; /* Menambahkan transisi pada background-color */
    -webkit-transition: all 0.3s ease;
}

.fade-in {
    transition: top 0.3s ease;
    transition: opacity 0.5s ease;
    -webkit-transition: top 0.3s ease;
    -webkit-transition: opacity 0.5s ease;
}

.btn-custom {
    background-color: #fec409;
    color: #fff;
}
.btn-custom:hover {
    background-color: #eca200;
}

.nav-link:hover {
    background-color: #4cab4a;
    color: #fff;
    border-radius: 3px;
}

.dropdown-menu {
    background-color: #4cab4a;
}
.dropdown-item {
    background-color: #4cab4a;
    color: #fff;
}

.dropdown-item:hover {
    background-color: #004c1c;
    color: #fff;
}
.dropdown-item:focus {
    background-color: #004c1c;
    color: #fff;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.bg-navbar {
    background-color: rgba(255, 255, 255, 0.3);
}

#sambutan .card {
    background-color: #4cab4a;
    color: #fff;
}

.img-carousel {
    width: 176px;
    height: 176px; /* Sesuaikan dengan tinggi gambar yang Anda inginkan */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.img-carousell {
    width: 176px;
    height: 176px; /* Sesuaikan dengan tinggi gambar yang Anda inginkan */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -150px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
    background-color: #fec409;
}

.bg-btn-carousel {
    background-color: #4cab4a;
    border-radius: 100%;
    width: 50px;
    height: 50px;
}

.icon {
    width: 90px;
    height: 90px;
}
.icon-b {
    width: 200px;
    height: 230px;
}

@media (max-width: 576px) {
    .icon {
        width: 60px;
        height: 60px;
    }
    .icon-b {
        width: 120px;
        height: 150px;
    }
}

#container-galeri {
    border-radius: 100px;
    background-color: #fec409;
}
#container-berita {
    border-radius: 100px;
    background-color: #e32129;
}

.galeri.card {
    position: relative;
    overflow: hidden;
}

.galeri.card .galeri-img {
    transition: filter 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
    width: 200px;
    height: 200px;
}
@media (max-width: 576px) {
    .galeri.card .galeri-img {
        width: 150px;
        height: 150px;
    }
}

.galeri .card-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
}

.galeri.card:hover img {
    filter: brightness(80%);
}

.galeri.card:hover .card-title {
    opacity: 1;
}

figure {
    display: flex;
    justify-content: center;
}

.berita.card {
    transition: transform 0.2s;
    -webkit-transition: transform 0.2s;
    z-index: 0;
}
.berita.card:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    cursor: pointer;
    z-index: 1;
}

/* .card-berita .card-title {
    position: absolute;
    top: 0;
    margin: 20px;
}
.card-berita .card-text {
    position: absolute;
    margin: 0 20px;
    bottom: 0;
}

.berita img {
    filter: brightness(80%);
} */

@keyframes slide {
    from {
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }
}

.inorga-slider {
    overflow: hidden;
    padding: 60px 0;
    display: flex;
}

.inorga-slide {
    white-space: nowrap;
    animation: 60s slide infinite linear;
    -webkit-animation: 60s slide infinite linear;
}

.inorga-slide img {
    height: 75px;
    margin: 0 40px;
}

.revealkanan {
    transform: translateX(150px);
    -webkit-transform: translateX(150px);
    opacity: 0;
    transition: 1s all ease;
    -webkit-transition: 1s all ease;
}

.revealkanan.active {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    opacity: 1;
}

.revealkiri {
    transform: translateX(-150px);
    -webkit-transform: translateX(-150px);
    opacity: 0;
    transition: 1s all ease;
}

.revealkiri.active {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    opacity: 1;
}
.revealbawah {
    transform: translateY(150px);
    -webkit-transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.revealbawah.active {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    opacity: 1;
}
.revealatas {
    transform: translateY(-150px);
    -webkit-transform: translateY(-150px);
    opacity: 0;
    transition: 1s all ease;
}

.revealatas.active {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    opacity: 1;
}

.img-container {
    width: 500px;
}

.img-container img {
    width: 100%;
    height: auto;
    border-radius: 30px;
}
