/* notes.css */

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 
  A generic “container” class to constrain content to 1200px 
  and center it horizontally. 
*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ========== HERO / TITLE AREA ========== */
.notes-section {
  background: linear-gradient(to right, #ff9a8e, #fad0c4);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.notes-title {
  font-size: 45px;
  font-weight: bold;
  margin-bottom: 10px;
}

.notes-description {
  font-size: 1.2rem;
}

/* ========== TOPICS GRID (3 columns just like Algebra 1) ========== */
.topics-container {
  padding: 40px 20px;
}

.topics-cards {
  display: grid;
  /* EXACTLY three cards per row, matching your Algebra 1 style */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 15px;
  text-align: center;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.topic-card a {
  text-decoration: none;
  color: inherit;
}

.topic-title {
  font-size: 1rem;
  margin: 10px 0;
}
