* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Times, "Times New Roman", serif;
}

body {
  padding: 10px;
  background-color: #ffffff;
}

/* Layout utama menggunakan CSS Grid */
.container {
  display: grid;
  grid-template-rows: 80px 1fr 60px; /* Diperbesar sedikit agar footer 2 baris muat dengan rapi */
  grid-template-columns: 220px 1fr;
  grid-template-areas:
    "header header"
    "sidebar content"
    "footer footer";
  border: 1px solid #777;
  min-height: 95vh;
}

/* Header Permanen (Latar Marun, Teks Putih) */
header {
  grid-area: header;
  background-color: #800000; /* Merah Marun */
  color: #ffffff;            /* Teks Putih */
  border-bottom: 1px solid #777;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

/* Sidebar Menu Permanen */
aside {
  grid-area: sidebar;
  border-right: 1px solid #777;
  padding: 15px;
}

aside h4 {
  margin-bottom: 8px;
  font-weight: normal;
}

/* Menghilangkan poin/bullet pada list */
aside ul {
  list-style-type: none; /* Poin list dihapus */
  padding-left: 0;
}

aside li {
  margin-bottom: 6px;
}

aside a {
  color: #3b0b7e;
  text-decoration: underline;
  cursor: pointer;
  font-size: 15px;
}

aside a:hover {
  color: #000;
}

/* Konten Tengah (Dinamis / Temporary) */
main {
  grid-area: content;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-size: 18px;
}

/* Footer Permanen (Latar Marun, Teks Putih & 2 Baris) */
footer {
  grid-area: footer;
  background-color: #800000; /* Merah Marun */
  color: #ffffff;            /* Teks Putih */
  border-top: 1px solid #777;
  display: flex;
  flex-direction: column;    /* Menyusun konten secara vertikal (2 baris) */
  justify-content: center;
  align-items: center;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}
/* Sidebar Menu Permanen */
aside {
  grid-area: sidebar;
  border-right: 1px solid #777;
  padding: 15px;
}

aside h4 {
  margin-bottom: 8px;
  font-weight: normal;
}

/* Menghilangkan poin/bullet pada list */
aside ul {
  list-style-type: none;
  padding-left: 0;
}

aside li {
  margin-bottom: 6px;
}

aside a {
  color: #3b0b7e;
  text-decoration: underline;
  cursor: pointer;
  font-size: 15px;
  transition: color 0.2s ease; /* Menambahkan transisi halus saat warna berubah */
}

/* Saat kursor diarahkan (hover), warna teks berubah menjadi merah marun */
aside a:hover {
  color: #800000;
}