* {
  text-decoration: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden; /* Prevent body scroll */
  height: 100vh; /* Full viewport height */
}

.grid-container {
  display: flex;
  flex-direction: row;
  height: 100vh; /* Full viewport height */
}

#sidebar {
  width: 200px; /* Set width of the sidebar */
  background-color: #f4f4f4;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none;
}

/* Tambahkan style untuk tombol toggle sidebar */
#openSidebarBtn, #closeSidebarBtn {
  position: fixed;
  top: 10px;
  z-index: 1000; /* Pastikan tombol berada di atas elemen lainnya */
  background-color: #f8f9fa; /* Gaya tombol, bisa disesuaikan */
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Add styles for the sidebar top */
.sidebar-top {
  display: flex;
  justify-content: space-between; /* Align logo and close button */
  align-items: center;
  padding: 10px;
}

#closeSidebarBtn {
  margin-left: 150px; /* Add some space between logo and close button */
  cursor: pointer;
}

/* Rest of the CSS styles */

.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.main-dashboard {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10; /* Remove padding */
}

.main-dashboard iframe {
  width: 90%;
  height: 90%;
  border: none;
}

.realisasi {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height */
  width: 100vw; /* Full viewport width */
}

.iframe-realisasi {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Sidebar styles */

.sidebar-top .logo img {
  height: 48;
  width: auto;
}
.sidebar-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.sidebar-list-item {
  display: flex;
  align-items: center;
  padding: 15px;
  color: #333;
}

.sidebar-list-item a {
  display: flex;
  align-items: center;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.sidebar-list-item a:hover {
  background-color: #ddd;
}

.sidebar-list-item .material-icons-outlined {
  margin-right: 10px;
}

@media screen and (max-width: 768px) {
  #sidebar {
      width: 200px; /* Adjust sidebar width for smaller screens */
  }
}

/* Tambahkan gaya untuk gambar logo */
.logo-img {
  display: block;
  max-width: 100%; /* Menyesuaikan lebar gambar dengan lebar kontainer */
  height: auto; /* Menjaga rasio aspek gambar */
}
