
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1c0fc7;
  color: white;
  padding: 10px 20px;
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-title {
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 1px;
}
profile-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: #f9f9ff;
  border: 1px solid #e0e0f0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44,44,100,0.04);
  text-align: center;
}

.nav-links a {
  background: #4CAF50;
  color: white;
  padding: 8px 18px;
  margin-right: 8px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  border: none;
  display: inline-block;
}

.nav-links a:last-child {
  margin-right: 0;
}

.nav-links a:hover {
  background: #388e3c;
  color: #fff;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}
nav_title {
  font-size: 24px;
  font-weight: bold;
}

.artikel-list {
  display: flex;
  flex-direction: row;      /* horizontal */
  gap: 24px;
  margin-top: 24px;
  justify-content: center;  /* tengah */
  flex-wrap: wrap;          /* biar responsif di layar kecil */
}

.artikel-item {
  background: #f9f9ff;
  border: 1px solid #e0e0f0;
  border-radius: 8px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(44,44,100,0.04);
  width: 260px;             /* atur lebar box */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.artikel-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #1c0fc7;
}

.artikel-item p {
  margin-bottom: 14px;
  color: #333;
}

.btn-artikel {
  background: #4CAF50;
  color: #fff;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  border: none;
  display: inline-block;
  margin-top: auto;
}

.btn-artikel:hover {
  background: #388e3c;
}

/* Responsive: stack ke bawah di layar kecil */
@media (max-width: 900px) {
  .artikel-list {
    flex-direction: column;
    align-items: center;
  }
}
.welcome-container {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,44,100,0.08);
  padding: 32px 24px;
  text-align: start;
  border: 1px solid #e0e0f0;
}

.welcome-container h1 {
  color: #1c0fc7;
  margin-bottom: 18px;
  font-size: 2em;
  letter-spacing: 1px;
}

.welcome-container p {
  color: #333;
  font-size: 1.1em;
  margin: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-list {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.team-item {
  background: #fff;
  border: 1px solid #e0e0f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(44,44,100,0.06);
  padding: 18px 16px;
  width: 180px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 3px solid #1c0fc7;
}

.team-name {
  font-size: 1.05em;
  margin-bottom: 4px;
}

.team-role {
  color: #4CAF50;
  font-size: 0.98em;
}

/* Responsive */
@media (max-width: 700px) {
  .team-list {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .team-item {
    width: 90vw;
    max-width: 320px;
  }
}
.team-bio {
  font-size: 0.97em;
  color: #444;
  margin: 8px 0 6px 0;
}

.team-github {
  display: inline-block;
  background: #24292e;
  color: #fff;
  padding: 5px 14px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.97em;
  transition: background 0.2s;
}

.team-github:hover {
  background: #0366d6;
}
@media (max-width: 600px) {
  .artikel-item {
    padding: 12px 6px;
  }
}

.artikel-detail {
  background: #fff;
  border: 2px solid #1c0fc7;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(44,44,100,0.10);
  padding: 32px 24px;
  margin: 32px auto;
  max-width: 700px;
  color: #222;
  animation: fadeIn 0.5s;
}

.artikel-detail h2 {
  color: #1c0fc7;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 2em;
  letter-spacing: 1px;
  text-align: center;
}

.artikel-detail p,
.artikel-detail ul,
.artikel-detail ol {
  font-size: 1.13em;
  color: #333;
  line-height: 1.7;
  margin-bottom: 16px;
}

.artikel-detail ul, .artikel-detail ol {
  padding-left: 24px;
}

.artikel-detail li {
  margin-bottom: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px);}
  to   { opacity: 1; transform: translateY(0);}
}