/* Body and overall layout with a subtle textured background */
body {
  background-image: url('picture.png'); /* Use your image here */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  /* background: #2d2b29 url('https://www.transparenttextures.com/patterns/old-wall.png') repeat; */ 
  margin: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
  line-height: 1.6;
}

/* Main title styling (outside the container) */
.main-title {
  text-align: center;
  margin: 20px 0;
}
.main-title h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 4.5em;
  color: #ffe644;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
  margin: 0;
}

/* Main container with an old-paper translucent effect */
.container {
  width: 90%;
  max-width: 900px;
  margin: 50px auto;
  background: rgba(0, 0, 0, 0.80);
  padding: 40px;
  border: 1px solid #e0d6c1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

/* Guide text styling */
.guide-text {
  font-size: 1.1em;
  margin-top: 20px;
  color: #ffffff;
  text-align: left;
  font-style: italic;
  white-space: pre-line; /* preserves intentional line breaks */
}

/* Fade-in animation for each sonnet */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Center the entire poem container */
.poem {
  display: flex;
  flex-direction: column;
  align-items: center; /* Ensures everything inside is centered */
  justify-content: center;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #aa9367;

  /* Animation */
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: calc(0.15s * var(--order));
}

/* Properly center the poem lines while keeping left alignment */
.poem-line {
  font-size: 1.2em;
  text-align: left; /* Ensures text is left-aligned */
  color: #ffffff;
  
  width: 80%; /* Centers the text block */
  max-width: 600px; /* Prevents text from stretching too much */
  margin-left: auto;
  margin-right: auto;

  /* Fix line spacing and prevent unnecessary gaps */
  line-height: 1.5; /* Adjusts spacing for readability */
  margin: 5px 0; /* Reduces excessive spacing */
  padding: 0; /* Removes any padding that may be causing extra gaps */
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
  .poem-line {
    width: 90%; /* Increases width for readability on smaller screens */
    line-height: 1.4; /* Slightly reduces spacing on mobile for compact view */
  }
}


/* Styling for each poem (sonnet) */
/* .poem {
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #aa9367;
  
  /* Hidden initially; animates into view */
  /* opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: calc(0.15s * var(--order));
} */ 
.poem:last-child {
  border-bottom: none;
}
.poem-title {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5em;
  color: #f3e817;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* .poem-line {
  font-size: 1.2em;
  margin: 8px 0;
  text-align: left; /* Keeps text left-aligned */
  /* color: #ffffff;
  
  display: block;
  width: 60%; /* Adjust width to control centering effect */
  /* margin-left: auto; /* Centers the block */
  /* margin-right: auto; /* Centers the block */
/* } */  

/* Falling snowflakes effect (radiant blue only) */
.snowflake {
  position: fixed;
  top: -10px;
  z-index: 9999;
  user-select: none;
  pointer-events: none;
  animation: fall linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* Blue snowflake glow effect */
.blue-snowflake {
  text-shadow: 0 0 14px #ffffff, 0 0 12px #ffffff, 0 0 16px #d9f0f8;
}





/* 

/////////////////////////////////////// *//* Write-ups container */
#writeups {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px dashed #aa9367; /* Creates a subtle separation */
}

/* Individual write-up block */
.writeup {
  margin-bottom: 50px;
  padding: 25px;
  background: rgba(0, 0, 0, 0.7); /* Translucent dark effect */
  border-left: 5px solid #f3e817; /* Adds a golden highlight on the left */
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255, 230, 68, 0.2); /* Soft glowing effect */
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: calc(0.2s * var(--order)); /* Staggered animation */
}

/* Write-up section title */
.writeup h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2em;
  color: #ffe644;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

/* Write-up content */
.writeup p {
  font-size: 1.2em;
  color: #ffffff;
  line-height: 1.7;
  margin: 10px 0;
  text-align: left;
  text-indent: 20px;
}

/* Add subtle glowing effect to text */
.writeup p:hover {
  color: #f3e817;
  transition: color 0.3s ease-in-out;
}

/* Separator for different write-ups */
.writeup:not(:last-child) {
  border-bottom: 1px dashed #aa9367;
  padding-bottom: 20px;
}


/* Style for AURTHER link */
.aurther-link {
  display: inline-block;
  font-size: 1.5em;
  font-weight: bold;
  color: #f3e817; /* Golden Color */
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(243, 232, 23, 0.8); /* Glowing Effect */
  transition: all 0.3s ease-in-out;
}

/* Hover Effect */
.aurther-link:hover {
  color: #ffdd44;
  text-shadow: 3px 3px 15px rgba(255, 221, 68, 1);
  transform: scale(1.1);
}












/* 
///////////////////////////////////////////////////////////////////////// */
/* Floating Author Section - Top Left */

/* Floating Author Section - Top Left */
.author-section {
  position: absolute;
  top: 5%;
  left: 5%;
  width: auto; /* Adjust width dynamically */
  max-width: 500px; /* Prevents it from being too wide */
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Dark translucent background */
  color: #f3e817; /* Golden text */
  font-family: 'Playfair Display', serif;
  border-radius: 10px;
  text-align: left; /* Aligns text to the left */
  box-shadow: 0px 0px 20px rgba(255, 230, 68, 0.4); /* Soft golden glow */
  display: flex;
  flex-direction: column; /* Stacks text in a vertical block */
  animation: fadeInUp 1s ease-in-out;
}

/* Author Section Header */
.author-section h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #ffdd44;
  text-shadow: 2px 2px 10px rgba(255, 221, 68, 0.8);
}

/* Text Styling */
.author-section p {
  font-size: 1em;
  line-height: 1.5;
  margin: 5px 0;
}

/* Support Text */
.support-text {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffdd44;
}

/* Author Links */
.author-links {
  display: flex;
  flex-direction: row; /* Align links horizontally */
  gap: 10px;
}

.author-links a {
  color: #ffe644;
  text-decoration: none;
  transition: 0.3s;
}

.author-links a:hover {
  color: #ffffff;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
}

/* Meeting Link */
.meeting-text {
  margin-top: 5px;
  font-style: italic;
}

.meeting-text a {
  color: #f3e817;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.meeting-text a:hover {
  text-shadow: 0px 0px 10px rgba(255, 230, 68, 0.8);
}
