body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s ease;
}

.homeNav {
  position: absolute;
  top: 10px;
  left: 10px;
  text-decoration: none;
  color: #007BFF;
  font-weight: bold;
  transition: color 0.2s ease;
}

.homeNav:hover {
  color: #e12108;
}

.container {
  text-align: center;
}

#output {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: auto; /* Adjusts the width based on content */
  min-width: 300px; /* Minimum width to prevent box from shrinking */
  max-width: 100%; /* Prevents box from becoming too wide */
  border: 5px solid #000;
  background-color: #ffffff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  word-wrap: break-word; /* Ensures long words wrap correctly */
  box-sizing: border-box; /* Includes padding and border in width calculations */
}

.emoji-display {
  font-size: 3em;
  margin-bottom: 10px;
}

.bold {
  font-weight: bold;
  font-size: 2.5em;
  margin: 0;
  white-space: nowrap; /* Prevents word from wrapping unnecessarily */
}

.subtext {
  font-size: 1.5em;
  margin-top: 10px;
}

.italic {
  font-style: italic;
}

.small-text {
  font-size: 0.7em;
}

.smaller-text {
  font-size: 1.8em;
  font-weight: bold;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}
