@font-face {
  font-family: Public Sans;
  src: url('fonts/PublicSans-Regular.woff2') format('woff2');
  font-weight: 500;
  font-style: normal
}

@font-face {
  font-family: Public Sans;
  src: url('fonts/PublicSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: bold;
}

body {
  font-size: 24pt;
  font-family: Public Sans, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff27e;
  color: #444;
  height: 100%;
}

.hidden {
  height: 0;
  opacity: 0;
  transition: opacity 1s;
}

.visible {
  display: block;
  opacity: 1;
  transition: opacity 2s;
}

#status-message {
  background-color: #ffffee;
  box-shadow: #666 inset 0 0 6px;
  margin: 1em;
  padding: 1em;
}

input {
  font-family: Public Sans, sans-serif;
}

button {
  text-transform: uppercase;
  color: #444;
  font-family: Public Sans, sans-serif;
  font-weight: bold;
  font-size: 0.8em;
  cursor: pointer;
  background-color: white;
  padding: 0.5em;
  border-radius: 0.5em;
  border-width: 1px;
  border-color: #aaa;
  border-style: solid;
  min-width: 44px;
  box-shadow: #444 0 0 4px;
}

#doot-button {
  font-size: 2em;
  flex-shrink: 0; /* Don't let the borders fail to contain the text on Chrome. */
}

#text-field {
  font-size: 2em;
  display: flex;
  align-items: center;
  word-break: break-all;
  margin: 1em;
  text-align: center;
}

#voice-select {
  flex-shrink: 0; /* Don't let the borders fail to contain the text on Chrome. */
  font-size: 1.5em;
}

#explanation-field {
  font-style: italic;
  flex-grow: 1;
  margin: 1em;
}

.notes {
  margin-top: 7em;
  width: 50%;
  min-width: 20em;
}

.notes ul li {
  margin: 0.5em;
}

footer {
  margin-top: 4em;
  padding-bottom: 4em;
}

a:link {
  color: #333;
  font-weight: bold;
}

a:visited {
  color: #555;
}

@media all and (max-height: 568px) {
  body {
    font-size: 18px;
  }
}

