/* ✿ Existing Styles — untouched ✿ */
body {
  background: url("Lace.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: Darkmagenta;
  font-family: 'merriweather';
  cursor: url("snailcursor.GIF"), auto;
}

h1 { 
  color: #E45E9D;
  text-align: center;
  margin: 0;
  font-size: 3rem;
}

.header-container {
  position: relative;
  top: 100px;
  text-align: center;
}

.heading-with-border {
  display: inline-block;
  text-align: center;
  width: 100%;
  padding-bottom: 30px;
  background-image: url('floralborder.png');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 30px;
}

/* ✿ Corner Photo + Bubble ✿ */
.photo-wrapper {
  position: absolute;
  bottom: 525px;
  left: 10%;
}
   
.corner-photo {
  width: 95px;
  height: auto;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.speech-bubble {
  position: absolute;
  bottom: 60%;
  left: 90%;
  background: #fff8dc;
  color: #a45aa0;
  padding: 10px 15px;
  border-radius: 15px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent #fff8dc transparent transparent;
}

.photo-wrapper:hover .speech-bubble {
  opacity: 1;
  transform: translateY(-5px);
}

.photo-wrapper:hover .corner-photo {
  transform: scale(1.05);
}

/* ✿ Bible + About Layout ✿ */
.bible-about-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin-top: 120px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 80px;
  box-sizing: border-box;
}

h2 {
  color: #C6C870;
}

#bible-section {
  background: rgba(255, 255, 180, 0.45);
  text-align: center;
  color: #5a4b2f;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 3px dotted;
  border-color: #C6C870;
  border-radius: 12px;
  padding: 25px;
  flex: 0 1 40%;
  height: 480px;
  margin-right: 30px;
  overflow-y: auto;
}

#about-me {
  background: rgba(255, 255, 180, 0.45);
  border-radius: 12px;
  text-align: center;
  color: #5a4b2f;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
  padding: 20px;
  flex: 0 1 95%;
  min-height: 520px;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
/* 🌸 Colored scrapbook borders for feature boxes */
#about-me .collage-item {
  border: 3px dotted;   /* gives them visible dotted borders */
  border-radius: 12px;
  background: none;     /* transparent background */
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease;
}

/* 🎨 Each box gets its own border color */
#about-me .collage-item:nth-child(1) { border-color: #FAC1B5; }  /* Soft Roses */
#about-me .collage-item:nth-child(2) { border-color: #C59FBE; }  /* Lavender */
#about-me .collage-item:nth-child(3) { border-color: #98B8B9; }  /* Eucalyptus */
#about-me #song-box { border-color: #F283AE; }                   /* Pink Tulips */

/* 🩷 Optional: soft hover lift */
#about-me .collage-item:hover {
  transform: scale(1.03);
}
/* ✿ Inner boxes in About section ✿ */
.feature-box {
  background: none;
  border-radius: 12px;
  padding: 15px;
  margin: 12px 0;
  width: 85%;
  box-shadow: none;
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: scale(.6);
}

.feature-box h2 {
  font-family: 'Dancing Script', cursive;
  margin-bottom: 10px;
}

/* ✿ Scrapbook-style uneven borders ✿ */
.feature-box:nth-child(1) {
  border: 3px dotted #FAC1B5; /* Soft Roses */
  width: 30%;
}

.feature-box:nth-child(2) {
  border: 3px dashed #C59FBE; /* Lavender */
  width: 55%;
}

.feature-box:nth-child(3) {
  border: 3px solid #F283AE; /* Pink Tulips - Song box */
  width: 95%;
  height: 260px;
}

.feature-box:nth-child(4) {
  border: 3px dashed #98B8B9; /* Eucalyptus */
  width: 75%;
}

.feature-box:nth-child(5) {
  border: 3px dotted #C6C870; /* Tulip Stems */
  width: 80%;
}

/* ✿ Song box YouTube style ✿ */
#song-box iframe {
  width: 70%;
  height: 180px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: block;
  margin-top: 20px;
}

/* ✿ Cute photo grid ✿ */
.photo-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.photo-grid img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.05);
}

/* ✿ Navigation ✿ */
nav {
  text-align: center;
  margin: 20px 0;
  position: relative;
  z-index: 10;
}

nav a {
  display: inline-block;
  margin: 5px;
  padding: 10px 18px;
  border: 2px solid #f5deb3;
  border-radius: 25px;
  background-color: #fff8dc;
  color: #333;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: #fffac7;
  border-color: #deb887;
  color: #000;
}

.back-button { 
  display: inline-block;
  margin: 10px 0;
  padding: 10px 16px;
  background-color: #f8d9c4;
  color: #5a2a0a;
  text-decoration: none;
  border-radius: 12px;
  font-family: Georgia, serif;
  font-size: 16px;
  transition: background 0.3s;
}

.back-button:hover {
  background-color: #f3b47a;
}

/* ✿ To-do List Area ✿ */
.photo-bg {
  background-image: url('pkclip.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  width: 60%;
  height: 500px;
  float: right;
  position: relative;
  margin: 20px 0;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 39%;
  left: 75%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #a785c1;
  font-size: 1.2em;
  z-index: 2;
}

.overlay h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.overlay ul {
  list-style: none;
  padding: 0;
}

.overlay li {
  padding: 5px 0;
  font-size: 1.1rem;
}

/* ✿ Sparkles ✿ */
.sparkle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.8;
  transform: translate(-50%, -50%);
  animation-name: sparkle-fade;
  transition-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes sparkle-fade {
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50%, 0px), calc(-50% - 15px)) scale(2);
    opacity: 0;
  }
}

/* ✿ Meet the Creator ✿ */
.creator-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.creator-text {
  flex: 1 1 250px;
  text-align: center;
}

.creator-photo img {
  width: 160px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.creator-photo img:hover {
  transform: scale(1.05);
}

.photo-bg {
  position: absolute;
  top: 980px;
  right: 5%;
  width:280px;
  height: 280px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(-3deg);
  z-index: 100;
}

.photo-bg .overlay {
  position: absolute;
  top: 55%;
  left:50%;
  transform: translate(-50, -50);
  text-align: center;
  color: #C59FBE;
  font-size: 0.3rem;
  
}


/* ✿ Creator Section Grid Layout ✿ */
.collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two boxes per row */
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
  position: relative;
}

.box {
  border: 3px dotted;
  border-radius: 12px;
  padding: 20px;
  width: 240px;
  height: 180px;
  transform-style: transform 0.3s ease;
  z-index: 2;
}

.box1 { border-color: #F283AE;}
.box2 { border-color: #C59FBE;}
.box3 { border-color: #98B8B9;}
.box4 { border-color: #C6C870;}
.box5 { border-color: #FAC1B5;} 

.box5 {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.box5 img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
}

.collage-item {
  width: 300px;
  height: 300px;
  border: 3px dotted #FAC1B5;
  border-radius: 12px;
  background: rgba(255, 255, 180, 0.45);
  text-align: center;
  color: #5a4b2f;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease;
}

.collage-item:hover {
  transform: scale(1.03);
}

/* Slightly taller for the song box */
#song-box {
  height: 340px;
}

#song-box iframe {
  width: 90%;
  height: 180px;
}

/* Responsive fix */
@media (max-width: 900px) {
  .collage {
    grid-template-columns: 1fr; /* stack on smaller screens */
  }
  .collage-item {
    width: 90%;
    height: auto;
  }
}


/* ✿ Responsive ✿ */
@media (max-width: 900px) {
  .bible-about-wrapper {
    flex-wrap: wrap;
    padding: 0 20px;
  }

  #bible-section,
  #about-me {
    flex: 1 1 100%;
    height: auto;
  }

  .feature-box {
    width: 95% !important;
  }

}










