@import "font/Fixedsys.css";

html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

body {
  background-color: black;
  color: #2ea904;
  color: #41FF00;
  font-family: 'Fixedsys';
  padding: 16px;
  box-sizing: border-box;
  font-size: 24px;
}

p {
  margin: 0px;
}

.mr-0 {
  margin-right: 0px;
}

#t-head, #t-attempts {
  margin-bottom: 16px;
  text-transform: uppercase;
}

#t-attempts {
  display: flex;
}

#cursors {
  margin-left: 10px;
  display: flex;
}

#cursors .cursor {
  margin-right: 10px;
}

#cursors .cursor:last-child {
  margin-right: 0px;
}

.cursor {
  height: 24px;
  width: 12px;
  background-color: #41FF00;
}

#t-content {
  display: flex;
  flex-direction: row;
  margin: 24px 0 8px;
  position: relative;
}

#t-popup {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 400px;
  height: 200px;
  border: 2px solid #41FF00;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: black;
  display: none;
  text-align: center;
  text-transform: uppercase;
}

#t-popup.show {
  display: unset;
}

#t-popup .popup-restart .popup-options {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 150px;
  margin: 40px auto 0;
}

#t-popup .popup-restart .popup-options span {
  width: 50px;
}

#t-popup .popup-gameover {
  font-size: 30px;
  letter-spacing: 5px;
}

#t-popup #popup-confirm {
  margin: 40px 0 0;
}

#t-popup #popup-confirm, #t-popup .popup-restart .popup-options span {
  cursor: pointer;
}

#popup-confirm:hover, #t-popup .popup-restart .popup-options span:hover {
  background-color: #41FF00;
  color: black;
}

#t-esc {
  border-bottom: 1px dashed #41FF00;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.content-column {
  padding: 0px;
  list-style-type: none;
  margin: 0 30px 25px 0;
}

.content-column li {
  height: 30px;
  display: flex;
  align-items: center;
}

.content-column .col-prefix {
  margin-right: 15px;
}

.content-column .col-value {
  text-transform: uppercase;
}

.content-column .col-value .single-char {
  display: inline-block;
  width: 15px;
  text-align: center;
  font-size: 30px;
}

.content-column .col-value .single-char:hover {
  cursor: pointer;
}

.content-column .col-value .single-char.current-word {
  background-color: #41FF00;
  color: black;
}

#col-1, #col-2, #col-3 {
  height: 510px;
  overflow: hidden;
}

#col-3 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#col-3 .content-column li {
  height: 27px;
}

#currentEntryText {
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.lineIndicator {
  margin-right: 8px;
}

@keyframes flickerAnimation {
  50%   { background-color: transparent; }
}

@-o-keyframes flickerAnimation{
  50%   { background-color: transparent; }
}

@-moz-keyframes flickerAnimation{
  50%   { background-color: transparent; }
}

@-webkit-keyframes flickerAnimation{
  50%   { background-color: transparent; }
}

@keyframes flickerTextAnimation {
  50%   { color: transparent; }
}

@-o-keyframes flickerTextAnimation{
  50%   { color: transparent; }
}

@-moz-keyframes flickerTextAnimation{
  50%   { color: transparent; }
}

@-webkit-keyframes flickerTextAnimation{
  50%   { color: transparent; }
}

#currentEntryText .cursor {
  margin-left: 4px;
}

#currentEntryText .cursor.flicker {
  -webkit-animation: flickerAnimation .5s steps(1) infinite;
  -moz-animation: flickerAnimation .5s steps(1) infinite;
  -o-animation: flickerAnimation .5s steps(1) infinite;
  animation: flickerAnimation .5s steps(1) infinite;
}

.flicker-text {
  display: inline-block;
  -webkit-animation: flickerTextAnimation 0.8s steps(1) infinite;
  -moz-animation: flickerTextAnimation 0.8s steps(1) infinite;
  -o-animation: flickerTextAnimation 0.8s steps(1) infinite;
  animation: flickerTextAnimation 0.8s steps(1) infinite;
}

.hide {
  display: none;
}
