/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

h1 {
  font-size: 2.5rem;
}

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0;
}

.col-md-6 {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
  padding: 0 5px;
}

@media screen and (max-width: 768px) {
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Header */
header {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-weight: bold;
}

/* Editor */
.editor {
  height: 300px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  resize: vertical;
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Button */
.button {
  display: inline-block;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button--primary {
  background-color: #007bff;
  color: #fff;
}

.button--primary:hover {
  background-color: #0069d9;
}

/* Checkbox */
.form-check {
  margin-top: 10px;
}

.form-check input[type="checkbox"] {
  margin-right: 5px;
}

.form-check label {
  font-size: 1rem;
  font-weight: normal;
}

/* Preview */
.preview {
  height: 300px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  overflow-y: scroll;
  font-size: 1.2rem;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .preview {
    margin-top: 20px;
  }
}