/* style2.css - Simple Notebook Style for Class 7 Maths */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Patrick Hand', cursive;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

.notebook-page {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 40px 30px 60px 50px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  position: relative;
  background-image: linear-gradient(to bottom, #f0f0f0 1px, transparent 1px);
  background-size: 100% 30px;
  background-position: 0 0;
}

.margin-line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to right, #ff6666 0%, #ff6666 2px, #ff9999 2px, #ff9999 4px, #ff6666 4px, #66ffa1ce 6px);
}

h1 {
  font-family: 'Caveat',;
  color: #0d74d4;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  text-decoration: underline;
}

h2 {
  color: #ac0404;
  margin: 25px 0 10px;
  font-size: 1.7rem;
  border-left: 4px solid #ff6f00;
  padding-left: 10px;
}

.chapter-content {
  margin: 25px 0;
  padding-left: 10px;
}

.simple-text {
  color: #000080;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.example-box {
  background: #fff8e1;
  border-left: 4px solid #ffb300;
  padding: 12px 15px;
  margin: 15px 0;
  border-radius: 4px;
}

.highlight {
  background: #fff8dc;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
}

.next-button {
  display: inline-block;
  padding: 10px 20px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
}

.next-button:hover {
  background: #2980b9;
}

.center-text {
  text-align: center;
  margin-top: 30px;
}

/* Simple lists */
.simple-list {
  margin-left: 25px;
  margin-top: 10px;
}

.simple-list li {
  margin: 8px 0;
}

/* Responsive design */
@media (max-width: 700px) {
  .notebook-page {
    padding: 30px 20px 40px 40px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .simple-text {
    font-size: 1.1rem;
  }
}