@font-face {
  font-family: CygnitoMono;
  src: url("CygnitoMono.otf") format("opentype");
}

:root {
  --marker_width: 100px;
  --marker_radius: 0px;
  --glow_size: 0px;
  --panel_size: 0px;
  --context_window_top: 0px;
}

a {
  color: #747474;
  background-color: #ececec;
  text-decoration: none !important;
  padding: 2px;
}


#buttons {
  display: none;
  position: fixed;
  bottom: 5vh;
  z-index: 999999999;
}

#username {
  margin-right: 10px;
  margin-top: 15px;
  text-align: center;
  border-bottom: 1px solid #444444;
  padding-bottom: 16px;
}

#right-side {
  width: var(--panel_size);
  height: 100vh !important;
  position: fixed;
  right: 0px;
  top: 0px;
  z-index: 999999;
  display: inline;
  border-left: 1px solid #444444;
  color: black;
  background-color: white;
}

.user-id-display {
  position: fixed;
  top: 7px;
  right: 30px;
  font-size: 14px;
  color: #333;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 99990;
  cursor: pointer;
}
.user-id-display-lloo {
  position: fixed;
  top: 32px;
  right: 30px;
  font-size: 12px;
  color: #333;
  z-index: 99990;
}

/* Glasses Icon Button */
.glasses-icon {
  position: fixed;
  top: 8px;
  right: 140px;
  cursor: pointer;
  z-index: 99990;
}

.glasses-id-display {
  position: fixed;
  top: 28px;
  right: 130px;
  font-size: 10px;
  color: #333;
  z-index: 99990;
}

/* Overlay Background */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  opacity: 100;
  display: none;
  /* Hide initially */
  transition: opacity 0.3s ease;
}

/* Iframe Slide-Down */
.glasses-iframe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 500px;
  border: none;
  background-color: #345097;
  z-index: 1100;
  transform: translateY(-100%);
  display: none; /* Hidden by default */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Body class that triggers iframe visibility */
body.glasses-visible .glasses-iframe {
  display: block;
  transform: translateY(0);
}

#content-container {
  transition: padding-top 0.5s ease; /* Smooth transition */
  padding-top: 0; /* Default padding */
}


body.panel-open #right-side #chat-side
{
  display: inline;
}



body.panel-open #right-side {
  display: inline;
}

body.panel-closed #right-side {
  display: none;
}

#left-side {
  width: calc(100vw - var(--panel_size));
  background-color: black;
  color: white;
  display: inline;
  position: absolute;
  left: 0px;
}

#panel-selector {
  position: relative;
  top: 0px;
  color: white;
  display: flex;
  width: 100%;
  height: 40px;
}

#panel-selector .panel-option {
  display: flex;
  align-items: center;
  flex-grow: 1;
  padding: 9px;
  text-align: center;
  justify-content: center;
  color: black
}

/* Styles for the iframe positioned in the top right */
.top-right-iframe {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 400px;
  height: 100%;
  z-index: 99999;
  border: none;
  background: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.right-iframe {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  border: none;
  display: none;
  /* Hidden initially */
  z-index: 99999;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  background: white;
}


#panel-selector .panel-option.selected {
  border-bottom: 4px solid black;
}

#chat {
  width: 100%;
  height: calc(100% - 50px);
  position: relative;
  right: 0px;
  top: 0px;
  padding: 0px;
  margin: 0px;
  display: inline-block;

  font-family: helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;

}

.memory-card.big-plus {
  background-color: black !important;
}

.memory-card.big-plus .image-container {
  background-color: #222222;
  background-image: none !important;
}

.memory-card.big-plus .memory-info {
  opacity: 0;
}

#open-right-panel {
  background-color: transparent;
  /* Makes the background transparent */
  border: none;
  /* Removes the border */
  color: inherit;
  /* Ensures the text color is inherited, or set it to transparent if needed */
  cursor: pointer;
  /* Changes the cursor to pointer to indicate it's clickable */
  outline: none;
  /* Removes the outline on focus */
  padding: 0;
  /* Removes default padding */
  font: inherit;
  /* Inherits font properties from the parent element */
  width: 20px;
  display: inline-block;
  color: gray;
}

#buttons button {
  background-color: transparent;
  /* Makes the background transparent */
  border: none;
  /* Removes the border */
  color: inherit;
  /* Ensures the text color is inherited, or set it to transparent if needed */
  cursor: pointer;
  /* Changes the cursor to pointer to indicate it's clickable */
  outline: none;
  /* Removes the outline on focus */
  padding: 0;
  /* Removes default padding */
  font: inherit;
  /* Inherits font properties from the parent element */
}

a:hover {
  color: black;
  background-color: white;
  text-decoration: none !important;
  padding: 2px;
}

select {
  background-color: #80808080;
  /* Set background to black */
  color: white;
  /* Set text color to gray */
  border: 0px solid gray;
  /* Optional: make border black to blend with background */
}

select:focus {
  outline: none;
  /* Removes the focus outline */
}



body.memory-lane .hidden {
  display: none !important;
}

body.memory-lane .visible {
  display: inline-block !important;
  ;
}



body {
  width: 100vw;
  font-size: 12px;
  font-family: CygnitoMono, Arial, sans-serif;
  background-color: white;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}


#map {
  position: absolute;
  width: 100%;
  height: 100vh;
  left: 0px;
  background-color: gray;
  opacity: 1;
  top: var(--context-window-top);
  overflow: hidden;
}

#graph {
  position: absolute;
  width: calc(100vw - var(--panel_size));
  height: 100vh;
  left: 0px;
  background-color: white;
  opacity: 1;
  display: none;
  top: var(--context-window-top);
  overflow: hidden;
}

#map.visible {
  opacity: 1;
}

#header {
  display: flex;
  align-items: center;
  width: calc(100vw - var(--panel_size));
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: white;
  z-index: 9999;
  border-bottom: 0px solid #e2e2e2;
  padding-right: 10px;
  box-sizing: border-box;

}

#header-left {
  flex-grow: 1;
  padding: 4px;
}

#header-left #subtitle {
  font-family: helvetica, sans-serif;
  font-size: 20px;
  font-weight: 100;
}

#logo {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  z-index: 998;
  margin-bottom: 30px;
  width:200px;
}

#logo img {
  width: 200px;
}

#logo a {
  font-family: helvetica, sans-serif;
  font-size: 30px;
  font-weight: 900;
  padding: 10px;
  margin-bottom: 30vh;
  color: black;
  background-color: transparent;
}

body.mini #header-left {
  display: none;
}

.mini #viewer_mode {
  width: 100vw;
}

body.mini #chat-main {
  display: none;
}

body.mini #download {
  display: none;
}

body.mini #open-right-panel {
  display: none;
}

#header #download {
  margin-right: 10px;
  margin-top: 15px;
  display: none;
}

#header #download a {
  margin-right: 10px;
  margin-top: 15px;
  color: black !important;
  color: black !important;
  background-color: #00FF00 !important;
  height: 15px;
  padding: 1px;
  padding-left: 10px;
  padding-right: 10px;
}

#header #download a:hover {

  color: black !important;
  background-color: white !important;

}

#header #viewer {
  display: flex;
  height: 16px;
}



h1 {
  margin: 20px 0;
}




/*canvas {
  transform: translateZ(0);
  will-change: transform;
}*/

.memory-card {
  position: absolute;
  transition-property: transform, top, left, width, height, opacity, transition-duration;
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(0, .94, .33, .99) !important;
  width: 300px;
  background-color: white;
  padding: 0px;
  display: inline-block;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #a3a3a3;
  /*font-family: CygnitoMono, monospace;*/
  font-family: helvetica, sans-serif;
  opacity: 0;

  /*max-width: var(--marker_width);
  max-height: calc(var(--marker_width) * 1);*/
  /*border-radius: var(--marker_radius);
  /*box-shadow: inset 0 0px var(--glow_size) white;*/


}

.memory-card .image-container {
  width: 100%;
  position: relative;
  cursor: pointer;
  aspect-ratio: 5 / 6;
  background-color: #d5d5d5;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 10px;
  overflow: hidden;
}

.memory-card .image-container img,
.memory-card .image-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0px;
  margin: 0px;
  position: absolute;
  left: 0px;
  top: 0px;
}




.memory-info {
  font-size: 12px;
  color: #b3b3b3;
  text-align: left;
  width: 100%;
  position: relative;
}

.memory-info p {
  margin: 5px 0;
}

.memory-info .location,
.memory-info .userId,
.memory-info .datetime {
  font-size: 12px;
}

.memory-info .coordinates {
  font-size: 6px;
}

.memory-info .tags {
  font-size: 10px;
}

.memory-info .cmvalue {
  position: absolute;
  top: -5px;
  right: 5px;
  display: flex;
  flex-direction: column;
  align-items: end;
  font-size: 18px;
  font-weight: normal;
}

.memory-info .cmvalue p {
  padding: 0px;
  margin: 1px;

}

.memory-info .cmvalue .data-container {
  display: flex;
  align-items: baseline;
  cursor: pointer;
}
.augmentation {
  color: rgba(68, 170, 254, 0.849);
  font-size: 18px;
}


body.small-matrix #data {
  display: inline;
}

body.small-matrix #map {
  visibility: hidden;
}

body.tokens #data {
  display: inline;
}

body.tokens #map {
  visibility: hidden;
}

body.matrix #data {
  display: inline;
  top: 0px;
  position: absolute;
}

body.matrix #map {
  visibility: hidden;
}

body.memory-lane #map {
  visibility: hidden;
}

body.memory-lane #graph {
  visibility: hidden;
}


body.memory-lane #data {
  display: inline;
}

body.map #data {
  display: none;
}

body.map #map {
  visibility: visible;
}



body.graph #graph {
  display: inline;

}

body.graph #chat {
  display: inline;
}

body.graph #map {
  display: none;
}

body.graph #data {
  display: none;
}

body.small-matrix .memory-card {
  width: 85px;
  /*opacity: 1 !important;*/
  border-radius: 0px;
  transform: translate(0px, 0px) !important;
  overflow: hidden;
}


body.tokens .memory-card {
  width: 100%;
  /*opacity: 1 !important;*/
  border-radius: 0px;
  transform: translate(0px, 0px) !important;
  overflow: hidden;
  display: flex;
  flex-direction: row !important;
  border-bottom: 1px solid #222222;
}

body.tokens .memory-card .image-container {
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  opacity: 1 !important;
  border-radius: 0px;
  transform: translate(0px, 0px) !important;
  overflow: hidden;
}



body.tokens .memory-card .memory-info {
  display: flex;
  flex-direction: row;
  align-items: center;
}

body.tokens .memory-card .memory-info .userId {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  padding-left: 10px;
}

body.tokens .memory-card .memory-info .location {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  padding-left: 10px;
}


body.tokens .memory-card .memory-info .datetime {
  width: 70px;
  min-width: 70px;
  max-width: 70px;
  padding-left: 10px;
}


body.tokens .memory-card .memory-info .tags {
  max-width: 70px;
  padding-left: 10px;
  opacity: 0;
}

body.tokens .memory-card:hover .memory-info .tags {
  opacity: 1;
}



body.memory-lane .memory-card {
  opacity: 1 !important;
  transform: translate(0px, 0px) !important;
  z-index: 999;
  background-color: transparent;
}

body.memory-lane #buttons {
  display: flex;
}

body.memory-lane .memory-card.prev-memory {
  z-index: 99;
  background-color: transparent;
}

body.memory-lane .memory-card.prev-memory .memory-info {
  display: none;
}

body.memory-lane .memory-card.prev-memory .image-container {
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
}

@media only screen and (max-width: 768px) {

    .top-right-iframe {
        width: 400px;

    }
  body.memory-lane .memory-card.visible {
    position: absolute;
    width: 80vw !important;
    height: 80vw;
    top: 20vh !important;
    left: 10vw !important;
  }

  body.memory-lane .memory-card.prev-memory {
    position: absolute;
    width: 100vw !important;
    height: 90vh !important;
    top: 0vh !important;
    left: 0vw !important;
  }

  body.memory-lane .memory-card.visible .image-container,
  body.memory-lane .memory-card.prev-memory .image-container {
    width: 100% !important;
    top: 0% !important;
    left: 0% !important;
  }

  body.memory-lane .memory-card.prev-memory .image-container {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0% !important;
    left: 0% !important;
  }

}


body.memory-lane .memory-card.prev-memory .image-container {
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
}

body.small-matrix .memory-info .location,
body.small-matrix .memory-info .userId,
body.small-matrix .memory-info .datetime {
  font-size: 10px;
}

body.small-matrix .memory-card .coordinates,
body.small-matrix .memory-card .tags,
body.small-matrix .memory-card .datetime {
  display: none !important;
}


body.matrix .memory-card {
  width: 300px;
  /*opacity: 1 !important;*/
  transform: translate(0px, 0px) !important;
  border-radius: 0px;
}

#map {
  background-color: black;
}

canvas {
  transition: opacity 2s cubic-bezier(0, .94, .33, .99);
}


body.matrix canvas {
  opacity: 0;
}


body.small-matrix canvas {
  opacity: 0;
}

body.map .memory-card {

  width: 10px;
  height: 10px;
  overflow: hidden;
  background-color: white;
  top: 0px !important;
  left: 0px !important;
  border-radius: 200px;
  transition-duration: 0 !important;

}

body.map #map.s .memory-card {
  width: 10px !important;
  height: 10px !important;
  overflow: hidden;
  background-color: white;
}

body.map #map.m .memory-card {
  width: 40px !important;
  height: 40px !important;
  overflow: hidden;
  background-color: white;
  border-radius: 200px;
}

body.map #map.l .memory-card {
  width: 200px !important;
  height: 370px !important;
  background-color: black;
  border-radius: 0px;
}

body.map #map .memory-card {
  transition-property: none !important;
  transition-duration: 0s !important;
}

body.memory-lane #data .memory-card {
  transition-property: none !important;
  transition-duration: 0s !important;
  display: none;
}


body.map #map.s .memory-card .image-container {
  display: none;
}

body.map #map.s .memory-card .memory-info,
body.map #map.m .memory-card .memory-info {
  display: none;
}

#chat-main {
  width: calc(100vw - var(--panel_size));
  top: 20vh;
  position: absolute;
}

#chat-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: calc(100% - 140px);
  top: 0px;
  margin: 0px;
  padding: 0px;
  background: white;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#chat-container h1 {
  color: gray;
  font-family: helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 2em;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: center;
  padding-left: 40px;
  padding-right: 40px;
  opacity: 1;
}

#chat-container h2 {
  color: gray;
  font-family: helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.4em;
  margin-top: 10px;
  margin-bottom: 0px;
  text-align: center;
  padding-left: 40px;
  padding-right: 40px;
  opacity: 1;
}

.asked #chat-container h1 {
  opacity: 0;
}

.asked #chat-container h2 {
  opacity: 0;
}

#chat {
  padding: 10px;
  margin-bottom: 10px;
  max-width: 400px;
  color: black;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.5;
  font-family: arial;
  text-align: center;
  opacity: 0.2;
}

#chat img {
  max-width: 600px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
  margin-bottom: 40px;
}

#chat h3 {
  width: 100%;
  display: block;
  padding-top: 30px;
  padding-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
}



#asked-question {
  width: 100vw !important;
  text-align: center !important;
  border-top: gray 1px solid !important;
  margin-top: 20px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 0px;
  background-color: white;
  color: black;
  border: none;
  font-size: 30px;
  text-align: left;

  white-space: pre;
  padding-top: 50px;
  opacity: 0;

  font-family: helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;


}

#asked-question-text {
  transform: translateY(-140px);
}

#asked-question::first-letter {
  text-transform: capitalize;
}

#llo-input {
  display: flex;
  align-items: center;
}

#user-input {
  width: 100%;
  max-width: 90vw;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 0px;
  background-color: white;
  color: black;
  border: none;
  font-size: 70px;
  text-align: left;
  width: auto;
  font-family: Arial;

  font-family: helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
  padding-top: 15px;
}

#user-input:focus {
  outline: none;
}

#hidden-span {
  max-width: 90vw;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 0px;
  background-color: white;
  color: black;
  border: none;
  font-size: 70px;
  text-align: left;
  width: auto;
  font-family: Arial;
  visibility: hidden;
  top: -1000px;
  left: 0px;
  position: fixed;
  font-family: helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
}


#send-button {
  background-color: #0279bcff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 0px;
  padding: 0px;
  margin: 0px;
  border: none;
  outline: none !important;
  height: 35px;
  width: 100%;
  max-width: 200px;
  margin-top: 0px;
  height: 80px;
  width: 80px;
  border-radius: 300px;
  border: 3px solid lightgray;
  background-color: white;
  color: gray;
  display: flex;
  justify-content: center;
  align-items: center;
}

#send-button span
{
  font-size:40px;
}


.asked #chat-main {
  top: 5vh;
}

.asked #chat-main #chat {
  opacity: 1;
}

.asked #dont-know {
  opacity: 1;
}

.asked #hidden-span {
  font-size: 25px;
}

.asked #asked-question {
  font-size: 40px;
  opacity: 1;
  margin-top: 0px !important;
}

.asked #user-input {
  font-size: 25px;
}

.asked #send-button {
  height: 25px;
  opacity: 0;
  width:0px;
}

.asked #logo {
  margin-bottom: 0px;
  width: 80px;
}

.asked #logo a {
  font-size: 15px;
}

.asked #logo img {
  width: 80px;
}

#loader {
  opacity: 0;
  transform: scale(0.8) translateY(10px);
}

.loading-answer #loader {
  opacity: 1;
}

.loading-answer #chat {
  opacity: 0;
}

.loading-answer #data {
  opacity: 0;
}

.loading-answer #dont-know {
  display: none;
  opacity: 0;
}


.transition-effect {
  transition: all 1s cubic-bezier(0, .94, .33, .99);
}

.transition-effect-fontsize {
  transition: font-size 1s cubic-bezier(0, .94, .33, .99);
}



.lds-roller {
  /* change color here */
  color: #0279bcff
}

.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: currentColor;
  margin: -3.6px 0 0 -3.6px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


#value-controller {
  position: fixed;
  z-index: 99999999;
  top: 0px;
  right: 0px;
  display: none;
}

#value-controller .circle-btn {
  cursor: pointer;
  background-color: white;
  border-radius: 400px;
  width: 30px;
  height: 30px;
  padding: 0px;
  margin: 5px;
  box-sizing: border-box;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


#dont-know {
  color: black;
  text-align: center;
  max-width: 1000px;
  font-family: helvetica, arial;
  font-size: 14px;
  padding-bottom: 20px;
  display: none;
  opacity: 0.2;
}

.dont-know #dont-know {
  display: inline-block;
}

#dont-know-explain {
  font-size: 20px;
  padding-bottom: 20px;
}

#mapping-options {
  display: flex;
  flex-direction: row;
}

#dont-know .mapper-option {
  background-color: lightGray;
  flex-grow: 1;
  padding: 10px;
  margin: 2px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 30px;
  cursor: pointer;
}

#dont-know .option-content {
  text-align: justify;
    width: 260px;
    padding-left: 30px;
}

.option-content-title
{
  font-size: 16px;
  font-weight: bold;
}

img.mapper-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 200px;
}


@media screen and (max-width: 768px) {

  #user-input {
    font-size: 30px;
  }
  
  #hidden-span {
    font-size: 30px;
  }

  #send-button {
    width: 40px;
    height: 40px;
  }

  #send-button span {
    font-size: 20px;
  }

}