@font-face {
  font-family: "DancingScript";
  src: url("DancingScript-Regular.ttf") format("truetype"); /* Make sure the font path is correct */
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f9f3e6; /* Very light warm paper color */
}

.container {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.left-page {
  flex: 1;
  position: relative;
  overflow: hidden; /* Hide overflow */
}

.notebook-image {
  width: 100%; /* Full width */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Remove bottom space */
}

.right-page {
  flex: 1;
  background-color: #f0e6c2; /* Light warm paper */
  padding: 20px;
  overflow: auto;
  height: 100vh; /* Ensures both pages are aligned */
  font-family: "DancingScript", cursive; /* Handwritten font */
  font-size: 1.5rem; /* Increased page size */
  color: #000000;
  position: relative;
}

.right-page a {
  color: #000000;
  text-decoration: underline; /* Underlined links */
}

.lines {
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 19px,
    rgba(4, 4, 4, 0.3) 20px,
    rgba(7, 7, 7, 0.3) 21px
  );
}

@media (max-width: 768px) {
  .container {
    flex-direction: column; /* Stack vertically on mobile */
  }
  .left-page,
  .right-page {
    height: auto; /* Auto height for mobile */
    width: 100%; /* Full width */
    padding: 10px; /* Padding for mobile */
  }
}
