/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.content section {
  margin-bottom: 60px;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.7;
}

/* LAYOUT */
.docs-container {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 280px;
  background: #0f172a;
  color: white;
  padding: 30px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar h2 {
  font-size: 22px;
  margin-bottom: 25px;
  color: #38bdf8;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
}

.sidebar a:hover {
  background: #1e293b;
  color: #38bdf8;
}

/* CONTENT */
.content {
  flex: 1;
  padding: 50px;
  max-width: 1100px;
}

.animasih1 {
color: #0011ff;
font-size: 3rem;
letter-spacing: 2px;
animation: slideDown 1.5s ease;
}

a:hover {
color: #ff4040;
text-decoration: underline;
}

.button-group {
margin-top: 40px;
}

.btn {
background: linear-gradient(45deg, #007bff, #00c3ff);
color: white;
padding: 12px 24px;
border-radius: 30px;
margin: 5px;
display: inline-block;
transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 16px rgba(0, 123, 255, 0.3);
}

.content h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #0f172a;
}

.content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  color: #1d4ed8;
  /* border-bottom: 2px solid #e2e8f0; */
  padding-bottom: 8px;
}

.content h3 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.content p {
  margin-bottom: 15px;
  text-align: justify;
}

.content ol li {
  margin-bottom: 10px;
  text-align: justify;
}
/* CODE BLOCK */
.code-satu {
  background: #0f172a;
  color: #e2e8f0;
  padding:
    5px 20px 5px,
    20px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 10px 0;
  font-size: 14px;
}

.f-cm {
  font-family: Consolas, monospace;
}
code {
  font-family: Consolas, monospace;
}

/* INLINE CODE */
.inline-code {
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: Consolas, monospace;
  color: #a31515;
}




/* ALERT BOX */
.note {
  background: #dbeafe;
  border-left: 5px solid #2563eb;
  padding: 15px;
  margin: 20px 0;
  border-radius: 8px;
}

.note2 {
  background: #b2b2b2;
  border-left: 5px solid #535456;
  padding: 15px;
  margin: 20px 0;
  border-radius: 8px;
}

.warning {
  background: #fef3c7;
  border-left: 5px solid #f59e0b;
  padding: 15px;
  margin: 20px 0;
  border-radius: 8px;
}

/* FOLDER STRUCTURE */
.folder-tree {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 20px;
  border-radius: 10px;
  font-family: Consolas, monospace;
  white-space: pre;
  margin: 20px 0;
}

/* BUTTON */
.btn-copy {
  background: #2563eb;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-copy:hover {
  background: #1d4ed8;
}

.line-numbers {
  background: #0f172a;
  color: #e2e8f0;
  padding-top: 20px !important;
  border-radius: 10px;
  font-family: Consolas, monospace;
  counter-reset: line;
  overflow-x: auto;
	margin-bottom: 20px;
}

.line-numbers span {
  display: block;
  padding-left: 50px;
  position: relative;
  white-space: pre;
  line-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.line-numbers span::before {
  counter-increment: line;
  content: counter(line);
  position: absolute;
  left: 0;
  width: 35px;
  text-align: right;
  color: #8b7564;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .docs-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .content {
    padding: 25px;
  }
}
