/* General body styling */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  min-height: 100vh; /* Ensure the body takes up the full viewport height */
  background-color: #121212; /* Dark background */
  color: #ffffff; /* Light text color */
}

/* Container styling */
.container {
  text-align: center;
  background: #1e1e1e; /* Slightly lighter dark background */
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  width: 90%;
  max-width: 400px;
  transition: all 0.3s ease; /* Smooth transition for changes */
}

/* Heading styling */
h1 {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 40px;
  color: #ffffff; /* Light text color */
  font-weight: 500;
}

/* Textarea styling */
textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif; /* Set the font to match the rest of the app */
  border: 1px solid #333333; /* Darker border */
  border-radius: 4px;
  margin-bottom: 10px;
  resize: none;
  background-color: #2a2a2a; /* Dark background for textarea */
  color: #ffffff; /* Light text color */
  box-sizing: border-box;
}

/* Button styling */
button {
  background-color: #007bff; /* Blue button */
  color: white;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-top: 10px;
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
  width: 100%; /* Full-width button */
  box-sizing: border-box; /* Ensure padding is included in the width */
}

button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Output container styling */
#outputContainer {
  margin-top: 20px;
}

/* Output text styling */
#outputText {
  margin-top: 40px;
  background: #2a2a2a;
  padding: 20px;
  border: 1px solid #333333;
  border-radius: 4px;
  word-wrap: break-word;
  font-size: 16px;
  color: #ffffff; /* Light text color */
  text-align: left; /* Align text to the left */
}

/* Media query for small viewports (500px and below) */
@media (max-width: 500px) {
  .container {
    width: 100%; /* Make the container cover the full width */
    max-width: none; /* Remove the max-width restriction */
    border-radius: 0; /* Remove rounded corners */
    box-shadow: none; /* Remove the box shadow */
    padding: 40px; /* Keep some padding for content */
    background: none;
  }

  body {
    background-color: #1e1e1e; /* Slightly lighter dark background */
  }
}
