body {
  margin: 0;
  font-family: 'AngelTears', cursive;
  color: #420007;
  background-color: #fdf9f8;
  overflow-x: hidden;
}
/* ✨ Global Paper Background — natural scale, scrolls with content */
html {
  background-image: url('../images/paper-bg.png');
  background-repeat: repeat;         /* tiles the texture if needed */
  background-position: top center;   /* aligns the top nicely */
  background-size: auto;             /* keeps original size, no zoom */
  background-attachment: scroll;     /* scrolls with the page */
  background-color: #fdf9f8;         /* fallback color if image fails */
}

body {
  background: transparent;           /* allows html background to show */
  color: #420007;
  font-family: 'AngelTears', cursive;
  margin: 0;
  overflow-x: hidden;
}



/* ✨ Static overlay texture */
#overlay {
  position: fixed;
  inset: 0;
  background: url('../images/overlay.png') repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 10;
}

/* ✨ Header Banner */
header {
  position: relative;
  text-align: center;
  background-color: #fff;
  padding: 0;
  border-bottom: 6px dotted #800A0A;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.header-banner {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

/* ✨ Nav Buttons (image-based) */
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 10px 0 20px;
}

.nav-buttons img {
  width: 100px;
  transition: transform 0.3s ease;
  cursor: pointer;
  border-radius: 10px;
}

.nav-buttons img:hover {
  transform: scale(1.1) rotate(-3deg);
}

/* ✨ Scrapbook Spread Layout */
.scrapbook {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  padding: 50px;
  z-index: 5;
}

/* ✨ The thick middle spine */
.spine {
  width: 50px;
  background-color: #800A0A;
  border-left: 3px solid #420007;
  border-right: 3px solid #420007;
  border-radius: 10px;
  margin: 0 10px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

/* ✨ Pages */
.page {
  width: 40%;
  min-height: 500px;
  background-color: rgba(255,255,255,0.95);
  background-size: cover;
  border-radius: 20px;
  border: 4px dotted #99091C;
  padding: 30px;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
  position: relative;
  z-index: 3;
}

.big-header {
  font-family: 'Persona5Menu', sans-serif;
  font-size: 3rem;
  text-align: center;
  color: #800A0A;
  margin-bottom: 15px;
}

.mid-header {
  font-family: 'PunkType', sans-serif;
  font-size: 2rem;
  color: #82275E;
  margin-bottom: 10px;
}

.contents {
  list-style: none;
  padding: 0;
  font-family: 'JunkosTypewriter';
}

/* ✨ Sticky note */
.sticky {
  background-color: #ffd8de;
  border: 2px dotted #82275E;
  border-radius: 12px;
  padding: 10px;
  font-family: 'JunkosTypewriter';
  text-align: center;
  margin-top: 15px;
  animation: shake 2s infinite ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: rotate(1deg); }
  50% { transform: rotate(-1deg); }
}

/* ✨ Footer OC Banner */
#scroll-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #420007;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff0f5;
  border-top: 4px dotted #99091C;
  z-index: 20;
  padding: 10px 0;
}

.footer-oc {
  width: 120px;
  margin-right: 20px;
  animation: floaty 3s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.footer-text {
  font-family: 'JunkosTypewriter';
  font-size: 1rem;
}

/* ✨ Nav Buttons Background */
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 10px 0 20px;

  /* Add your background */
  background-image: url('images/bg-header.jpeg');
  background-size: cover;       /* makes it fill the container */
  background-position: center;  /* centers the image */
  background-repeat: no-repeat; /* prevents tiling */
  padding: 15px 0;              /* optional: adds space around buttons */
  border-radius: 12px;          /* optional: rounded corners to match aesthetic */
}
