@import url('./fonts.css');

body {
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  overscroll-behavior: none;
  font-size: 2vh;
}
.gallery-scene {
  height: 100vh;
  position: relative;
}
.gallery-scene .canvas-3d {
  position: absolute;
  top: 0;
  left: 0;
}
.canvas-overlay, .svg-overlay {
  position: fixed;
  pointer-events: none;
  opacity: 0;
}
.svg-selection {
  stroke: black;
  stroke-width: 12px;
  fill: transparent;
}
.svg-hover-selection {
  fill: gray;
  opacity: .15;
}
.svg-overlay .item-overlay {
  fill: transparent;
  stroke-width: 12px;
}

.button {
  border: none;
  font: inherit;
  outline: inherit;
  cursor: pointer;
  pointer-events: auto;
  background-color: black;
  color: white;
  font-size: 1.2em;
  font-weight: 500;
}
a, .link {
  color: #000000;
  pointer-events: auto;
}
.link {
  cursor: pointer;
  pointer-events: auto;
  text-decoration: underline;
}
a:hover, .link:hover {
  color: #757575;
}
.button:hover {
  background-color: #757575;
}
.button.disabled,
.link.disabled {
  pointer-events: auto;
  cursor: auto;
  opacity: .3;
}
.bold {
  font-weight: 800;
}



.content-max-width {
  width: 95%;
  max-width: calc(100vh + 600px);
}

.gallery-scene-overlay {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100vh;
  width: 100vw;
  pointer-events: none;
}
.gallery-scene-overlay-content {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  height: 100%;
}



.header-block {
  position: absolute;
  width: 25vw;
  min-width: 320px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
  opacity: 0;
}
.map-UI .header-block {
  outline: 1px solid black;
  border-top: 9px solid black;
}
.header-block.mini-map {
  right: 0;
  bottom: 55px;
  width: 220px;
  min-width: unset;
  max-width: unset;
}
.header-block .header-block-content {
  width: 100%;
  background-color: #ffffff;
}
.header-block .header-block-content-wrapper {
  width: 80%;
  padding: 10%;
}
.header-block .fake-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 9px;
  background-color: black;
}
.header-block .stat {
  color: #757575;
  font-size: 0.8em;
  margin-top: 1em;
}





.header-block.landing {
  top: 0;
  left: 0;
}
.header-block.landing .title {
  font-weight: 900;
  font-size: 3.8em;
  line-height: 1.8em;
}
.header-block.landing .sub-title {
  font-weight: 500;
  font-size: 1.3em;
  line-height: 1.4;
}
.header-block.landing .text {
  font-weight: 400;
}
.header-block.landing .button {
  padding: 0.9em 1.6em;
}
.header-block.landing .text,
.header-block.landing .button {
  margin-top: 1.8em;
}










.map-UI {
  width: 100%;
  height: 100%;
}
.map-UI .side-panel {
  left: 0;
  top: 42px;
}
.map-UI .exit-btn {
  position: absolute;
  top: 36px;
  right: 0;
  width: 64px;
  height: 64px;
}



/*.map-UI .side-panel,*/
.map-UI .exit-btn,
.map-UI .mini-map {
  display: none;
}



.map-UI .side-panel-title {
  font-size: 1.5em;
  font-weight: 500;
}
.map-UI .side-panel-info {
  display: none;
}
.map-UI .side-panel-info.intro-info {
  display: block;
}
.map-UI .side-panel-info.intro-info a {
  display: block;
  width: 100%;
  padding: .3em 0;
}
.map-UI .side-panel-info.intro-info img {
  display: block;
  width: 105px;
}
.map-UI .side-panel-info.intro-info .stat-visual {
  position: relative;
  height: 1em;
  margin-top: 1em;
}
.map-UI .side-panel-info.intro-info .stat-visual-full,
.map-UI .side-panel-info.intro-info .stat-visual-minted {
  position: absolute;
  left: 0;
}
.map-UI .side-panel-info.intro-info .stat-visual-full {
  top: 2px;
  height: 7px;
  width: 100%;
  background: rgba(212, 212, 212, 0.4);
}
.map-UI .side-panel-info.intro-info .stat-visual-minted {
  top: 0;
  height: 11px;
  background: #000000;
}
.map-UI .title {
  position: absolute;
  line-height: 1.5;
  left: 0;
  width: 100%;
  text-align: center;
}
.map-UI .new-item-dialog-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.map-UI .new-item-dialog-btns > * {
  padding: .3em 1em;
}
.map-UI .new-item-dialog-btns #buy-item {
  flex: 1;
}
.map-UI .text {
  padding: 1em 0;
}






.map-UI .map-area {
  position: relative;
  border: 1px solid #000;
}
.map-UI .mini-map-canvas {
  display: block;
  width: 100%;
}
.map-UI .mini-map-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.mini-map .controls-area {
  width: 100%;
  height: 27px;
  display: flex;
  align-items: center;
  margin-top: 15px;
}
.mini-map .controls-area .button {
  flex-basis: 16%;
  height: 100%;
  background-color: transparent;
  border: 1px solid #D5D5D5;
}
.mini-map .controls-area .button:hover {
  background-color: #D5D5D5;
}
.mini-map .controls-area .button svg {
  display: block;
  width: 100%;
  padding-top: 30%;
  height: 40%;
}
.mini-map .controls-area .button.zoom-out {
  margin-right: -1px;
}
.mini-map .controls-area .zoom-level {
  padding-left: .5rem;
  color: #757575;
  font-size: .9rem;
}
.mini-map .controls-area .button.zoom-reset {
  margin-left: auto;
}






.content-max-width.page-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  min-height: 100vh;
  padding-top: 200px;
  margin: 0 auto;
}
.page-content .title {
  font-size: 2em;
  font-weight: 800;
  text-align: center;
}
.page-content > * {
  padding: 20px 0;
}

