/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #111827;
}

/* Heading & Description */
.toolheading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
}

.description {
  font-size: 1.1rem;
  color: #4b5563;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Text Area */
#textOutput {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  font-size: 1rem;
  border: 2px solid #d1d5db;
  background-color: #fff;
  border-radius: 12px;
  resize: vertical;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s;
}

#textOutput:focus {
  border-color: #2563eb;
  outline: none;
}

/* Toolbox Button Styles */
.toolbox {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.toolbox button {
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toolbox button:first-child {
  background-color: #111827;
  color: #ffffff;
}

.toolbox button:first-child:hover {
  background-color: #1f2937;
}

.downloadbutton {
  background-color: #2563eb;
  color: #ffffff;
}

.downloadbutton:hover {
  background-color: #1d4ed8;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .toolheading {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
    padding: 0 15px;
  }

  #textOutput {
    font-size: 0.95rem;
  }

  .toolbox {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbox button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Optional: Background Animation Blobs */
.myanime {
  animation: float 8s ease-in-out infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(3deg);
  }
}
