/* GENERAL */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: orange;
}

.page {
  padding: 40px;
}

.hidden {
  display: none;
}

/* HEADER */
.header {
  background: linear-gradient(to bottom, #1e90ff, #2ecc71);
  padding: 30px;
  text-align: center;
}

.header h1 {
  color: white;
  font-size: 3rem;
  margin: 0;
}

/* HOME */
.home-buttons {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.home-button {
  width: 360px;
  height: 320px;
  background: white;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ✅ RESTORED HOVER EFFECT */
.home-button:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
}

.home-button img {
  width: 80%;
  margin-top: 20px;
}

/* FOOTER */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
}

/* BACK BUTTON */
.back-button {
  background: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 15px;
}

/* BLACKBOARD */
.blackboard {
  background: #1f3d2b;
  border: 12px solid #5c3b1e;
  border-radius: 12px;
  height: 70vh;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

/* LEFT COLUMN */
.bubble-column {
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
}

/* SPEECH BUBBLE */
.bubble {
  background: white;
  border-radius: 16px;
  padding: 15px 20px;
}

/* IMAGE BELOW BUBBLE (slightly smaller) */
.bubble-image {
  max-width: 260px;
  border-radius: 8px;
  display: none;
}

/* LESSON IMAGE CONTAINER
   - Equal space from bubble + right border
   - NOT vertically centered */
.board-content {
  position: absolute;
  top: 40px;

  /* bubble width (~360px) + gap */
  left: 420px;
  right: 40px;

  display: flex;
  justify-content: center;
}

/* BIGGER LESSON IMAGE */
.board-content img {
  max-width: 100%;
  max-height: calc(70vh - 120px);
}

/* PRACTICE GRID */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
}

.practice-button {
  background: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
}

.practice-button img {
  width: 100%;
}

/* MOBILE */
@media (max-width: 768px) {
  .home-buttons {
    flex-direction: column;
    align-items: center;
  }

  .blackboard {
    height: auto;
  }

  .board-content {
    position: static;
    margin-top: 30px;
  }

  .bubble-column {
    position: static;
  }
}
