body {
  margin: 0;
  background: url("bg3.png") no-repeat center center fixed;
  background-size: cover;
}
/* Notebook container */
.notebook {
  width: 90%;
  max-width: 1000px;
  margin: 40px auto;
  display: flex;
  justify-content: center;
  gap: 0;
  background: #f8e8f3;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: hidden;
}

/* Each page */
.page {
  width: 50%;
  padding: 25px;
  position: relative;
  height: 500px;
  overflow-y: auto;

  background: url("notebook.jpg") center/cover no-repeat;
  /* OR try: background-size: contain; if it stretches weird */

  font-family: 'Quicksand', sans-serif;
}

/* Left + right slight variation */
.left-page {
  border-right: 2px dashed #f4b6d6;
}

.right-page {
  background: #fff5fa;
}

/* Notebook lines */
.page::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #f4b6d6;
}

.page p {
  margin-left: 30px;
  line-height: 1.6em;
}

/* Titles */
.page h2 {
  margin-left: 30px;
  color: #c97bb0;
}

/* Stickers */
.sticker-img {
  width: 80px;
  margin-top: 10px;
  border-radius: 10px;
  transition: transform 0.2s;
}

.sticker-img:hover {
  transform: scale(1.1) rotate(-5deg);
}

.notebook::before {
  content: "";
  width: 20px;
  background: repeating-linear-gradient(
    to bottom,
    #e5b6d6,
    #e5b6d6 5px,
    transparent 5px,
    transparent 10px
  );
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4); /* soft overlay */
  pointer-events: none;
}
.page * {
  position: relative;
  z-index: 1;
}


.taped {
  transform: rotate(-3deg);
  border: 5px solid white;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.taped {
  position: relative;
  display: inline-block;
}

.taped::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20%;
  width: 40px;
  height: 15px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(200,200,200,0.5);
  transform: rotate(-8deg);
  border-radius: 3px;
}

.arrow {
  font-family: 'Indie Flower', cursive;
  font-size: 1.2em;
  position: absolute;
  transform: rotate(-10deg);
  color: #7a5c7a;
}

.crossed {
  text-decoration: line-through;
  opacity: 0.7;
}

.doodle {
  position: absolute;
  font-family: 'Indie Flower', cursive;
  font-size: 1.2em;
  opacity: 0.7;
}

.star { color: #ff9ecb; }
.heart { color: #ff6fa5; }

.side-note {
  position: absolute;
  font-size: 0.8em;
  font-family: 'Indie Flower', cursive;
  transform: rotate(-6deg);
  opacity: 0.8;
}
.page {
  position: relative;
}
#notebook-pages .notebook {
  display: none;
}

#notebook-pages .notebook.active {
  display: flex;
}

.taped {
  position: relative;
  display: inline-block;
}

.notebook {
  transition: all 0.3s ease;
}

.page {
  font-family: 'Short Stack', cursive;
  color: #7a5c7a; /* soft purple */
}
.entry-date {
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: #a97ca9;
}