@font-face {
  font-family: 'Brandon Grotesque Light';
  src: url('./BrandonGrotesqueLight.otf');
}

:root {
  --primary-color: black;
  --secondary-color: black;
  --background-color: white;
  --text-color: black;
  --emphasis-color: black;
  --heading-typeface: 'Brandon Grotesque Light', sans-serif;
  --normal-typeface: 'Brandon Grotesque Light', sans-serif;
  --emphasis-typeface: 'Brandon Grotesque Light', sans-serif;
}

.hidden {
  display: none !important;
}

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

.screen {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 9998;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--heading-typeface);
}

div.splashscreen {
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 2rem;
  box-sizing: border-box;

  transition: opacity 0.5s;
}

#splashscreen.exit {
  opacity: 0;
  pointer-events: none;
}

#startbutton {
  margin: auto;
  width: 229px;
  height: 54px;
  line-height: 54px;
  background: black;
  color: white;
  border: 1px solid white;
  box-sizing: border-box;
  padding-top: 15px;

  font-family: var(--heading-typeface);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.267412930727005px;
  text-align: center;
  
  cursor: pointer;
}

@media (max-width: 360px) {
  #startbutton {
      width: 90%;
      font-size: 1.2rem;
  }
}

#splashscreen_image {
  width: 203px;
}

@media (max-width: 360px) {
  #splashscreen_image {
      width: 50vw;
  }
}

#splashscreen_heading {
  margin: auto;
  width: 75%;
  font-family: var(--heading-typeface);
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: 0.20211441814899445px;
  text-align: center;
}

@media (max-width: 360px) {
  #splashscreen_heading {
      width: 100%;
      font-size: 1.5rem;
      line-height: 1.25;
  }
}

#splashscreen_text {
  width: 313px;
  margin: auto;
  padding-top: 0px;
  padding-bottom: 35px;
  font-family: var(--normal-typeface);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.20211441814899445px;

}

@media (max-width: 360px) {
  #splashscreen_text {
      width: 100%;
      font-size: 0.7rem;
      line-height: 1.25;
      line-height: 1.5;
  }
}

.versionscreen {
  z-index: 9997;
  position: absolute;
  top: 0;
  left: 0;
  background: black;
  height: 100vh;
  width: 100vw;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.versionscreen.fadein {
  opacity: 1;
}

.versionscreen .box {
  border: 1px solid var(--primary-color);
  background-color: var(--background-color);
  max-width: 80%;
  width: 300px;
  margin-bottom: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-sizing: content-box;
}

.versionscreen .message {
  color: var(--text-color);
  font-size: 0.8rem;
  font-family: var(--normal-typeface);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.versionscreen .ok {
  border: 1px solid var(--primary-color);
  background-color: transparent;
  color: var(--text-color);
  font-family: var(--normal-typeface);
  font-size: 1.1rem;
  width: 60%;
  height: 32px;
}

#top_instructions {
  z-index: 799;
  opacity: 0;
  height: 30%;
  width: 100%;
  position: absolute;
  top: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;

  transition: opacity 0.3s;
}

#top_instructions_container {
  width: 100%;
  height: 60%;
}

#top_instructions.fadein {
  opacity: 1;
}

#tap_instructions_image {
  width: 2rem;
  margin-bottom: 1rem;
}

#tap_instructions {
  font-family: var(--normal-typeface);
}

#record_instructions {
  z-index: 9;
  width: 90vw;
  position: absolute;
  bottom: 125px;
  left: 50%;
  margin-left: -45vw;
  border-radius: 0px;
  text-align: center;
  user-select: none;
  pointer-events: none;
  opacity: 0;

  background-color: rgba(255, 255, 255, 0.7);
  transition: opacity 0.5s;
}

#record_instructions.fadein {
  opacity: 1;
}

#record_instructions_text {
  padding: 15px 15px;
  color: var(--text-color);

  font-family: var(--normal-typeface);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 1px;
  text-align: center;
}

#lost_tracking_instructions {
  z-index: 9;
  position: absolute;
  left: 50%;
  top: 50%;
  display: none;
  transform: translate(-50%, 0%);
  top: 5vh;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 25px;
  border-radius: 0px;
}

#lost_tracking_watermark_container {
  margin-left: auto;
  text-align: center;
}

#lost_tracking_watermark {
  height: 5vh;
  opacity: 1.0;
  margin: auto;
}

#lost_tracking_text {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  width: 50vw;
  padding-bottom: 2vh;
  color: black;
}

#rotate_text {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  width: 50vw;
  padding-bottom: 2vh;
  color: black;
}

#actionButton {
  border: none;
  font-family: var(--normal-typeface);
  color: var(--text-color);
  background: var(--background-color);
  text-transform: uppercase;
}

#actionButton img {
  filter: invert(1);
}

#requestingCameraPermissions {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--normal-typeface);
}

#requestingCameraIcon {
  filter: invert(1);
}

#loadBackground {
  background-color: var(--background-color);
}

.prompt-box-8w, .prompt-button-8w, .button-primary-8w {
  border-radius: 0 !important;
  background-color: var(--background-color) !important;
  color: var(--text-color) !important;
  font-family: var(--normal-typeface);
}

.prompt-button-8w, .button-primary-8w {
  border: 1px solid var(--primary-color);
}
