
#maindiv {
    font-family: Georgia, Times New Roman; 
    font-size:xx-large;
  color: rgba(140, 14, 195, 0.666);
  text-align: center;
}

.paragraph1 {
    font-family:Lucida Handwriting, Monaco, Papyrus, Times New Roman;
    font-size:xx-large;
    color:rgba(253, 9, 143, 0.976);
    font-weight: bolder;
    text-align: center;
}

.paragraph2 {
    font-family:Lucida Handwriting, Monaco, Papyrus, Times New Roman;
    font-size:x-large;
    font-weight: bold;
    color:rgba(93, 3, 227, 0.995);
    text-align: center;
}

.paragraph3{
    font-family:Luminari, Lucida Handwriting;
    font-size: xx-large;
    font-weight: bolder;
    color: rgb(0, 0, 0);
    text-align: center;
    
}


body {
    /* Points to the image inside your images folder */
    background-image: url('images/pinkglitter4.jpg');
    
    /* Optional styling to make the background look good */
    background-repeat: no-repeat; /* Prevents the image from repeating like a tile */
    background-size: cover;       /* Scales the image to fill the entire screen */
    background-position: center;  /* Centers the image */
    background-attachment: fixed;  /* Keeps the image in place while scrolling */
}

#maindiv h1 {
  font-size: clamp(32px, 7vw, 64px);
  line-height: 1.15;
  padding: 0 15px;
}

.welcome-card {
  max-width: 950px;
  margin: 45px auto;
  padding: 35px 25px;
  box-sizing: border-box;

  background-color: rgba(247, 183, 247, 0.85);
  border: 2px solid #f3c4e4;
  border-radius: 30px;
  box-shadow: 0 12px 35px rgba(91, 35, 120, 0.2);
}

.welcome-card hr {
  border: 0;
  height: 2px;
  width: 70%;
  margin: 30px auto;
  background: linear-gradient(
    to right,
    transparent,
    #dda5d5,
    transparent
  );
}
.welcome-card .paragraph3 {
  color: #673779;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.5;
  margin: 25px 0 10px;
}

.besties-scene {
  position: relative;
  width: min(90%, 420px);
  margin: 60px auto 30px;
}

.besties-scene img {
  display: block;
  width: 100%;
  height: auto;
}

.floating-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-hearts span {
  position: absolute;
  top: 25%;
  color: #ff258f;
  font-size: 36px;
  text-shadow: 0 0 12px #ffffff;
  opacity: 0;
  animation: float-heart 4s ease-out infinite;
}

.floating-hearts span:nth-child(1) {
  left: 20%;
}

.floating-hearts span:nth-child(2) {
  left: 50%;
  animation-delay: 1.3s;
}

.floating-hearts span:nth-child(3) {
  left: 75%;
  animation-delay: 2.6s;
}

@keyframes float-heart {
  0% {
    transform: translateY(0) scale(0.7);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translateY(-130px) scale(1.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-hearts span {
    animation: none;
    opacity: 1;
  }
}
.floating-hearts span:nth-child(4) {
  left: 35%;
  color: #b65ce0;
}

.floating-hearts span:nth-child(5) {
  left: 65%;
  color: #ff70b7;
}

.floating-hearts span:nth-child(6) {
  left: 85%;
  color: #b65ce0;
}

.glitter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glitter span {
  position: absolute;
  color: #fff2ad;
  font-size: 24px;
  text-shadow: 0 0 6px #ffb8e1, 0 0 12px #da95ff;
  animation: twinkle 3s ease-in-out infinite;
}

.glitter span:nth-child(1) {
  left: 5%;
  top: 15%;
}

.glitter span:nth-child(2) {
  left: 90%;
  top: 10%;
  animation-delay: -1s;
}

.glitter span:nth-child(3) {
  left: 40%;
  top: 2%;
  animation-delay: -2s;
}

.glitter span:nth-child(4) {
  left: 8%;
  top: 65%;
  animation-delay: -0.5s;
}

.glitter span:nth-child(5) {
  left: 92%;
  top: 60%;
  animation-delay: -1.5s;
}

.glitter span:nth-child(6) {
  left: 55%;
  top: 92%;
  animation-delay: -2.5s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.6);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glitter span {
    animation: none;
  }
}

.glitter span:nth-child(7) {
  left: 18%;
  top: 35%;
  animation-delay: -0.8s;
  font-size: 16px;
}

.glitter span:nth-child(8) {
  left: 75%;
  top: 30%;
  animation-delay: -1.8s;
  color: #ffc5e8;
}

.glitter span:nth-child(9) {
  left: 30%;
  top: 75%;
  animation-delay: -2.3s;
  font-size: 18px;
}

.glitter span:nth-child(10) {
  left: 65%;
  top: 50%;
  animation-delay: -0.3s;
  color: #e2c5ff;
}

.glitter span:nth-child(11) {
  left: 2%;
  top: 85%;
  animation-delay: -1.3s;
  font-size: 20px;
}

.glitter span:nth-child(12) {
  left: 85%;
  top: 88%;
  animation-delay: -2.8s;
  color: #ffc5e8;
}
.welcome-wrap {
  position: relative;
  isolation: isolate;
  max-width: 950px;
  margin: 45px auto;
}

.welcome-wrap > .welcome-card {
  position: relative;
  z-index: 1;
  margin: 0;
  background-color: rgba(255, 240, 250, 0.55);
}

.welcome-wrap::before {
  content: "♥";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  top: -165px;
  left: 50%;
  transform: translateX(-50%);

  font-family: Arial, sans-serif;
  font-size: 300px;
  line-height: 1;
  color: #f358aa;
  text-shadow: 0 0 20px rgba(255, 160, 215, 0.7);
  display: none;
}

.heart-heading {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  isolation: isolate;
}

.heart-heading::before {
  content: "";
  position: absolute;
  top: 0;
bottom: 0;
left: 50%;
width: 75%;
transform: translateX(-50%);
filter: drop-shadow(0 0 8px rgba(237, 131, 189, 0.35));
  z-index: -1;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300' preserveAspectRatio='none '%3E%3Cpath d='M400 65 C280 -20 20 0 25 100 C30 190 260 255 400 285 C540 255 770 190 775 100 C780 0 520 -20 400 65Z' fill='%23fff0f8' stroke='%23ed83bd' stroke-width='4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
}

#maindiv.heart-heading h1 {
  max-width: 80%;
  margin: 0;
  padding: 0;
 font-size: clamp(28px, 4vw, 48px);
}

/* BUBBLES*/

body {
  isolation: isolate;
}

#home-bubbles {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.sparkly-bubble {
  position: absolute;
  bottom: -100px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);

  background: radial-gradient(
    circle at 30% 25%,
    rgba(255, 255, 255, 0.65),
    rgba(255, 205, 235, 0.12) 35%,
    rgba(181, 224, 255, 0.2) 65%,
    rgba(245, 178, 231, 0.45)
  );

  box-shadow:
    inset -4px -4px 10px rgba(226, 172, 255, 0.35),
    0 0 10px rgba(255, 220, 245, 0.4);

  opacity: 0;
  animation: bubble-rise 20s linear infinite;
}

/* A little reflected highlight */
.sparkly-bubble::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 20%;
  width: 23%;
  height: 12%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  transform: rotate(-40deg);
}

/* A twinkling sparkle inside each bubble */
.sparkly-bubble::after {
  content: "✧";
  position: absolute;
  right: 12%;
  bottom: 10%;
  font-size: 18px;
  color: white;
  text-shadow: 0 0 6px #ffd1ed;
  animation: bubble-twinkle 3s ease-in-out infinite alternate;
}

@keyframes bubble-rise {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  15%, 80% {
    opacity: 0.75;
  }

  100% {
    transform: translate(
      var(--drift),
      calc(-100vh - 200px)
    );
    opacity: 0;
  }
}

@keyframes bubble-twinkle {
  from {
    opacity: 0.25;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  #home-bubbles {
    display: none;
  }
}

