body {

    margin: 0 auto;
    /* Memusatkan body */
    max-width: 1200px;
    /* Batas lebar body */
    padding: 0 20px;
    /* Memberi ruang di sisi untuk layar kecil */
    box-sizing: border-box;
    background-image: url('../gambar/4063097.jpg');
    background-repeat: no-repeat;
    height: 100vh;
    

}

.cover-halaman-atas {
    
    max-width: 1140px;
    padding: 0 15px;
    overflow: hidden;
}


/* untuk header */

header {
    
    width: auto;
    height: 200px;
    overflow: hidden;
    margin: 0 15px;
   
    
    
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider img.active {
    opacity: 1;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.header-content h1 {
    font-size: 3rem;
    margin: 0;
}

.header-content p {
    font-size: 1.2rem;
    margin: 10px 0 0;
}

/* style untuk navigasi */
/* Reset default styles */


/* Wrapper untuk membatasi lebar konten navbar */
.container-navbar {
    max-width: 1200px; /* Batas maksimum lebar */
    margin: 0 auto; /* Pusatkan */
    padding: 0 15px; /* Tambahkan padding untuk jarak tepi */
}

/* Navbar styling */
.navbar {
    position: fixed; /* Tetap di atas */
    top: 0;
    left: 200;
    width: 520px;
    background: rgba(1, 65, 6, 0.8);
    color: white;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar .container-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Navbar brand */
.navbar-brand {
    display: none;
    font-size: 1.8em;
    font-weight: bold;
    color: #f1faee;
    text-transform: uppercase;
    cursor: pointer;
}

/* Navbar menu */
.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-menu li {
    position: relative; /* Untuk dropdown positioning */
    
}

.navbar-menu li a {
    text-decoration: none;
    color: #f1faee;
    padding: 10px 5px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: 500;
}

.navbar-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Dropdown menu */
.dropdown-menu {
    display: none; /* Default: disembunyikan */
    position: absolute;
    top: 100%; /* Tepat di bawah item dropdown */
    left: 0;
    background: rgba(1, 65, 6, 0.8);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu li a {
    color: #f1faee;
    padding: 10px 20px;
    display: block;
    text-align: left;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.dropdown-menu li a:hover {
    background-color: #457b9d;
}

/* Tampilkan dropdown saat hover */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hamburger menu untuk layar kecil */
.hamburger {
    display: none; /* Default: sembunyikan */
    font-size: 1.5em;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}






/* text ajhelen */
/* Marquee Container */
.horizontal-marquee {
    width: 100%;
    max-width: 100%;
    height: 15px;
    overflow: hidden;
    background: #8da506;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    margin-top: 5px;
    z-index: 5;
}

/* Marquee Content */
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollLeft 30s linear infinite;
    color: rgb(255, 255, 255);
    font-size: 16px;

}

/* Animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.container-atas {
    max-width: 1140px;
    overflow: hidden;
    background-color: #f8f7f4;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;

    box-sizing: border-box;
    display: flex;

}

.kolom-utama {
    flex: 3;
    order: 2;
    background-color: #dfd1af;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 2px;
    width: 60%;



}

/* settingan untuk kolom utama */

.container-berita {
    background-color: #fdf3d9;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    max-width: 100%;

}



.judul-berita {
    font-size: 16px;
    margin: 0 0 15px;
    color: #005a80;
    border-bottom: 2px solid #005a80;
    padding-bottom: 5px;
    font-weight: bold;
}




.container-atas .kolom-utama .img-berita img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.container-atas .kolom-utama .img-berita p {
    text-align: justify;
}

/* untuk settingan galery */
.cover-galery{
    background-color: #fdf3d9;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    max-width: 100%;
    margin-top: 10px;
}

.judul-galery{
    font-size: 16px;
    margin: 0 0 15px;
    color: #005a80;
    border-bottom: 2px solid #005a80;
    padding-bottom: 5px;
    font-weight: bold;
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 280px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item {
    min-width: 60%; /* Adjust the size of each image */
    margin-right: 10px;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    display: block;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.control {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.2s;
}

.control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* settingan untuk sidebar satu */
.sidebar-satu {
    flex: 1;
    order: 1;
    background-color: #dfd1af;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 2px;
    margin-right: 5px;
    width: 20%;

}

/* Container untuk banner */
.banner-container {
    position: relative;
    align-items: center;
    height: 110px;
    /* Atur tinggi banner */
    background-color: #fdf3d9;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;
    overflow: hidden;
    /* Menyembunyikan elemen yang keluar dari area */
    border: 2px solid #ccc;
    /* Opsional: untuk melihat area container */
    


}

.banner-container .banner {
    background-color: #86c6d4;
    color: #000;
    font-weight: bold;
    padding: 5px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;

}

/* Setiap slide */
.banner-slide {
    position: absolute;
    /* Pastikan slide tidak ditumpuk secara default */
    
    

    width: 200px;
    height: 100px;
   
    transition: all 1s ease;
    /* Animasi saat bergeser */
    padding-left: 2px;
    padding-right: 5px;
    
    
}

/* Gambar di dalam banner */
.banner-slide img {
    width: 100%;
    height: 60px;
    margin-left: 5px;
    object-fit: cover;    

    
    /* Pastikan gambar memenuhi slide */
}

/* Tombol navigasi */
.prev,
.next {
    position: absolute;
    top: 52px;
    transform: translateY(-50%);

    color: rgb(5, 0, 0);
    font-size: 18px;
    
    border: none;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Efek transisi */
.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* setting untuk form login */
.container-login {

    width: auto;
    background-color: #fdf3d9;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;
    margin-top: 10px;
}

.label-login {
    background-color: #86c6d4;
    color: #000;
    font-weight: bold;
    padding: 10px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;
}

.username-input {

    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    margin-bottom: 10px;


}

.form-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;


}

.form-control {
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;

}

.password-input {
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    margin-bottom: 10px;


}


.btn-submit {
    width: 80px;
    height: 30px;
    padding: 5px;
    font-size: 14px;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    background-color: #d4aa5d;




}

.daftar {
    width: 80px;
    height: 30px;
    padding: 5px;
    font-size: 14px;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    background-color: #005a80;
}

.container-button {
    display: flex;
    justify-content: space-between;
}

/* SETTINGAN UNTUK KONTAK KAMI */
.container {
    width: auto;
    background-color: #fdf3d9;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;
    margin-top: 10px;
    text-align: center;
}

.container h2 {
    background-color: #86c6d4;
    color: #000;
    font-weight: bold;
    padding: 5px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: left;
}

.container img {
    width: 60px;
    margin-bottom: 10px;
}

.container a {
    text-decoration: none;
    color: #007bff;
    font-size: 16;
}

.container a:hover {
    text-decoration: underline;
}

.contact-info {
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    margin-bottom: 5px;

}

.social-icons {
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    margin-bottom: 5px;
    align-items: center;

}

.social-icons a {
    margin: 0 5px;
    display: inline-block;
    width: 20px;
    height: 20px;
    align-items: center;


}

.social-icons img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-top: 15px;
}

/* settingan untuk staf */
.photo-staf-container {
    width: auto;
    height: 335px;
    background-color: #fdf3d9;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;
    padding-top: 5px;
    text-align: center;
    margin-top: 10px;
    box-sizing: content-box;


}

.photo-staf-container h2 {
    background-color: #86c6d4;
    color: #000;
    font-weight: bold;
    padding: 5px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
    border-radius: 5px;
    text-align: left;
}

.photo-staf-container .photo-slider {
    position: relative;
    overflow: visible;
    height: 260px;
    margin-bottom: 10px;

}

.slide {
    display: none;
    position: absolute;
    width: auto;
    height: 100%;
    top: 0;
    left: 0;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;

}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px;
    box-sizing: border-box;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 8px rgb(255, 255, 255);

}

.caption h3 {
    margin: 0;
    font-size: 14px;
}

.caption p {
    margin: 0;
    font-size: 12px;
}


.index-link {
    display: block;
    margin-top: 10px;
    color: #007BFF;
    text-decoration: underline;
    font-size: 14px;
    text-align: right;
    margin-right: 10px;
}

.index-link:hover {
    text-decoration: underline;
}

.photo-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



/* settingan untuk sidebar dua */
.sidebar-dua {
    flex: 1;
    order: 3;
    background-color: #dfd1af;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;
    margin-left: 5px;
    z-index: 30;
    width: 20%;


}

/* untuk style pencarian */
.search-box {
    width: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Header pencarian */
.search-header {
    background-color: #86c6d4;
    color: #000;
    font-weight: bold;
    padding: 5px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;
}

/* Body pencarian */
.search-body {
    width: auto;
    background-color: #fdf3d9;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;
    margin-top: 10px;
}

/* Input kotak pencarian */
.search-body input[type="text"] {
    width: calc(100% - 60px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Tombol Cari */
.search-body button {
    background-color: #d7a959;
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.search-body button:hover {
    background-color: #b28345;
}



/* untuk informasi */
.container-pengumuman {
    width: auto;
    background-color: #fdf3d9;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;
    margin-top: 10px;

}

.informasi-pengumuman {
    background-color: #86c6d4;
    color: #000;
    font-weight: bold;
    padding: 5px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;

}

.container-pengumuman img {
    width: 200px;
    height: 350px;
    object-fit: cover;
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    margin-bottom: 10px;


}









/* settingan untuk artikel dan kajian */

.container-utama-kajian {
    background-color: #fdf3d9;
    border: 1px solid #d4aa5d;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;
    max-width: 100%;
    margin-top: 10px;
    overflow: hidden;
    padding-top: 15px;
    margin-left: 10px;
    margin-right: 10px;
}

.judul-kajian {
    font-size: 16px;
    margin-left: 20px;
    color: #005a80;
    border-bottom: 2px solid #005a80;
    padding-bottom: 5px;
    font-weight: bold;

}

.container-kajian {

    display: flex;
    position: relative;
    box-sizing: border-box;
    margin: 10px;
    padding: 5px;
    background-color: #ffffff;
    overflow: hidden;



    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);


}

.header-kajian {

    position: relative;
    text-align: left;
    background-color: #fdf3d9;
    padding: 5px;
    border-bottom: 1px solid #ddd;
    height: 600px;
    width: 300px;
    z-index: 30;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    



}

.header-kajian img {

    display: block;
    height: 300px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    
}

.header-kajian h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;

}

.header-kajian p {
    font-size: 1.1rem;
    color: #666;
    text-align: justify;
}

.button-kajian a {
    display: inline-flex;
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: auto;

}

/* Slider Styles */
.slider-kajian {

    position: absolute;
    z-index: 10;

    overflow: hidden;
}

.kata-mutiara {
    color: #393d02;
    text-align: center;
    font-size: 18px;
    margin-top: 100px;
    margin-left: 30px;
    display: flex;
    justify-content: end;
    
    
}



.slide-kajian {
    width: 300px;
    height: auto;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    display: block;
    gap: 20px;
    background-color: #fff;
    margin-left: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin-top: 200px;
    
}

.slide-kajian img {
    width: 100%;
    height: 150px;


}

.container-konten-kajian {
    display: flex;
    flex-direction: column;
    text-align: justify;

    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;




}

.container-konten-kajian h3 {
    margin: 5px;
    font-size: 16px;
    color: #035322;
    text-align: left;
    border-bottom: solid #055b83;

}

.container-konten-kajian p {

    color: #8abb03;
    font-size: 14px;
    margin-top: 10px;


    text-justify: auto;




}

.link-kajian {
    margin-top: auto;
    text-align: right;
    margin-right: 10px;

}

@keyframes slideInfinite {
    from {
        transform: translateX(0); /* Mulai dari awal */
    }
    to {
        transform: translateX(-100%); /* Bergeser sepenuhnya */
    }
}

.slides-kajian {
    display: flex;
    animation: slideInfinite 10s linear infinite; /* Animasi tanpa henti */
}


/* footer */
.footer-mini{
    display: none;
}