/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap'); */
@import url("https://bassets.github.io/SFProText/SFProText.css");

html {
  /* 'Inter' */
  font-family: SF Pro Text, "SF Pro Text", Segoe UI, sans-serif !important;
  overflow: hidden;
  user-select: none;
  height: -webkit-fill-available;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

* {
  outline: none;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  margin: 0;
}

.title {
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: grid;
  place-content: center;
  background: linear-gradient(-90deg, #57a3ff, #3c82fb);
  transition: opacity 0.2s ease;
  z-index: 10000;
}

.title.error {
  opacity: 1 !important;
  pointer-events: all !important;
}

.title svg {
  top: 0;
  position: relative;
  display: block;
  margin-top: -10%;
  transition: 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0.9);
}

.title.error svg {
  margin-top: -10%;
}

.title a {
  color: white;
  position: absolute;
  top: 100%;
  left: 10%;
  opacity: 0;
  display: block;
  transition: 0.2s ease;
}

.title a::before {
  content: "!";
  color: #ea4335;
  font-size: 45px;
  position: absolute;
  left: -25px;
  top: -10px;
}

.title.error a {
  opacity: 1;
  margin-top: -7%;
  transition: opacity 0.25s, top 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.spinner {
  font-size: 25px;
  position: relative;
  width: 1em;
  display: block;
  margin: auto;
  margin-top: 13%;
  transform: scale(1.5);
}

.title.error .spinner {
  display: none;
}

.spinner-blade {
  position: absolute;
  left: 0.4629em;
  bottom: 0;
  width: 0.079em;
  height: 0.2777em;
  border-radius: 0.5em;
  transform-origin: center -0.2222em;
  animation: spinner-fade 1s infinite linear;
}

.spinner-blade:nth-child(1) {
  animation-delay: 0s;
  transform: rotate(0deg);
}

.spinner-blade:nth-child(2) {
  animation-delay: 0.083s;
  transform: rotate(30deg);
}

.spinner-blade:nth-child(3) {
  animation-delay: 0.166s;
  transform: rotate(60deg);
}

.spinner-blade:nth-child(4) {
  animation-delay: 0.249s;
  transform: rotate(90deg);
}

.spinner-blade:nth-child(5) {
  animation-delay: 0.332s;
  transform: rotate(120deg);
}

.spinner-blade:nth-child(6) {
  animation-delay: 0.415s;
  transform: rotate(150deg);
}

.spinner-blade:nth-child(7) {
  animation-delay: 0.498s;
  transform: rotate(180deg);
}

.spinner-blade:nth-child(8) {
  animation-delay: 0.581s;
  transform: rotate(210deg);
}

.spinner-blade:nth-child(9) {
  animation-delay: 0.664s;
  transform: rotate(240deg);
}

.spinner-blade:nth-child(10) {
  animation-delay: 0.747s;
  transform: rotate(270deg);
}

.spinner-blade:nth-child(11) {
  animation-delay: 0.83s;
  transform: rotate(300deg);
}

.spinner-blade:nth-child(12) {
  animation-delay: 0.913s;
  transform: rotate(330deg);
}

@keyframes spinner-fade {
  0% {
    background: white;
  }

  100% {
    background: transparent;
  }
}

.background {
  width: 100vw;
  position: fixed;
  z-index: -1000;
  left: 0;
  top: 0;
  background: white;
  height: 100vh;
  object-fit: cover;
}

.menu {
  position: absolute;
  cursor: pointer;
  z-index: 3;
  top: 10px;
  left: 10px;
  padding: 10px 0;
  background: #404040;
  width: 55px;
  height: 55px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  opacity: .5;
  border-radius: 30px;
  transition: .2s ease;
  overflow: hidden;
}

.menu .line {
  height: 3px;
  width: 30px;
  background: white;
  border-radius: 10px;
  margin-left: 13px;
  position: relative;
  transition: .2s ease;
  top: 0;
}

.menu .buttons {
  position: absolute;
  left: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 79px;
}

.menu .buttons svg {
  color: white;
  height: 30px;
  width: 30px;
}

.menu.open {
  width: 155px;
}

.menu.open .line:nth-of-type(1) {
  top: 9px;
  transform: rotate(45deg);
}

.menu.open .line:nth-of-type(2) {
  opacity: 0;
}

.menu.open .line:nth-of-type(3) {
  top: -10px;
  transform: rotate(-45deg);
}

.alert.visible ~ .menu {
  top: 55px;
}

/* START DEBUG BUTTON */

.debug-button {
  position: fixed;
  padding: 13px;
  background: #40aeff;
  color: white;
  box-shadow: 1px 2px 5px 0 #0000003b;
  border-radius: 0 0 10px 0;
  cursor: pointer;
  z-index: 999;
  user-select: none;
  opacity: 0.4;
}

.debug-button::before {
  content: "Debug";
}

.debug-button.open {
  right: 0;
  border-radius: 0 0 0 10px;
}

.debug-button.open::before {
  content: "Close";
}

.debug {
  z-index: 1000;
  text-shadow: 1px 1px 0 white;
  position: fixed;
  user-select: none;
  pointer-events: none;
  transform: scaleY(0);
  transition: 0.5s cubic-bezier(0.8, -0.5, 0.2, 1.4);
  padding: 5px;
  transform-origin: top;
  background: #f0f8ff;
  border-radius: 0 0 10px 0;
  opacity: 0.4;
  box-shadow: 1px 2px 5px 0 #0000003b;
  /*font-size: 15px;*/
}

.debug-button.open + .debug {
  transform: none;
}

.theButton {
  position: fixed;
  /*font-size: 14px;*/
  border-radius: 6px;
  font-family: inherit;
  padding: 8px 15px;
  margin-inline-start: 12px;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid #0060df;
  background-color: #0060df;
  color: #f9f9fa;
  left: 90px;
  top: 8px;
  opacity: 0.4;
}

.debug .theButton {
  position: relative;
  left: 0;
  top: 0;
  width: max-content;
  opacity: 1;
  pointer-events: all;
  margin: 0;
  background: #40aeff;
  border: 0;
  margin-bottom: 8px;
  text-shadow: none;
}

/* END DEBUG BUTTON */

.map {
  position: absolute;
  right: 0;
  top: 0;
  padding: 5px;
  cursor: pointer;
}

.map .compass {
  position: relative;
  transition: 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), top .2s ease;
  border-radius: 50%;
  background: #404040;
  z-index: 3;
  top: 5px;
  right: 5px;
}

.map #map {
  height: 100vh;
  width: 100vw;
  position: fixed;
  background-image: url("placeholder.png");
  background-size: 100px 100px;
  left: 0;
  top: 0;
  pointer-events: none;
  clip-path: circle(0% at 100% 10%);
  transition: 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}

.map.open .compass {
  transform: rotate(-85deg);
  background: white;
  fill: black;
}

.map.open #map {
  pointer-events: auto;
  clip-path: circle(140% at 100% 10%);
}

.my_location {
  color: black;
  background: #5eb7ff;
  height: 16px;
  width: 16px;
  margin-top: 39px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px white;
  border: 5px solid white;
  animation: blink 1.5s infinite;
}

.my_location .mapboxgl-popup-content,
.my_location .mapboxgl-popup-tip {
  display: none;
}

.myLocM {
  display: none !important;
}

.mapboxgl-marker svg {
  height: 32px;
}

.mapboxgl-marker svg g g:nth-of-type(1) {
  opacity: 0.2;
}

.mapboxgl-marker svg g g:nth-of-type(2) {
  fill: #40a9ff;
}

.mapboxgl-marker svg g g:nth-of-type(3) {
  fill: #fff;
  opacity: 1;
}

.mapboxgl-popup-tip {
  display: none !important;
}

.mapboxgl-popup-content {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 12px !important;
  text-shadow: 0px 1px 0 white, 1px 0px 0 white, -1px 0px 0 white, 0px -1px 0 white;
  font-family: "Inter", sans-serif !important;
  color: #40a9ff;
  top: 7.5px !important;
}

.search-wrapper {
  width: calc(100vw - 55px);
  height: 100vh;
  position: fixed;
  left: -5px;
  top: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
  padding-top: 5px;
  opacity: 0;
  cursor: default;
  transition: 0.1s, 0.25s opacity, 0.2s 0.1s width, 0.2s 0.1s left;
}

.map.open .search-wrapper {
  opacity: 1;
}

.map.open .search-wrapper .search {
  pointer-events: all;
}

.search-wrapper:focus-within {
  width: calc(100vw + 5px);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: #0000008c;
  pointer-events: all;
  transition: 0.1s, 0.2s 0.1s background, 0.1s 0.2s backdrop-filter;
}

.search {
  width: calc(100% - 50px);
  height: max-content;
  background: url(//investor.netlify.app/images/search.svg) 13px 50%/13px no-repeat #f9f5ede3;
  border: 2px solid #cdcdcd;
  box-shadow: 7px 7px 15px #00000026;
  font: inherit;
  color: inherit;
  font-size: 15px;
  border-radius: 50px;
  padding: 12px 35px;
  margin: 10px auto;
  display: block;
  outline: none;
  box-sizing: border-box;
  transition: .2s ease;
}

@keyframes blink {
  from {
    box-shadow: 0 0 0 0 white;
  }

  to {
    box-shadow: 0 0 0 13px transparent;
  }
}

.a-dialog-allow-button {
  background-color: #2997ff;
  color: #161617;
}

.a-dialog-deny-button {
  background-color: #ff851b;
}

.a-dialog-ok-button {
  background-color: #2997ff;
}

.icon {
  transition: 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 50%;
  background: #404040;
  cursor: pointer;
}

.icon.open {
  background: white;
  fill: black;
  transform: rotate(-85deg);
}

.marker {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.label {
  text-shadow: 0px 1px 0 white, 1px 0px 0 white, -1px 0px 0 white, -1px 1px 0 white, 1px 1px 0 white, 1px -1px 0 white, -1px -1px 0 white;
  margin-left: 13px;
}

.label .name {
  max-width: 111px;
  display: block;
}

.icon {
  color: black;
  background: #5eb7ff;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px white;
  border: 5px solid white;
  animation: blink 1.5s infinite;
}

.arrow-wrapper {
  position: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: scale(-1, 1);
  width: 100vw;
  transition: .2s ease, transform 0s;
  z-index: 0;
}

.arrow {
  background: rgba(180, 180, 180, 0.35);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  padding: 6px;
  width: 36px;
  height: 36px;
  position: fixed;
  color: #f1f1f2;
  left: 20px;
  display: grid;
  place-content: center;
}

.arrow.top {
  position: absolute;
  top: 10px;
  transform: rotate(90deg);
  left: 10px;
  pointer-events: none;
  transition: 0.25s opacity, .2s ease top;
  z-index: 0;
}

.map.open ~ .arrow.top {
  opacity: 0;
}

.alert {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  transition: .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 14.3px;
  background: #3cf;
  color: white;
}

.alert .no {
  display: none;
}

.alert.visible {
  height: 45px;
  opacity: 1;
}

.alert.gps a {
  display: none;
}

.alert.gps .no {
  display: block;
}

.alert.visible ~ .map .compass {
  top: 50px;
}

.alert.visible ~ .map .search-wrapper .search {
  margin-top: 55px;
}

/*.alert.visible ~ .arrow-wrapper {
  top: 50px;
  height: calc(100vh - 50px);
}*/

.alert.visible ~ .arrow.top {
  top: 50px;
}

.prompt-wrapper {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-content: center;
  position: fixed;
  z-index: 6;
  top: 0;
  left: 0;
  /*background: rgba(0, 0, 0, 0.82);*/
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: #0000008c;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.prompt-wrapper.visible {
  opacity: 1;
  pointer-events: auto;
}

.prompt {
  width: 15.5em;
  height: 8.736em;
  border-radius: 15px;
  background: #272727;
  text-align: center;
  box-sizing: border-box;
  color: white;
  font-size: 1.06568em;
  line-height: 1.23536;
  position: relative;
  letter-spacing: -0.1px;
  transform: scale(1.05);
  transition: 0s 0.2s;
}

.prompt-wrapper.visible .prompt {
  transform: none;
  transition: 0.2s ease;
}

.prompt h1 {
  font-weight: 400;
  font-size: 1.06568em;
  margin: 0;
  padding: 1.7363em;
  line-height: 1.23536;
  letter-spacing: -0.022em;
  height: calc(100% - 3.27974em);
  height: calc(100% - 2.61974em);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.prompt .buttons {
  border-top: 1px solid #424245;
  width: 15.5em;
  position: absolute;
  height: 3.27974em;
  height: 2.61974em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  bottom: 0;
}

.prompt .buttons div {
  line-height: 1.23536;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: #2997ff;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 0 15px;
  font-size: 1.06568em;
}

.prompt .buttons div:nth-of-type(2) {
  font-weight: 600;
  border-radius: 0 0 15px;
}

.prompt .buttons div:hover {
  background: #3c3c3c;
}

.prompt .buttons hr {
  margin: 0;
  position: absolute;
  border: 0;
  height: 100%;
  background: #424245;
  width: 1px;
  pointer-events: none;
}

.prompt span {
  border-radius: 8px;
  padding: 0.688825em 14px 0.738825em;
  width: 100%;
  outline: none;
  text-align: left;
  color: #fff;
  background: #3b3b3f;
}

.prompt span:empty::after {
  content: "Type a mess...";
  pointer-events: none;
  color: #6e6e73;
}
