/* =========================================================
   LESSON PAGES
========================================================= */

.lesson-container {
  max-width: 900px;
  margin: 100px auto 60px;
  padding: 50px;
  color: #e0e0e0;
}

.lesson-title {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
  border-bottom: 1px solid goldenrod;
}

.lesson-section {
  margin-bottom: 40px;
}

.lesson-section h2 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.lesson-section p,
.lesson-section ul,
.lesson-section li {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #e0e0e0;
}

.lesson-section ul {
  margin-left: 20px;
}

.code-block {
  font-size: 1rem;
  line-height: 1.7;
  background: #0d1117;
  color: #b5e853;
  padding: 15px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: monospace;
}

/* === Lesson Navigation Buttons === */
.lesson-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.nav-btn {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
  transition: all 0.25s ease;
  border: none;
}

.back-btn {
  background: linear-gradient(135deg, #2d2d2d, #1b1b1b);
  color: #ffffff;
  border: 1px solid #444;
}
.back-btn:hover {
  background: linear-gradient(135deg, #383838, #222);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.next-btn {
  background: linear-gradient(135deg, #d05e00, #d05e00);
  color: #fff;
  box-shadow: 0 0 15px #d05e00;
}
.next-btn:hover {
  background: linear-gradient(135deg, #d05e00, #d05e00);
  transform: translateY(-2px);
  box-shadow: 0 0 25px #d05e00;
}

.nav-btn next-btn{
  background-color: orange;
}

/* Responsive */
@media (max-width: 600px) {
  .lesson-nav {
    flex-direction: column;
    gap: 15px;
  }
  .nav-btn {
    text-align: center;
  }
}
