html {
  height: 100vh;
  background: linear-gradient(to bottom right, plum, cyan);
}

body {
  height: 96vh;
}

.row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.form-group {
  display: flex;
}

.primary-form label {
  font-size: 20px;
}

.primary-form div {
  margin-left: 4px;
  margin-right: 4px;
}

.aesthetic-suboptions.hidden {
  visibility: hidden;
  position: absolute;
  height: 0;
  overflow: hidden;
}

h1 {
  text-align: center;
  color: white;
}

label {
  font-size: 18px;
  color: white;
  user-select: none;
}

input[type="checkbox" i] {
  margin: 6px;
}

.textarea-container {
  height: 72%;
}

.textarea-container div {
  flex: 1;
  width: 96%;
  height: 96%;
}

textarea {
  display: block;
  font-size: 20px;
  height: inherit;
  width: inherit;
  margin-left: auto;
  margin-right: auto;
  resize: none;
}

textarea#aesthetic-text {
  font-family: monospace;
}

button {
  font-size: 16px;
  border-radius: 4px;
  padding: 8px 12px;
  color: white;
  border-color: white;
  background: linear-gradient(to bottom right, rgba(255, 0, 0, 0), plum);
  transition: background 0.5s ease-in-out;
}

button:hover {
  background: springgreen;
}

.sr-only {
  display: none;
}

@media screen and (max-width: 700px) {
  .textarea-container {
    flex-direction: column;
  }

  .textarea-container div {
    width: 100%;
    height: 48%;
  }

  textarea {
    width: 96%;
    height: 96%;
  }

  button.primary {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 40px;
  }

  .bordered {
    border: none;
  }
}

/* iOS textarea fix, I despise this very much */
@supports (-webkit-touch-callout: none) {
  textarea {
    width: 92%;
    height: 92%;
  }
}
