body {
  margin: 0 auto;
  height: 100vh;
  font-family: 'PT Sans', sans-serif;
  background-color: #f0f2f3 !important;
}

input, textarea, select, button {
  font-family: 'PT Sans', sans-serif;
}

#editor {
  height: 100vh;
}

button.selected {
  background-color: #f8d1d1;
}

#scrollport {
  width: fit-content;
  overflow: scroll;
  position: relative;
}

#editor > textarea {
  font-size: 30pt;
}

#konva {
  position: absolute;
}

#textlayers {
  position: absolute;
}

@font-face {
  font-family: "Wild Words";
  src: url("assets/fonts/wildwordsroman.ttf");
}

@font-face {
  font-family: "Death Rattle";
  src: url("assets/fonts/deathrattlebb_reg.ttf");
}

@font-face {
  font-family: "Akbar";
  src: url("assets/fonts/akbar.ttf");
}

@font-face {
  font-family: "Obelix Pro";
  src: url("assets/fonts/ObelixPro-cyr.ttf");
}

@font-face {
  font-family: "Laffayette Comic Pro";
  src: url("assets/fonts/Laffayette\ Comic\ Pro.ttf");
}

@font-face {
  font-family: "From Where You Are";
  src: url("assets/fonts/FromWhereYouAre.ttf");
}

textarea.bubbletext {
  text-align: center;
  overflow: hidden;
  outline: none;
  background: transparent;
  border: none;
  resize: none;
  padding:  0;
}

.drag-handle {
  position: absolute;
  top: -15px;
  left: -15px; 
  cursor: move;
}

.vdr {
  border: none;
}

.active.vdr {
  margin-left: -1px;
  margin-top: -1px;
  border: 1px dashed gray;
}

.space > * + * {
  /* Between each child: */
  margin-top: 4px;
}

h4 {
  margin: 0;
  margin-bottom: 6px;
  color:gray;
  font-size: 0.7em;
}

input[type='number'] {
  width: 5em;
}