/* =====================
   BASE
===================== */

body {
  font-family: Arial, sans-serif;
  color:  #450202;
  margin: 0;
  padding: 0;
  background: #f3f3f3;
  padding-left: 1cm;
  padding-right: 1cm;
  align-content: center;
}

header {
  background: #005bff;
  padding: 20px;
  text-align: center;
  color: white;
}

h1 {
    font-size: large;
}

h2{
    font-size: medium;
}

h3{
    font-size: medium;
}

p{
    font-size: medium;
}

main p{
    font-size: large;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

section {
  padding: 20px;
  max-width: 900px;
  margin: 20px auto;
  background: white;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 15px;
  background: #005bff;
  color: white;
  margin-top: 30px;
}

/* =====================
   LESSONS - HOME
===================== */

#lesson-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.lesson-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lesson-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.lesson-level {
  font-size: 0.75rem;
  font-weight: bold;
  color: #0a5cff;
  margin-bottom: 0.4rem;
}

.lesson-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.lesson-desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.lesson-actions a {
  display: inline-block;
  font-size: 0.85rem;
  text-decoration: none;
  color: #fff;
  background: #0a5cff;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
}

.lesson-actions a:hover {
  background: #0046cc;
}

.lesson-page {
  max-width: 800px;
  margin: 2rem auto;
}

.lesson-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
}

.lesson-body h3 {
  margin-top: 1.2rem;
}
