/* Fullscreen background */
body, html {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(to bottom,#f18323 20%, #b06320 80%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #111;
  text-align: center;
  padding: 2rem;
}

/* Title at top */
.hero-title {
  color: #fff;
  text-shadow: none;
  font-size: 90px;
  font-weight: 400;
  margin: 0;
}

/* Content card */
.content-card {
  background: none;      /* no more card */
  border-radius: 0;
  box-shadow: none;
  max-width: 800px;      /* keep some readable line width */
  width: 100%;
  padding: 0;            /* let sections define their own spacing */
  color: #111;
}

/* Existing poem styles */
.poem-card {
 background: none;
 border: none;
 border-radius: 0;
 box-shadow: none;
 padding: 1rem 0;
 white-space: pre-wrap;
 text-align: left;
}

.poem-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-width: 2px;
}

.poem-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

#poemDisplay{
  margin: 0;
}
/* Buttons */
button {
  background-color: rgb(24, 35, 42);
  color: white;
  border: none;
  border-radius: 10px;
  height: 40px;
  width: 80px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  margin-left: 15px;
  margin-right: 15px;
}

button:hover {
  background: #822f00;
}

/* Mobile tweaks */
@media (max-width: 1000px) {

}


.hero-nav {
    display: flex;
    flex-direction: row;
    justify-content: center; /* or space-around / space-evenly */
    align-items: center; /* vertically center items */
    gap: 30px;
    width: 100%; /* make nav span full width */
    padding: 0 20px; /* optional horizontal padding */
}

.hero-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: opacity 0.3s;
  text-align: center;
}

.hero-nav a:hover {
  opacity: 0.7;
}

section {
  margin: 2rem 0;
  text-align: left;
}

#poemInput {
  width: 500px;       /* width of the textarea */
  height: 100px;      /* height of the textarea */
  padding: 10px;      /* space inside the textarea */
  font-size: 16px;    /* text size */
  resize: both;       /* allow user to resize manually */
  border: 1px solid #ccc; /* optional border */
  border-radius: 5px; /* optional rounded corners */
  display: block;
}
