/* TEXT CASE CONVERTER — CREATIVE WRITER THEME */

body {
  font-family: 'Segoe UI', sans-serif;
  padding: 2rem;
  background: linear-gradient(to right, #fdf6fd, #f0f8ff);
  color: #333;
  text-align: center;
}

h1 {
  color: #7a4db6;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.converter-container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(122, 77, 182, 0.15);
}

textarea {
  width: 95%;
  height: 220px;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 10px;
  border: 2px solid #c2b5e5;
  resize: vertical;
  background-color: #fefbff;
  color: #333;
  box-shadow: inset 0 0 6px rgba(122, 77, 182, 0.08);
}

textarea::placeholder {
  color: #9a90ba;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Buttons */
button {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  background-color: #7a4db6;
  color: white;
  border: none;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 3px 10px rgba(122, 77, 182, 0.15);
}

button:hover {
  background-color: #5d3593;
  transform: translateY(-2px);
}

/* Home Button */
.home-button {
  display: block;
  margin: 2rem auto 0;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  background-color: #7a4db6;
  color: white;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.home-button:hover {
  background-color: #111;
}
