@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;800&display=swap');

* {
  box-sizing: border-box;
}
html,
body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: #ffffff;
  display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* Header/Blog Title */
.header {
  padding: 0px;
  text-align: center;
  background: white;
}
/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 75%;
  height: 100%;
  padding-left: 20px;
}


/* Right column */
.rightcolumn {
  /* float: left; */
  width: 25%;
  height: 100%;
  /* background-color: #f1f1f1; */
  padding-left: 10px;
  padding-right: 20px;
  position: sticky;
  top: 40px;
}


/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}


/* Add a card effect for articles */
.card {
  /* background-color: white; */
  background: #ffffff;
  padding: 0;
  margin-top: 20px;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.row {
  margin-bottom: 40px;
  /* flex: 1;
  width: 100%; */
  display: flex;
}


/* Footer */
.footer {
  padding: 0px;
  text-align: center;
  background: #ddd;
  margin-top: 0px;
}


/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}


/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}


/* Style the navbar */
#navbar {
  /* overflow: hidden; */
  background-color: #444;
  z-index: 999;
}


/* Navbar links */
#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}




.dropdown {
  position: relative;
}

/* Tombol Profil */
.dropdown .dropbtn {
  font-size: 16px;
  font-weight: bold;
  border: none;
  outline: none;
  color: white;
  padding: 14px 20px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
}


.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #2d8f2d;
}


.dropdown-content {
    display: none; 
    position: absolute;
    /* background-color: #ffffff; */
    min-width: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    top: 100%; /* Membuat kotak putih mepet tepat di bawah tombol tanpa celah */
    left: 0;
  }

  /* Benerin tag <ul> dari gambar biar ga berantakan */
  .dropdown-content ul {
    margin: 0;
    padding: 0;
    min-width: 100%;
  }

  /* Link di dalam Dropdown (Sejarah, Visi, dll) */
    #navbar .dropdown-content a {
    color: #ffffff;
    /* Gua set putih ya, karena background dropdown lu di bawah warnanya hijau */
    padding: 12px 16px;
    /* Buka lagi komennya biar area kliknya luas dan lega */
    text-decoration: none;
    display: block;
    text-align: left;
    /* Dibikin rata kiri aja biar lebih rapi dibacanya */
    font-weight: normal;
    white-space: nowrap;
    float: none;
    /* INI KUNCINYA: Biar menunya numpuk ke bawah, bukan nyamping */
  }

  /* Efek saat link di dalam dropdown disentuh */
  #navbar .dropdown-content a:hover {
    background-color: #eafbf0;
    color: #2fb14d;
  }

  /* KUNCI: Munculkan dropdown pas kursor nyentuh Profil */
  .dropdown:hover .dropdown-content {
    display: block;
  }
/* Page content */
.content {
  padding: 16px;
}


/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}


/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 10px;
}


.footer {
   /* position: fixed; */
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: grey;
   color: white;
   text-align: center;
}

/*tidak dipakai
/* Style the top navigation bar */
.topnav {
  background-color: #2fb14d;
  display: flex;
  /* Menggunakan Flexbox */
  justify-content: center;
  /* Membuat semua menu berada tepat di tengah */
  /* font-family: Arial, sans-serif; */
}

/* --- MENU UTAMA (HOME, CONTACT, KEGIATAN) --- */
.topnav>a {
  /* float: left; (DIHAPUS KARENA SUDAH PAKAI FLEXBOX) */
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

/* Efek hijau lebih gelap saat kursor nyentuh menu */
.topnav>a:hover,
.dropdown:hover .dropbtn {
  background-color: #1a8a34;
  color: white;
}

.dropdown-content {
  background-color: #2fb14d;
}


.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.my-float{
	margin-top:16px;
}

.footer-map {
  /* flex: 1; */
  /* min-width: 200px; */
  width: 100%;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding-top: 10px;
}

/* Memaksa kolom kanan agar kotaknya tidak memanjang (stretch) */
.rightcolumn {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* INI KUNCINYA: agar card tidak dipaksa panjang ke bawah */
}

/* Memastikan setiap card di sebelah kanan tingginya pas dengan konten */
.rightcolumn .card {
    width: 100%;
    height: fit-content !important; /* Paksa tinggi sesuai isi */
    min-height: auto !important;
    margin-bottom: 20px;
}

/* Hapus padding berlebih jika ada */
.sidebar-about {
    height: auto !important;
    padding-bottom: 10px !important;
}

/* Memperbaiki kolom kiri agar kotaknya tidak melar ke bawah */
.leftcolumn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Memastikan kotak Selamat Datang (paging) tingginya pas dengan teks */
.leftcolumn .card {
    width: 100%;
    height: auto !important;
    min-height: auto !important;
    margin-bottom: 20px; /* Memberi jarak ke kotak Gallery di bawahnya */
}

/* Tambahan: Pastikan baris utama (row) tidak memaksa stretch */
.row {
    align-items: flex-start !important;
}

.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; 
    border-radius: 50px;
    display: flex; /* Pake flexbox biar gambar gampang di tengah */
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-wa:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Pengaturan khusus untuk gambar di dalam tombol */
.my-float-img {
    width: 35px; /* Sesuaikan ukuran gambar lo di sini */
    height: auto;
    display: block;
}