body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
}
body.success {
  background-image: url(/img/fireworks.gif);
  background-repeat: no-repeat;
  background-position: center;
}

main {
  flex: 1;
  box-sizing: border-box;
  max-height: calc(100% - 120px);
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7019607843);
}
main.full {
  max-height: 100%;
}

h1, h2, h3, p, label {
  color: #ffffff;
}

.game-body {
  height: 318px;
  padding-bottom: 8px;
}

#timer {
  border: 1px solid #000;
  border-radius: 3px;
  padding: 0 5px;
  background-color: #fff;
}

.four-letter-input {
  display: inline-flex;
}

.letter-input-block {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 24px;
  margin: 5px;
  border: 2px solid #ccc;
  background-color: #fff;
  box-shadow: 0 0 5px #000;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.letter-input-block.disabled {
  background-color: #eeeeee;
}
.letter-input-block.disabled.incorrect {
  background-color: #f6dad1;
}
.letter-input-block.activated {
  border: 2px solid #6198fd;
  background-color: primary-light;
}
.letter-input-block.activated.correct {
  border: 2px solid #159553;
  background-color: #baedd3;
}
.letter-input-block.activated.correct.active {
  background-color: #d6c8de !important;
}
.letter-input-block.activated.incorrect {
  border: 2px solid #ff6831;
  background-color: #f6dad1;
}
.letter-input-block.activated.active {
  border: 2px solid #c661fd !important;
  background-color: #d6c8de !important;
}
.letter-input-block.active {
  border: 2px solid #c661fd !important;
  background-color: #d6c8de !important;
}

.base-word, .result-word {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 6px;
}

.base-word-letter, .result-word-letter {
  padding: 2px 3px;
  margin: 0 4px;
  width: 24px;
  height: 24px;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 0 5px #000;
  transition: all 0.3s ease;
}

.base-word-letter {
  border: 1px solid #23383a;
}

.result-word-letter {
  border: 1px solid #ccc;
}
.result-word-letter.active {
  border: 1px solid #dddd63;
  background-color: #fffbde;
}

.results {
  overflow: scroll;
  height: calc(100% - 330px);
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.results p {
  margin-bottom: 2px;
  opacity: 0.3;
  transition: all 0.3s ease;
}
.results p.active {
  opacity: 0.8;
}

.btn-primary {
  border: 3px solid #6198fd;
  background-color: #dfebff;
  color: #000;
}
.btn-primary:disabled {
  border: 3px solid #6198fd;
  background-color: #dfebff;
  color: #000;
  opacity: 0.5;
}
.btn-primary:hover {
  border: 3px solid #6198fd;
  background-color: #6198fd;
  color: #fff;
}

.btn-secondary {
  border: 3px solid #ff6831;
  background-color: #f6dad1;
  color: #000;
}
.btn-secondary:disabled {
  border: 3px solid #ff6831;
  background-color: #f6dad1;
  color: #000;
  opacity: 0.5;
}
.btn-secondary:hover {
  border: 3px solid #ff6831;
  background-color: #ff6831;
  color: #fff;
}

.btn-tertiary {
  border: 3px solid #0cab53;
  background-color: #94fac1;
  color: #000;
}
.btn-tertiary:disabled {
  border: 3px solid #0cab53;
  background-color: #94fac1;
  color: #000;
  opacity: 0.5;
}
.btn-tertiary:hover {
  border: 3px solid #0cab53;
  background-color: #0cab53;
  color: #fff;
}

@property --error {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --error-fill {
  syntax: "<length>";
  inherits: false;
  initial-value: 2px;
}
@property --hint {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --hint-fill {
  syntax: "<length>";
  inherits: false;
  initial-value: 2px;
}
.game-tools {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.game-tools #errors, .game-tools #hints, .game-tools .hints {
  height: 24px;
  width: 24px;
  margin: 0 4px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
.game-tools #errors .errors-inner, .game-tools #errors .hints-inner, .game-tools #hints .errors-inner, .game-tools #hints .hints-inner, .game-tools .hints .errors-inner, .game-tools .hints .hints-inner {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}
.game-tools #errors .errors-inner-lines, .game-tools #errors .hints-inner-lines, .game-tools #hints .errors-inner-lines, .game-tools #hints .hints-inner-lines, .game-tools .hints .errors-inner-lines, .game-tools .hints .hints-inner-lines {
  position: absolute;
  height: 24px;
  width: 24px;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 1;
}
.game-tools #errors {
  background: conic-gradient(#ff6831 var(--error), #f6dad1 var(--error), black 360deg);
  --error: 0deg;
  transition: --error 0.5s ease;
}
.game-tools #errors.error-1 {
  --error: 120deg;
}
.game-tools #errors.error-2 {
  --error: 240deg;
}
.game-tools #errors.error-3 {
  --error: 360deg;
}
.game-tools #errors .errors-inner-lines {
  background: conic-gradient(black 4deg, transparent 4deg, transparent 116deg, black 116deg, black 124deg, transparent 124deg, transparent 236deg, black 236deg, black 244deg, transparent 244deg, transparent 356deg, black 356deg);
}
.game-tools #errors .errors-inner {
  background: radial-gradient(#ff6831 var(--error-fill), #f6dad1);
  transition: --error-fill 0.3s ease;
}
.game-tools #errors svg {
  stroke: black;
  fill: #fff;
  transition: all 0.3s ease;
  z-index: 3;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: all 0.3s ease;
}
.game-tools #errors:hover .errors-inner {
  --error-fill: 4px ;
}
.game-tools #hints, .game-tools .hints {
  background: conic-gradient(#0cab53 var(--hint), #94fac1 var(--hint), black 360deg);
  color: #000;
  margin: 0 4px;
  --hint: 0deg;
  transition: --hint 0.5s ease;
}
.game-tools #hints.hint-1, .game-tools .hints.hint-1 {
  --hint: 120deg;
}
.game-tools #hints.hint-2, .game-tools .hints.hint-2 {
  --hint: 240deg;
}
.game-tools #hints.hint-3, .game-tools .hints.hint-3 {
  --hint: 360deg;
}
.game-tools #hints .hints-inner-lines, .game-tools .hints .hints-inner-lines {
  background: conic-gradient(black 4deg, transparent 4deg, transparent 116deg, black 116deg, black 124deg, transparent 124deg, transparent 236deg, black 236deg, black 244deg, transparent 244deg, transparent 356deg, black 356deg);
}
.game-tools #hints .hints-inner, .game-tools .hints .hints-inner {
  background: radial-gradient(#0cab53 var(--hint-fill), #94fac1);
  transition: --hint-fill 0.3s ease;
}
.game-tools #hints svg, .game-tools .hints svg {
  stroke: #ff6831;
  fill: #fff;
  transition: all 0.3s ease;
  z-index: 3;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: all 0.3s ease;
}
.game-tools #hints:disabled, .game-tools .hints:disabled {
  border: 1px solid #0cab53;
  background: #94fac1;
  color: #000;
  opacity: 0.5;
}
.game-tools #hints:hover .hints-inner, .game-tools .hints:hover .hints-inner {
  --hint-fill: 4px;
}
.game-tools #hints:hover svg, .game-tools .hints:hover svg {
  fill: #ff6831;
}

.space-time {
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.space-time.space-time-slim {
  width: 30px;
}

#pause-game, .instructions-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  line-height: 24px;
  height: 24px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.instructions-button {
  border: 1px solid #202020;
  background-color: #fff;
  color: #202020;
}
.instructions-button:hover {
  background-color: #505050;
  border: 1px solid #202020;
  color: #ffffff;
}

#pause-game {
  border: 1px solid #6198fd;
  background-color: #dfebff;
}
#pause-game:hover:hover {
  background-color: #6198fd;
}
#pause-game svg {
  fill: #6198fd;
  transition: all 0.3s ease;
}
#pause-game:hover svg {
  fill: #ffffff;
}

.modal-backdrop.show {
  opacity: 1;
  background-color: #a9a9a9;
}

.bottom-keyboard {
  padding: 10px 10px 80px 10px;
  z-index: 10;
  height: 120px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: #444444;
  border-top: 1px solid #000000;
}

.keyboard {
  max-width: 100%;
}
.keyboard .keyboard-row {
  margin-bottom: 6px;
  width: 100%;
}
.keyboard .keyboard-row button {
  padding: 2px 1%;
  margin: 0 2px;
  line-height: 20px;
  text-align: center;
  border-radius: 3px !important;
  background-color: #eeeeee;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  color: #000;
  text-decoration: none;
  max-width: 30px;
  min-width: 20px;
  display: inline-flex;
  justify-content: center;
}
.keyboard .keyboard-row button:hover {
  background-color: #cccccc;
  border: 1px solid #999999;
}

@media (max-width: 500px) {
  .keyboard button {
    width: 7%;
  }
}
.form-check {
  text-align: left;
}

.modal h1, .modal h2, .modal h3, .modal p, .modal label {
  color: #000;
}
.modal .modal-header {
  display: inline-flex;
  justify-content: center;
}
.modal .btn-close {
  position: absolute;
  right: 18px;
}

/*# sourceMappingURL=styles.css.map */
