#root {
  /* max-width: 1280px;
   */
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;

  height: 100vh;
  background-color: #f5f5f5;
  width: 100%;
}

.output-text {
  color: #1ac01a; /* Default color */
  margin-top: 50px;
  padding: 20px;
}

.error-text {
  color: rgb(247, 100, 100); /* Color for error text */
}

.app-container {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

/* Grid Layout */
.editor-container,
.output-container {
  height: 90vh;

  /* border: solid 2px black; */
}

/* Editor Styling */
.editor-container h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #333;
}

.editor-container button {
  margin-left: auto; /* Align button to the right */
}

/* Output Styling */
.output-container {
  overflow-y: auto; /* Enable scrolling for long output */
}

/* // Apply custom styles in your CSS */
.monaco-editor .forLoop {
  color: #007bff;
}

.output-container h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
  color: #555;
}

.output-container h6 {
  text-align: left;
  font-family: monospace;
  font-size: 14px;
  padding: 10px;
  border-radius: 5px;
  background-color: #f0f0f0;
  line-height: 30px;
  /* color: rgb(247, 100, 100); */
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}
