:root {
  --card-height: 600px;
  --card-width: 500px;
  --background: #161a1d;
  --text-viewer-radius: 10px;
  --guage-red: #fe1010;
  --guage-green: #1fff1f;
  --arrow-width: 4px;
}	

html {
  overflow: hidden;
  height: 100%;
}

@font-face {
  font-family: 'display';
  src: url('../fonts/digital-7 (mono).ttf') format('truetype');
}

@font-face {
  font-family: 'MW';
  src: url('../fonts/EduVICWANTBeginner-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'LCD';
  src: url('../fonts/LEDCalculator.ttf') format('truetype');
}

@font-face {
  font-family: 'typewriter';
  src: url('../fonts/NixieOne.ttf') format('truetype');
}

h2 {
  margin-block-start: 1.2em;
  margin-block-end: 0.5em;
}

h4 {
  margin-block-start: 0.8em;
  margin-block-end: 0.2em;
}

body {
  margin: auto;
}

.hide {
  display: none !important;
}

#app {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #222222;
  color: rgb(241, 241, 241);
  font-family: "Chakra Petch", sans-serif;
  overflow-y: scroll;
}

#app-title {
  font-size: 2.2em;
  font-family: 'MW';
  color: white;
  padding: 30px 20px 0px 20px;
  position: sticky;
  top: 0;
}

#app-info {
  font-size: 1em;
  color: white;
  padding: 30px 20px 40px 20px;
  position: sticky;
  top: 0;
}

#app-info a {
  color: white;
}

#app-original-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 30px;
  background: #222222;
  position: sticky;
  top: 0;
}

#app-original {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0px 30px;
  color: black;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 20px;
}

#app-original-credit {
  font-size: 11pt;
  font-style: italic;
  padding-top: 10px;
}

.app-translation {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.app-translation-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  color: black;
  padding: 10px 10px;
}

.app-translation-step {
  text-align: right;
  font-size: 20pt;
  padding-right: 20px;
  width: 20px;
}

.app-translation-service {
  font-size: 10pt;
  font-style: italic;
  padding-top: 6px;
}

.app-translation-text {
  padding: 10px 20px;
  text-align: start;
  box-sizing: border-box;
  width: 100%;
}

.app-translation-en {
  padding: 10px 20px;
  text-align: start;
  font-size: 10pt;
  font-style: italic;
  width: 100%;
  box-sizing: border-box;
}

#solari-board {
  position: absolute;
  top: -2px;
  left: 0;
  margin: 0;
  padding:0;
  overflow:hidden;
  background:#222222;
  cursor: none;
}

#solari-title {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 2.2em;
  font-family: 'MW';
  color: white;

}

#login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  background: #353535;
  font-family: "Chakra Petch", sans-serif;
  color: white;
}

#panel {
  height: 1500px;
  width: 2250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 300;
  font-style: normal;
  background:  var(--background);
  overflow: hidden;
  position: relative;
}

#panel-shade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(255 255 255 / 10%) 0%, rgb(255 255 255 / 0%) 60%);
  z-index: 999;
  pointer-events: none;
}

#header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  height: 200px;
  padding: 0px 30px;
  box-sizing: border-box;
}

#head-title {
  font-size: 80pt;
  font-family: 'MW';
  padding-left: 10px;
  letter-spacing: 2px;
}

#selected-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  z-index: 2;
  position: relative;
}

#selected-text-title {
  padding-bottom: 5px;
  font-size: 20pt;
}

.lcd-screen {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color:  #f6b304 ;
  padding: 2px 20px;
  text-align: left;
  font-size: 18pt;
  font-family: 'LCD';
  color: #1c2511;
  box-sizing: border-box;
  border-radius: 6px;
  box-shadow: 0px 0px 2px 2px #00000066, 0px -0.5px 1px 2px #0b0b10, 0px 0px 1px 2px #ffffff88, 0px -3px 5px 3px #00000029,
    inset 0px 0px 20px 5px #8a5900;
  overflow: hidden;
}

#selected-text-screen {
  width: 600px;
  height: 140px;
}

#header-stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding-top: 20px;
}


.panel {
  /* outline: solid 6px #1d1d1d;
  outline-offset: -3px; */
}

#panel-main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-grow: 1;
  box-sizing: border-box;
  padding: 0px 20px 20px 20px;
}

.segment {
  padding: 40px 20px 20px 20px;
  box-sizing: border-box;
  position: relative;
  align-self: center;
  height: 100%;
}

.outline-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 30px;
  box-sizing: border-box;
}

.outline {
  border: solid 3px #ffffff;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.title-container {
  position: absolute;
  top: 16px;
  left: 0px;
  height: 28px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0px 20px;
  box-sizing: border-box;
}

.title {
  color: #ffffff;
  font-size: 20pt;
  background-color:  var(--background);
  padding: 0px 20px;
  margin-left: 40px;
  border-radius: 20px;
  text-transform: uppercase;
}

.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#col1 {
  height: 100%;
  flex-grow: 0;
  max-width: calc((var(--card-width) * 2) + 100px);
}

#col2 {
  height: 100%;
  width: 50px;
  position: relative;
}

#col3 {
  height: 100%;
  flex-grow: 1;
}

#instructions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: flex-start;
  font-size: 13pt;
}

#instruction-text {
  padding: 10px;
}

#instruction-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

#instruction-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 5px; */
  width: 128px;
  margin-top: 20px;
  margin-left: 30px;
  color: white;
  /* border: solid 2px #ffffff; */
  border-radius: 20px;
  text-align:start;
}
#instruction-qr-title {
  font-size: 10pt;
  line-height: 12pt;
  margin-top: 10px;
}

#translators {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  align-self: flex-start;
  padding-right: 30px;
  height: 100%;
}

#translation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-self: flex-start;
  width: 100%;
}

.h-line-container {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2px;
}

.h-line {
  width: 100%;
  height: 2px;
  background-color: black;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  align-self: flex-start;
}

.step-arrow-col {
  padding: 0px 10px;
}

.step-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20pt;
  font-weight: 500;
  color: black;
  box-shadow: 0px 0px 2px 2px #00000066, 0px -0.5px 1px 2px #0b0b10, 0px 0px 1px 2px #ffffff88,
    inset 0px 0px 20px 5px #ffffff2d;
  background-image: radial-gradient(circle, rgb(98, 98, 98) 0%, rgb(69, 69, 69) 100%);
}

.step-title.active {
  background-image: radial-gradient(circle, rgb(124 255 76) 30%, rgb(74 113 47) 100%);
}

.step-arrow {
  font-size: 20pt;
  font-weight: 700;
}

.translators-title {
  height: 40px;
  align-self: flex-end;
  font-size: 20pt;
}


@keyframes pulse {
  0% {
    background: radial-gradient(circle, hsl(0, 0%, 62%) 0%, hsl(46, 13%, 67%) 70%);
    box-shadow: 0px 10px 80px 20px hsl(47deg 100% 94.38% / 10%);
    border-color: hsl(0, 0%, 62%);
  }
  50% {
    background: radial-gradient(circle, hsl(0deg 0% 100%) 0%, hsl(47.02deg 100% 92.79%) 70%);
    box-shadow: 0px 10px 80px 20px hsl(47deg 100% 94.38% / 27%);
    border-color: hsl(47, 37%, 83%);
  }
  100% {
    background: radial-gradient(circle, hsl(0, 0%, 62%) 0%, hsl(46, 13%, 67%) 70%);
    box-shadow: 0px 10px 80px 20px hsl(47deg 100% 94.38% / 10%);
    border-color: hsl(0, 0%, 62%);
  }
}

.translate-button {
  width: 50px;
  height: 50px;
  z-index: 99;
}

.translate-button.pulse {
  animation: pulse 1.5s infinite;
  animation-timing-function: ease-in-out;
}

.translate-button.processing {
  animation: pulse 0.2s infinite;
}

.translator {
  height: 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  margin: 10px 0px;
  width: 100%;
  position: relative;
}

.translator-service {
  font-style: italic;
  font-size: 10pt;
}

.t-line {
  position: absolute;
  margin-left: 10px;
  width: calc(100px * 8);
  height: 2px;
  left: 100%;
  background-color: #7e7e7e;
}

#translation-footer {
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
}

#final-button {
  height: 60px;
  font-size: 18pt;
  padding: 0px 30px;
  margin-top: 10px;
  z-index: 99;
}

#final-button.pulse {
  animation: pulse-red 1.5s infinite;
  animation-timing-function: ease-in-out;
}

#texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 50px;
  flex-grow: 1;
  width: 100%;
}

#text-viewer-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 0px 10px 0px;
  box-sizing: border-box;
  border-radius: var(--text-viewer-radius);
}

#text-viewer {
  /* padding: 5px; */
  background-color: rgb(32, 32, 32);
  position: relative;
  border-radius: var(--text-viewer-radius);
  box-shadow: 0px 0px 2px 2px #00000066, 0px -0.5px 1px 2px #0b0b10, 0px 0px 1px 2px #ffffff88, 0px -3px 5px 3px #00000029;

}

#text-viewer-shadow {
  box-shadow: inset 0 0 30px 10px rgba(0, 0, 0, 0.297);
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  border-radius: var(--text-viewer-radius);
}

.card-container {
  width: calc((var(--card-width) * 2) + 10px);
  height: var(--card-height);
  overflow: hidden;
  position: relative;
  z-index: 5;
  border-radius: var(--text-viewer-radius);
}

.card {
  width: var(--card-width);
  height: var(--card-height); /* Adjust based on content */
  /* background-image: url('../images/paper.png'); */
  background: #ffffff;
  position: absolute;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
  color: #000000;
  overflow: hidden;
  top: 0px;
}

.card-inner {
  width: 100%;
  max-height: var(--card-height);
  overflow: hidden;
}

.card.left {
  left: 0;
}

.card.right {
  right: 0;
}

.card.front {
  z-index: 2;
}

.card.back {
  z-index: 1;
}

.card.hidden {
  display: none;
}

.page-number {
  font-size: 12pt;
  width: 100%;
  text-align: end;
  position: relative;
  padding: 5px 20px 5px 0px;
  box-sizing: border-box;
}

/* Define keyframes for the animation */
@keyframes cardLeft {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.01);
  }
  89% {
    transform: scale(1.01) translateX(calc((var(--card-width) * -1) - 10px));
  }
  90% {
    transform: scale(1.01) translateX(calc((var(--card-width) * -1) - 10px));
  }
  100% {
    transform: scale(1) translateX(calc((var(--card-width) * -1) - 10px));
  }
}

@keyframes cardRight {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.01);
  }
  89% {
    transform: scale(1.01) translateX(calc(var(--card-width) + 10px));
  }
  90% {
    transform: scale(1.01) translateX(calc(var(--card-width) + 10px));
  }
  100% {
    transform: scale(1) translateX(calc(var(--card-width) + 10px));
  }
}

/* Apply the animation to the card */
.card.animateL {
  animation: cardLeft 1s linear forwards;
  z-index: 3;
}

.card.animateR {
  animation: cardRight 1s linear forwards;
  z-index: 3;
}

.text {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  height: calc((var(--card-height) - 30px) / 6);
  box-sizing: border-box;
  position: relative;
}

.text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 10px;
  height: 100%;
  flex-grow: 1;
  box-sizing: border-box;
  font-family: 'typewriter';
}

.text-line {
  overflow: hidden;
  font-weight: 900;
  font-size: 12pt;
}

.text-attribution {
  font-size: 8pt;
  font-style: italic;
  text-align: left;
  width: 100%;
}

.text-id {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-size: 14pt;
  border: 1px solid black;
  height: 100%;
  box-sizing: border-box;
  width: 40px !important;
  flex-shrink: 0;
}

#card-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 99;
  width: 300px;
}

.square-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  /* outline: solid 3px #0000004e;
  outline-offset: -6px; */
  border-style: solid;
  border-width: 2px;
  border-color: #212121 rgb(16, 16, 16) rgb(0, 0, 0) #212121;
  border-image: none;
  border-radius: 6px;
  font-family: "Chakra Petch", sans-serif;
  animation: transform 0.2s ease;
  animation-timing-function: linear;
  box-shadow: 
    3px 3px 4px 1px rgba(0, 0, 0, 0.382),
    inset 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
}

.square-button:active {
  transform: scale(0.95);
}

.square-button.red-inactive {
  background: radial-gradient(circle, rgb(196, 84, 95) 0%, rgb(171, 47, 59) 70%);
  box-shadow: 0px 10px 50px 20px rgba(171, 47, 59, 0.15);
}

.square-button.disabled{
  pointer-events: none;
}

.square-button.red-active {
  background: radial-gradient(circle, rgb(255, 161, 203) 0%, rgb(227, 20, 103) 70%);
  box-shadow: 0px 10px 80px 20px rgba(227, 20, 103, 0.411);
  border-color: rgb(170, 49, 97);
}

.square-button.off {
  background: linear-gradient(160deg, rgb(58, 58, 58) 0%, rgb(36, 36, 36) 100%);
  box-shadow: 
  3px 3px 4px 1px rgba(0, 0, 0, 0.382),
  inset 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
  border-color: #212121 rgb(16, 16, 16) rgb(0, 0, 0) #212121;
}

.square-button.active {
  background: radial-gradient(circle, hsl(0deg 0% 100%) 0%, hsl(47.02deg 100% 92.79%) 70%);
  box-shadow: 0px 10px 80px 20px hsl(47deg 100% 94.38% / 27%);
  border-color: hsl(47, 37%, 83%);
}

.square-button.active-confirmed {
  background: radial-gradient(circle, rgb(167, 255, 212) 0%, rgb(62, 190, 128) 70%);
  box-shadow: 0px 10px 80px 20px rgba(62, 190, 128, 0.3);
  pointer-events: none;
}


@keyframes pulse-red {
  0% {
    background: radial-gradient(circle, rgb(196, 84, 95) 0%, rgb(171, 47, 59) 70%);
    box-shadow: 0px 10px 50px 20px rgba(171, 47, 59, 0.15);
    border-color: rgb(146, 41, 52);
  }
  50% {
    background: radial-gradient(circle, rgb(255, 161, 203) 0%, rgb(227, 20, 103) 70%);
    box-shadow: 0px 10px 50px 20px rgba(227, 20, 103, 0.4);
    border-color: rgb(209, 19, 95);
  }
  100% {
    background: radial-gradient(circle, rgb(196, 84, 95) 0%, rgb(171, 47, 59) 70%);
    box-shadow: 0px 10px 50px 20px rgba(171, 47, 59, 0.15);
    border-color: rgb(146, 41, 52);
  }
}

.arrow-button {
  width: 60px;
  height: 60px;
  margin-top: 10px;
}

.arrow {
  height: 25px;
  object-fit: contain;
}

#text-selector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  max-width: 600px;
}

#text-selector-card_count {
  z-index: 99;
}

#text-selector-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 0px 0px 30px;
  max-height: 400px;
  box-sizing: border-box;
  z-index: 99;
}

.text-selector-button {
  width: 200px;
  margin: 3px 0px 20px 0px;
  font-size: 18pt;
  font-weight: 500;
} 

#text-id-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px;
  box-sizing: border-box;
  z-index: 99;
}

.text-selector-div {
  display: inline-flex;
  justify-content: center;
  /* align-items: flex-start; */
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 30px;
}

.letter-button, .num-button {
  margin: 10px;
  padding: 10px;
  color: rgb(19, 19, 19);
  font-size: 20pt;
  font-weight: 600;
  width: 60px;
  height: 60px;
}

#text-selected {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 5px;
  font-size: 50pt;
  height: 100px;
  background-color: #000000;
  box-shadow: 0px 0px 2px 2px #00000066, 0px -0.5px 1px 2px #0b0b10, 0px 0px 1px 2px #ffffff88, 0px -3px 5px 3px #00000029;
  text-align: center;
}

.selector-digit {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 100%;
  font-size: 80pt;
  font-family: 'display';
  color: rgb(255, 49, 31);
  background-image: radial-gradient(circle, rgb(41, 41, 41) 0%, rgba(255, 255, 255, 0.1) 100%);
}

#text-selector-entry {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  margin: 0px;
}

#text-selector-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0px;
}

#text-enter {
  z-index: 99;
  margin: 20px;
  width: 160px;
  font-size: 20pt;
  font-weight: 500;
}


#guage-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 10px;
  width: 190px;
  height: 150px;
  border-radius: 40px;
  border: 3px solid #131313;
  box-shadow: inset 0px 0px 20px 5px #00000074;
  background-image: radial-gradient(circle, rgb(251, 251, 251) 0%, rgb(229, 229, 218) 100%);
  box-sizing: border-box;
  margin-right: 135px;
}

#guage-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 0px;
  font-size: 12pt;
  color: #131313;
  z-index: 99;
  text-align: center;
}

#translators-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
  padding-top: 30px;
}

ol li {
  padding-bottom: 10px;
  margin-left: 0px;
}

ol {
  padding-inline-start: 20px;
}

#text-random {
  margin-top: 20px;
  font-size: 20pt;
}

#translation-text {
  width: 500px;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#translation-text-title {
  align-self: flex-start;
  padding-top: 20px;
}

#translation-text-screen {
  margin-top: 10px;
  width: 100%;
  height: 70%;
}

#translation-text-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 0px;
}

.translation-text-button {
  margin: 3px 20px;
  font-size: 18pt;
  font-weight: 500;
}

.text-selected {
  background-image: radial-gradient(circle, hsl(0deg 0% 100%) 0%, hsl(47.02deg 100% 92.79%) 70%);
}

#line-orig {
  position: absolute;
  bottom: 700px;
  left: 0;
  height: 585px;
  width: 25px;
  border-right: solid var(--arrow-width) #ffffff;
  border-bottom: solid var(--arrow-width) #ffffff;
  border-radius: 0px 0px 20px 0px;
}

#line-orig-arrow {
  position: absolute;
  top: -2px;
  right: calc(-10px - (var(--arrow-width) / 2));
}

#translation-arrows {
  width: 240px;
  /* height: 200px; */
  position: relative;
}

#translation-line-en {
  position: absolute;
  top: -90px;
  right: 40px;
  width: 200px;
  height: 120px;
  border-radius: 0px 20px 0px 0px;
  border-right: solid var(--arrow-width) #ffffff;
  border-top: solid var(--arrow-width) #ffffff;
  z-index: 1;
  padding-left: 20px;
  padding-top: 5px;
  box-sizing: border-box;
}

#translation-line {
  position: absolute;
  top: -170px;
  right: 40px;
  width: 290px;
  height: 200px;
  border-right: dotted var(--arrow-width) #ffffff;
  z-index: 0;
  padding-right: 10px;
  padding-top: 10px;
  box-sizing: border-box;
  text-align: end;
}

#selected-text-line {
  position: absolute;
  top: 70px;
  left: -126px;
  width: 120px;
  height: 2px;
  border-top: solid var(--arrow-width) #ffffff;
}

#selected-text-arrow {
  position: absolute;
  top: calc(-10px - (var(--arrow-width) / 2));
  left: -2px;
}

#translation-arrow-en {
  position: absolute;
  top: calc(-10px - (var(--arrow-width) / 2));
  left: -2px;
}

#translation-arrow {
  position: absolute;
  top: -4px;
  right: calc(-10px - (var(--arrow-width) / 2));
}

.arrow-left {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; 
  border-right:10px solid rgb(255, 255, 255);
}

.arrow-up {
  width: 0; 
  height: 0; 
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgb(255, 255, 255);
}

#qrcode-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0px 10px;
}