.editor-background {
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, .9);
  display: flex;
  align-items: center;
}

.editor-container {
  height: 100%;
  width: 100%;
  max-height: 800px;
  max-width: 1000px;
  padding: 20px 40px 40px;
  margin-bottom: 0;
}

.editor {
  overflow-y: auto;
  height: 100%;
  margin-bottom: 0;

  &__title {
    height: 30px;
    margin-bottom: 10px;
  }

  &__text-area {
    min-height: 100px;
    max-height: 300px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  &__preview {
    padding: 10px;
  }

  &__submit {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
  }

  &__error-message {
    margin-bottom: 10px;
  }
}
