.flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.markdown-body {
  border: 1px solid black;
  border-radius: 5px;
  box-shadow: 5px 5px 5px rgba(190, 190, 190, 0.58);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

code {
  background-color: rgba(232, 231, 231, 0.884);
  padding: 0.2rem;
  border-radius: 5px;
}

.markdown-body > * {
  line-height: 2rem;
}

.editor textarea {
  width: 100%; 
  max-width: 95%;
  min-width: 400px; 
  box-sizing: border-box;
}

.editor-container form {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.editor {
  width: 50%;
}

.preview {
  width: 50%;
}

@media (max-width: 800px) {
  .editor-container form {
    flex-direction: column;
  }
  .editor {
    width: 100%;
  }
  .preview {
    margin-top: 1.5rem;
    width: 100%;
  }
}

.card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}