body {
  background-color: white;
  color: #181818;
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin: 0;
}


#editor {
  width: 600px;
  height: 400px;
  padding: 8px;
  border: 2px solid #181818;
  border-radius: 8px;
  margin-bottom: 10px;
}

.buttons {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

button {
  border-radius: 8px;
  background-color: #000;
  color: white;
  border: 2px solid white;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  height: fit-content;
}

button:hover {
  background-color: #555;
}

button:focus {
  outline: none;
}

#outputPanel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background-color: #ffffffec;
  color: rgb(0, 0, 0);
  overflow-y: auto;
  transition: right 0.5s ease;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

#outputPanel.open {
  right: 0;
}

#outputContent {
  padding: 20px;
  margin-top: 20px;
}

#closeBtn {
  background-color: rgb(201, 66, 66);
  border: none;
  color: white;
  font-size: 1rem;
  padding: 8px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}


/* Difficulty Level */
.difficultyContainer {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.difficultyContainer span {
  font-size: 24px;
  margin: 5px;
  cursor: pointer;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
}
