* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Sans MS', cursive, sans-serif; /* Playful font */
  line-height: 1.6;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb); /* Gradient background */
  color: #333;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff6f61, #ffcc5c); /* Gradient header */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-right {
    text-align: right;
}


header h1 {
  font-size: 2.5rem;
  color: #fff; /* White text on gradient */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
  font-size: 1rem;
  color: #fff;
  margin-top: 10px;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section {
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb); /* Gradient section */
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 2rem;
  color: #ff6f61; /* Vibrant heading color */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.split-panel {
  display: flex;
  gap: 20px;
}

textarea,
pre {
  width: 50%;
  height: 200px;
  padding: 10px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  border: 2px solid #ff6f61; /* Vibrant border */
  border-radius: 10px;
  resize: vertical;
  transition: all 0.3s ease;
}

textarea {
  background-color: #fff;
  color: #333;
}

textarea:focus {
  outline: none;
  border-color: #ffcc5c; /* Highlight on focus */
  box-shadow: 0 0 8px rgba(255, 204, 92, 0.5);
}

pre {
  background-color: #fbc2eb; /* Soft pink background */
  color: #333;
  overflow-x: auto;
}

button {
  padding: 10px 20px;
  background: linear-gradient(45deg, #ff6f61, #ffcc5c); /* Gradient button */
  color: #fff;
  border: none;
  border-radius: 20px; /* Rounded corners */
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
  background: linear-gradient(45deg, #ffcc5c, #ff6f61); /* Reverse gradient */
  transform: scale(1.05); /* Slightly enlarge on hover */
}

@media (max-width: 768px) {
  .split-panel {
    flex-direction: column;
  }

  textarea,
  pre {
    width: 100%;
  }
}

footer {
  text-align: center;
  margin-top: 20px;
  background: linear-gradient(45deg, #ff6f61, #ffcc5c); /* Gradient footer */
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer p {
  color: #fff;
  font-size: 1rem;
}