/* ----------------- Page Setup ----------------- */
body {
  background-color: #aa6f81;           /* page background color */
  font-family: 'Faustina', serif;      /* paragraph text font */
  color: #361922;                       /* text color */
  padding: 0 40px;                      /* space from left/right edges */
  margin: 0;
}

/* Header */
h1 {
  font-family: 'Abril Fatface', serif; /* header font */
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Paragraph spacing */
p {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ----------------- Middle Section ----------------- */
.middle-section {
  background-image: url('notepad.jpg'); /* your background image */
  background-size: cover;                 /* image covers entire section */
  background-position: center;            /* centers the image */
  background-repeat: no-repeat;

  display: flex;               /* enable flexbox for vertical centering */
  justify-content: center;     /* horizontal centering */
  align-items: center;         /* vertical centering */

  min-height: 400px;           /* height of section */
  padding: 50px;               /* space inside the section */
  margin: 30px 0;              /* space above and below section */
  border-radius: 10px;
  text-align: center;
  color: #361922;
}

/* Container for text + buttons in middle section */
.middle-content {
  display: flex;
  flex-direction: column;     /* stack paragraphs and buttons vertically */
  align-items: center;
  gap: 20px;                  /* space between paragraphs and buttons */
}

/* ----------------- Buttons (Images) ----------------- */
.button-group {
  display: flex;              /* line up buttons horizontally */
  gap: 15px;                  /* space between images */
}

.button-image {
  width: 350px;               /* button size */
  height: auto;               /* keep aspect ratio */
  border-radius: 8px;
  cursor: pointer;            /* pointer on hover */
  transition: transform 0.2s, opacity 0.2s;
}

.button-image:hover {
  transform: scale(1.05);     /* slight zoom */
  opacity: 0.9;               /* subtle fade */
}

/* ----------------- Optional: Paragraph spacing inside middle section ----------------- */
.middle-section p {
  margin: 0;                  /* remove extra margin if needed */
}
.bottom-line {
  border: none;                /* remove default border */
  border-top: 4px solid #361922; /* thickness and color */
  width: 80%;                  /* width of the line (adjustable) */
  margin: 40px auto 0 auto;    /* centers the line horizontally */
  font-weight: bold;           /* optional, just in case */
}
/* -------- Responsive layout for smaller screens -------- */
@media (max-width: 699px) {
  .button-group {
    flex-direction: column;   /* stack buttons vertically */
    align-items: center;      /* center them */
    gap: 20px;                /* add space between buttons */
  }

  .button-image {
    width: 180px;             /* make buttons a bit bigger on phones */
  }

  .middle-section {
    padding: 30px;            /* slightly smaller padding for mobile */
  }
}

.back-button {
  width: 60px;              /* size of the arrow */
  height: auto;             /* keeps proportions */
  display: block;           /* lets us center it easily */
  margin: 30px auto;        /* centers the image horizontally */
  cursor: pointer;          /* shows hand cursor on hover */
  transition: transform 0.2s, opacity 0.2s;
}

.back-button:hover {
  transform: scale(1.1);    /* small zoom on hover */
  opacity: 0.9;             /* subtle fade effect */
}
/* Back-to-home arrow in top-left corner */
.back-container {
  position: fixed;     /* fixes it to a specific spot */
  top: 20px;              /* distance from the top of the page */
  left: 20px;             /* distance from the left side */
  z-index: 1000;          /* keeps it on top of other elements */
}

.back-button {
  width: 50px;            /* adjust size as you like */
  height: auto;
  border-radius: 8px;     /* curved edges to match other buttons */
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.back-button:hover {
  transform: scale(1.1);
  opacity: 0.9;
}


