* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Segoe UI', sans-serif;
  background: #f3f3f3;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 100vh;
}


main {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  text-align: center;
}


h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
}


form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}


input[type="text"] {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1em;
  width: 240px;
  transition: border-color 0.3s;
}

input[type="text"]:focus {
  border-color: #007bff;
  outline: none;
}


input::placeholder {
  color: #999;
  font-style: italic;
}


input[type="submit"] {
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}


div p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #444;
  margin-top: 10px;
}


footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9em;
  color: #666;
}

footer a {
  color: #007bff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


form small {
  margin-top: auto;
  flex-basis: 100%;
  order: 99;
text-align: left;
margin-left: 199px;
transition: opacity. 250 ms ease;
}
small {
  flex-basis: 100%;
  text-align: left;
  margin-top: 8px;
  font-size: 0.9em;
  color: #666;
}

.poem {
  font-size: 1.2em;
  line-height: 1.6;
  color: #444;
  margin-top: 20px;
  text-align: center;
  white-space: pre-wrap; /* mantém quebras de linha do JS */
}

