@font-face {
  font-family: "Fira Sans";
  src: url("./images/firasans-regular-webfont.woff") format('woff'),
    url("./images/firasans-regular-webfont.woff2") format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Fira Sans";
  src: url("./images/firasans-medium-webfont.woff") format('woff'),
    url("./images/firasans-medium-webfont.woff2") format('woff2');
  font-weight: bold;
  font-style: normal;
}


body {
  display: flex;
  min-height: 100dvh;
  justify-content: center;
  font-family: Georgia;
  padding: 5px;
  box-sizing: border-box;
  margin: 0;
  cursor: pointer;
  font-family: 'Fira Sans';
}

body[data-running] {
  align-items: center;
  cursor: none;
}

body[data-showcursor] {
  cursor: pointer !important;
}

body[data-running] #setup {
  display: none;
}

.get-sutta-form {
  text-align: center;
  margin-bottom: .5rem;
}

.text-area {
  width: 100%;
  height: 150px;
  font-family: sans-serif;
  font-size: .8rem;
}

.settings {
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
  margin-top: .5rem;
}

.controls-area {
  display: flex;
  flex-direction: row;
  align-content: space-between;
  column-gap: .5rem;
}

.controls-area * {
  flex-grow: 1;
}

h1 {
  /* font-weight: normal; */
  margin-bottom: 50px;
  font-family: sans-serif;
  text-align: center;
  font-size: 26px;
}

h1 span {
  border-bottom: 1px solid rgba(134, 134, 134, .3);
}

main {
  max-width: 400px;
  width: 100%;
}

body:not([data-running]) main {
  display: flex;
  flex-direction: column;
}

#output {
  font-size: 26px;
  margin: auto;
  padding: 20px 0 10px;
  max-width: inherit;
  width: 100%;
}

.output-area {
  background-color: lightblue;
  min-height: 2rem;
  border: solid 5px gainsboro
}

body[data-running] .marker {
  width: .2rem;
  height: .8rem;
  background-color: brown;
  margin-left: 12rem;
  position: relative;
  bottom: .8rem
}

#output #word {
  hyphens: auto;
  max-width: inherit;
  text-align: center;
  flex: 1.2;
  word-spacing: 1px;
  /* letter-spacing: 0.1px; */
}

#status {
  background: #ff0101;
  height: 3px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

body[data-skin=blackonwhite] {
  background: white;
  color: black;
}

body[data-skin=blackonwhite] #output {
  color: black;
}

body[data-skin=blackoncream] {
  background: #fffced;
  color: black;
}

body[data-skin=blackoncream] #output {
  color: black;
}

body[data-skin=whiteonblack] {
  color: white;
  background: black;
}

body[data-skin=whiteonblack] #output {
  color: black;
}

body[data-skin=yellowonblack] {
  color: white;
  background: black;
}

body[data-skin=yellowonblack] #output {
  color: #ffdb41;
}

#tutorial {
  padding: 10px 0;
}

.gray {
  opacity: 0.7;
  font-family: sans-serif;
  font-size: 13px;
}

#noclick {
  cursor: initial;
}