body {
  background-color: rgb(183, 205, 233);
  font-family: inherit;
  margin: 0;
  padding: 20px 0 0;
}

/* Header styles */
.header-container {
  position: relative;
  width: 100%;
}

.top-banner-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  margin: 10;
}

header h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Courier New", monospace;
  font-size: 2rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

header p {
  position: relative;
  margin-top: 10px;
}
footer { 
  grid-area: footer; 
  text-align: center; 
}

/* Footer Layout */
.footer-content {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px auto;
  max-width: 900px; /* Increased from 800px */
}

/* Blue Text Box - Wider */
.footer-text {
  width: 1000px; /* Increased from 400px */
  padding: 25px;
  background-color: rgb(183, 205, 233);
  text-align: left;
  margin-right: auto; /* Pushes it left */
}
/* Grid layout */
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "intro"
    "content"
    "poem"
    "footer";
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: #77cc92;
}

header { 
  grid-area: header; 
  text-align: center; 
}

.intro { 
  grid-area: intro; 
  border-bottom: 1px solid #ddd; 
}

.poem { 
  grid-area: poem; 
  background-color: rgb(207, 243, 191); 
  margin: 0 auto;
  padding: 15px; 
}

/* Right Sidebar - Wider */
.right-sidebar {
  width: 250px; /* Increased from 150px */
  padding: 20px;
  background-color: rgba(207, 243, 191, 0.7);
  border: 1px solid #faa4e9;
  margin-left: auto; /* Pushes it right */
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 15px 0;
}

.sidebar-links a {
  color: darkgreen;
  text-decoration: none;
  padding: 3px 0;
}

.sidebar-links a:hover {
  color: rgb(134, 175, 224);
  text-decoration: underline;
}

.sidebar-note {
  font-size: 14px;
  margin-top: 15px;
}

.right-sidebar h3 {
  color: darkgreen;
  margin: 0 0 10px 0;
  text-align: center;
  font-size: 18px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .footer-text,
  .right-sidebar {
    width: 90%;
    margin: 0 auto;
  }
}
.clouds-container {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-text {
  width: 100%;
  padding: 125px 30px;
  background-color: rgb(183, 205, 233);
}

.clouds-container img {
  width: 170px;
  height: 170px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
  background-color: rgb(110, 158, 179);
  padding: 5px;
  pointer-events: all;
  display: inline-block; /* Ensures the link wraps the image properly */
  pointer-events: none; /* Optional: Ensures clicks pass to the <a> tag */
}

/* Love box */
.love-box {
  background-color: rgba(207, 243, 191, 0.7);
  border: 2px solid #faa4e9;
  padding: 15px;
  margin: 0 auto 20px;
  max-width: 80%;
  text-align: right;
  box-shadow: 0 4px 80px rgba(0,0,0,0.1);
}

.love-box h4 {
  margin: 0;
  font-size: 30px;
  color: #2d2d2d;
}


/* General styles */
img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

p[title] { 
  cursor: help; 
}

bdo { 
  color: darkred; 
}

cite { 
  font-style: italic; 
}

hr { 
  border: 0.5px dashed #ccc; 
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
  .clouds-container, .footer-text {
    width: 100%;
  }
}