
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 20px;
  background: #000000;
}
h1 {
  text-align: center;
  color: #f8870d;
}
.container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.buttons{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}
button{
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    background-color: #f8870d;
}
textarea {
  width: 50%;
  height: 550px;
  padding: 10px;
  font-size: 16px;
  border: none;
  color: #161616;
  border-radius: 10px;
  resize: none;
  outline: none;
  line-height: 1.8;
}
.preview {
  width: 50%;
  height: 550px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
}
.preview h1 {
  font-size: 28px;
}
.preview h2 {
  font-size: 24px;
}
.preview h3 {
  font-size: 20px;
}
.preview p {
  margin: 10px 0;
}
.preview code {
  background: #f4f4f4;
  padding: 2px 4px;
  border-radius: 4px;
  font-family: monospace;
}
.preview pre {
  background: #eee;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}
.preview a {
  color: #3498db;
  text-decoration: none;
}
.preview a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  textarea,
  .preview {
    width: 100%;
    height: 300px;
  }
}
