* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#mapbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}


.mapboxgl-ctrl-geocoder {
  display: none;
}

.mapboxgl-ctrl-geocoder.display {
    display: block;
}


.map-overlay-container {
    z-index: 1;
}

.map-overlay {
    display: none;
    position: absolute;
    height: 95vh;
    width: 30vw;
    background: linear-gradient(103deg, rgba(239, 244, 255, 1) 0%, rgba(237, 244, 255, 1) 31%, rgba(240, 244, 255, 1) 78%, rgba(241, 246, 255, 1) 99%);
    color: #21202e;
    opacity: 95%;
}
.map-overlay.displayThree {
    display: block;
}

.info-title {
    font-size: 24px;
}

.info-description {
    height: 60%;
    padding-top: 5px;
    font-size: 14px;
    shape-outside: inset(100px 100px 100px 100px 10px)
}

/* info */
.info {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}
.info-icon {
  position: absolute;
  bottom: 40px;
  left: 25px;
  font-size: 32px;
  opacity: 1;
  cursor: pointer;
  filter: drop-shadow(0 0 8px #d2d2d25c);
  position: absolute;
  display: block;
  width: 28px;
  height: 28px;
  opacity: 1;
}



/* search icon */
.search {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.search-icon {
  position: absolute;
  display: block;
  bottom: 90px;
  left: 25px;
  width: 32px;
  height: 32px;
  opacity: 1;
  color: hsla(0, 3%, 79%, 0.931);
  cursor: pointer;
  filter: drop-shadow(0 0 8px #d2d2d25c);
}



/* walking icon */
.walking {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.walking-icon {
  position: absolute;
  display: block;
  bottom: 140px;
  left: 25px;
  width: 34px;
  height: 34px;
  opacity: 0.8;
  color: hsla(0, 3%, 79%, 0.931);
  cursor: pointer;
  filter: drop-shadow(0 0 8px #d2d2d25c);
}

/* loading screen */
.spaceship {
  position: absolute;
  top: 45%;
  left: -150%;
  background: transparent;
  z-index: 1;
  filter: drop-shadow(1px 6px 5px #000000aa);
  animation: fly 9s ease-in-out 2s;
}
@keyframes fly {
  0%   {
    left: -150%;
    top: 45%;
  }
  100%  {
    left: 110%;
    top: 25%;
  }
}
.spaceship-img {
  animation: fly-away 7s ease-in-out 3s;
}
@keyframes fly-away {
  0% {
    width: 120%;
    height: 120%;
  }
  100%  {
    width: 50%;
    height: 50%;
  }
}
.intro {
  position: absolute;
  left: 15%;
  opacity: 0;
  visibility: hidden;
  width: 0;
  font-family: 'Varta', sans-serif;
  font-size: 24px;
  font-weight: 100;
  color: hsla(0, 0%, 93%, 0.92);
  transform-style: preserve-3d;
  transform: rotateZ(-12deg) skewX(-20deg);
  animation-fill-mode: forwards;
}
@keyframes reveal {
  0% {
    opacity: 1;
    visibility: visible;
    left: 15%;
    width: 120%;
  }
  100%  {
    left: -10%;
  }
}
.message {
  animation-fill-mode: forwards;
}
.line1 {
  position: relative;
  top: 0;
  left: 0;
}
.line2 {
  position: relative;
  top: 40%;
  left: 5%;
}
@keyframes dissipate {
  0%   {
    color: hsla(0, 0%, 93%, 0.92);
    opacity: 1;
    visibility: visible;
    font-size: 24px;
    font-weight: 500;
  }
  25%  {
    color: hsla(0, 0%, 86%, 0.87);
    opacity: 0.9;
    font-weight: 700;
  }
  50%  {
    color: hsla(0, 0%, 64%, 0.382);
    opacity: 0.7;
    font-weight: 900;
  }
  75%  {
    color: hsla(0, 0%, 27%, 0.183);
    opacity: 0.4;
    font-size: 75px;
  }
  100%  {
    opacity: 0;
    visibility: hidden;
  }
}

/* menu */
.menu {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    color: rgb(93, 92, 92);
    text-shadow: hsla(0, 0%, 14%, 0.825) 1px 1px 2px;
    line-height: 1.4;
    z-index: 1;
}
.menu-icon {
  position: absolute;
  bottom: 40px;
  left: 25px;
  font-size: 32px;
  opacity: 1;
  color: hsla(0, 3%, 79%, 0.931);
  cursor: pointer;
  filter: drop-shadow(0 0 8px #d2d2d25c);
}
#on-off {
  display: none;
}
.radio-menu {
  display: none;
}
.items {
  position: absolute;
}
.item {
    position: relative;
    display: none;
    margin-right: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}
.instructions-menu {
    font-size: 1.1em;
    cursor: default;
}
.spacer {
    position: relative;
    margin-left: 7px;
    margin-right: 7px;
    vertical-align: middle;
    content: "";
    border-bottom: 1px solid #8e8d8d;
    height: 1px;
    cursor: default;
}
#on-off:checked + .menu-label + .items .item {
    opacity: 1;
    transition-delay: 0.25s;
}
#on-off:checked + .menu-label + .items .item:nth-child(1) {
    transition-delay: 0.3s;
}
#on-off:checked + .menu-label + .items .item:nth-child(2) {
    transition-delay: 0.35s;
}
#on-off:checked + .menu-label + .items .item:nth-child(3) {
    transition-delay: 0.4s;
}
#on-off:checked + .menu-label + .items .item:nth-child(4) {
    transition-delay: 0.45s;
}
#on-off:checked + .menu-label + .items .item:nth-child(5) {
    transition-delay: 0.5s;
}
#on-off:checked + .menu-label + .items .item:nth-child(6) {
  transition-delay: 0.55s;
}
#on-off:checked + .menu-label + .items .item:nth-child(7) {
  transition-delay: 0.6s;
}
#on-off:checked + .menu-label + .items .item:nth-child(8) {
  transition-delay: 0.65s;
}
#on-off:checked + .menu-label + .items .item:nth-child(9) {
  transition-delay: 0.7s;
}
span {
  transition: color 0.5s ease;
  cursor: pointer;
}
.item:hover span {
  color: #bca001a4;
  font-weight: 900;
}
.radio-menu:checked + .radio-label {
  color: rgb(228, 179, 2);
  font-weight: 600;
}


/* modal */
.modal-shade {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(123, 121, 121, 0.265);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.modal-shade.fade-in {
  opacity: 1;
}

.modal-box {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  max-width: 95%;
  height: 2px;
  color: #ebebeb;
  background-image: linear-gradient(280deg , #585858 0%, #505050 35%);
  overflow: hidden;
  z-index: 2;
}

.modal-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 3s;
  z-index: 3;
}
.modal-video.add-video {
  opacity: 1;
}
#modalVid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  overflow: hidden;
  cursor: pointer;
}

.modal-container {
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  opacity: 0;
  overflow-y: scroll;
  transition: opacity 2s;
  cursor: grab;
  z-index: 4;
}
.modal-container.show-content {
  opacity: .9;
}

.modal-city, .modal-country, .is {
  display: none;
  position: relative;
  margin: 0;
  padding-top: 0.5em;
  font-size: 2.1em;
  font-family: 'Red Hat Display', sans-serif;
  color: hsl(0, 0%, 87%);
  cursor: default;
}
.modal-spirit {
  display: none;
  position: relative;
  margin: 0;
  font-size: 2.7em;
  font-family: 'Varta', sans-serif;
  font-weight: bolder;
  font-style: italic;
  color: hsl(0, 0%, 87%);
  cursor: default;
}
.modal-content {
  display: block;
  position: relative;
  margin-top: 1em;
  padding-right: 25px;
  font-size: 1.05em;
  font-weight: 300;
  line-height: 1.2;
  font-family: 'Albert Sans', sans-serif;
  color: rgb(185, 185, 185);
  opacity: 0;
  transition: all 1500ms ease-in-out;
  cursor: default;
}
.modal-content.show-description {
  opacity: 1;
}
.modal-content > p {
  margin-bottom: 1em;
}

/* scroll bar */
.modal-container::-webkit-scrollbar {
  width: 12px;  /* width of the entire scrollbar */
}

.modal-container::-webkit-scrollbar-track {
  background: rgba(128, 128, 129, 0.305);  /* color of the tracking area */
  border-radius: 12px; /* roundness of the tracking area */
  border: #6565658f 1px solid;  /* creates padding around scroll thumb */
}

.modal-container::-webkit-scrollbar-thumb {
  background-color: rgb(81, 81, 81);    /* color of the scroll thumb */
  border-radius: 12px;   /* roundness of the scroll thumb */
  border: 1px solid rgb(65, 65, 65);  /* creates padding around scroll thumb */
  cursor: pointer;
}

.modal-button {
  display: block;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 170px;
  padding: 2px 15px;
  background: linear-gradient(70deg, #656565 0%, rgb(92, 92, 92) 12%, rgb(92, 92, 92) 92%, rgb(88, 88, 88) 100%);
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 12px;
  border: 0;
  border-radius: 2px;
  color: #c4c4c4;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.3), 0 2px 5px rgba(0,0,0,.3);
  z-index: 5;
}
.modal-button:hover {
  background-color: #727272;
  cursor: pointer;
}
.modal-button:active {
  background-color: #484646;
  text-shadow: 0 1px 2px rgba(0,0,0,.75);
  color:#a2a4a7;
  transform: translate(-49%, 1px);
}

.button-forward {
  cursor: pointer;
  display: none;
}
.button-back {
  cursor: pointer;
  display: none;
}

.modal-close {
  position: absolute;
  top: -5px;
  right: 5px;
  font-size: 36px;
  color: #bfbfbf;
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 5;
}


/* POPUP */
.popup-shade {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(125, 125, 125, 0.301);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.popup-shade.fade-in {
  opacity: .7;
}
.popup-wrapper {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  background: linear-gradient(45deg, rgba(76, 76, 76, 0.918), rgba(80, 80, 80, 0.918));
  box-shadow: 0 10px 36px 8px rgba(63, 63, 63, 0.55);
  transition: all 1s ease-out 100ms;
  z-index: 2;
}
.popup-wrapper * {
  margin: 0;
  padding: 0;
}
.popup-wrapper.expand {
  width: auto;
  height: auto;
}
.popup-box1 {
  flex: 100%;
  display: none;
  flex-direction: column;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(76, 76, 76, 0.918), rgba(80, 80, 80, 0.918));
  opacity: 1;
  transition: all 1s ease-in;
  z-index: 3;
}
.popup-box1.slide-aside {
  width: 100%;
  height: 100%;
}
.slideshow-container {
  position: absolute;
  display: none;
  flex: 100%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in;
  z-index: 4;
}
.slideshow-container.fade-in-too {
  opacity: 1;
}
.mySlides {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.9;
  z-index: 5;
}
.img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 6;
}
.dot-container {
   display: none;
   flex-direction: row;
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translate(-50%, 0);
   min-width: 100%;
   margin: 1em 0;
   justify-content: center;
   text-align: center;
   opacity: 0;
   transition: opacity 1s ease-in;
   z-index: 7;
}
.dot-container.fade-in-three {
  opacity: 1;
}
.dot, .dotB {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: none;
  transition: background-color 0.6s ease;
}
.active {
  background-color: #717171;
}
.popup-close {
  position: absolute;
  top: 0;
  right: 5px;
  font-size: 36px;
  color: #bfbfbf;
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 7;
}

.popup-box2 {
  flex: 100%;
  display: none;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(76, 76, 76), rgba(80, 80, 80));
  opacity: 0;
  transition: all 1s ease-in 1s;
  z-index: 3;
}
.popup-box2.slide-in {
  opacity: 1;
} 
.popup-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  visibility: hidden;
  overflow-y: scroll;
  cursor: grab;
  z-index: 4;
}
#popup-containerA::-webkit-scrollbar {
  width: 12px;  /* width of the entire scrollbar */
}
#popup-containerA::-webkit-scrollbar-track {
  background: rgba(128, 128, 129, 0.305);  /* color of the tracking area */
  border-radius: 12px; /* roundness of the tracking area */
  border: #6565658f 1px solid;  /* creates padding around scroll thumb */
}
#popup-containerA::-webkit-scrollbar-thumb {
  background-color: rgb(81, 81, 81);    /* color of the scroll thumb */
  border-radius: 12px;   /* roundness of the scroll thumb */
  border: 1px solid rgb(65, 65, 65);  /* creates padding around scroll thumb */
}
#popup-containerB::-webkit-scrollbar {
  display: none;
}
.popup-name {
  display: none;
  position: relative;
  height: auto;
  font-family: 'Quattrocento Sans', sans-serif;
  font-weight: lighter;
  font-size: 2em;
  color:hsl(0, 1%, 70%);
  cursor: none;
  z-index: 5;
}
.popup-content {
  position: relative;
  flex: 1;
  justify-content: center;
  text-align: left;
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.1em;
  margin-top: 0.8em;
  color: rgb(172, 171, 171);
  opacity: 1;
  z-index: 5;
}
#popup-contentA {
  padding-right: 5%;
}
.popup-content > p {
  margin-bottom: 1.25em;
}
.status-indicators {
  display: none;
}


/* Intro Slideshow */
.map-overlay-container {
    position: absolute;
    width: 25%;
    top: 0;
    left: 0;
    padding: 10px;
    z-index: 1;
}
.map-overlay {
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    background-color: #f7f8f8;
    border-radius: 3px;
    padding: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.map-overlay h2,
.map-overlay p {
    margin: 0 0 10px;
}


/* responsive break points */
/* X-Small devices (mini phones) */
@media only screen and (max-width: 575.99px) {
  html {
    font-size: 14px;
  }
  .intro {
    top: 30%;
    animation: reveal 13s ease-out 7600ms; /* good enough, don't touch */
  }
  .message {
    animation: dissipate 13s ease-in-out 7600ms;
  }
  .menu {
    width: auto;
    height: 100%;
  }
  .items {
    top: 25px;
    left: 25px;
    width: 25%;
  }
  #on-off:checked + .menu-label + .items .item {
    display: block;
  }
  .spacer {
    width: 50px;
  }
  .panel-label {
    display: none;
  }
  .panel-mobile {
    display: block;
  }
}

/* Small devices (big phones) */
@media only screen and (min-width: 576px) and (max-width: 767.99px) {
  html {
    font-size: 15px;
  }
  .intro {
    top: 26%;
    animation: reveal 13s ease-out 7500ms; /* good enough, don't touch */
  }
  .message {
    animation: dissipate 13s ease-in-out 7500ms;
  }
  .menu {
    width: auto;
    height: 100%;
  }
  .items {
    top: 25px;
    left: 25px;
    width: 25%;
  }
  #on-off:checked + .menu-label + .items .item {
    display: block;
  }
  .spacer {
    width: 60px;
  }
  .panel-label {
    display: none;
  }
  .panel-mobile {
    display: block;
  }
}

/* Medium devices (tablets) */
@media only screen and (min-width: 768px) and (max-width: 1099.99px) {
  html {
    font-size: 16px;
  }
  .intro {
    top: 23%;
    animation: reveal 12500ms ease-out 7500ms; /* perfect, don't touch */
  }
  .message {
    animation: dissipate 12500ms ease-in-out 7500ms;
  }
  .items {
    bottom: 45px;
    left: 80px;
    width: 95%;
  }
  #on-off:checked + .menu-label + .items .item {
    display: inline-block;
  }
  #on-off:checked + .menu-label + .items .item .instructions-menu {
    width: min-content;
  }
  .spacer {
    width: 30px;
  }
  .panel-label {
    display: none;
  }
  .panel-mobile {
    display: block;
  }
}
/* Large devices (laptops) */
@media only screen and (min-width: 1100px) and (max-width: 1299.99px) {
  html {
    font-size: 16px;
  }
  .intro {
    top: 18%;
    animation: reveal 12s ease-out 7400ms; /* perfect, don't touch */
  }
  .message {
    animation: dissipate 12s ease-in-out 7400ms;
  }
  .items {
    bottom: 45px;
    left: 80px;
    width: 95%;
  }
  #on-off:checked + .menu-label + .items .item {
    display: inline-block;
  }
  #on-off:checked + .menu-label + .items .item .instructions-menu {
    width: min-content;
  }
  .spacer {
    width: 40px;
  }
  .panel-label {
    display: block;
  }
  .panel-mobile {
    display: none;
  }
}
/* X-Large devices (desktops) */
@media only screen and (min-width: 1300px) {
  html {
    font-size: 17px;
  }
  .intro {
    top: 15%;
    animation: reveal 12s ease-out 7300ms; 
  }
  .message {
    animation: dissipate 12s ease-in-out 7300ms;
  }
  .items {
    bottom: 45px;
    left: 80px;
  }
  #on-off:checked + .menu-label + .items .item {
    display: inline-block;
  }
  #on-off:checked + .menu-label + .items .item .instructions-menu {
    width: auto;
  }
  .spacer {
    width: 50px;
  }
  .panel-label {
    display: block;
  }
  .panel-mobile {
    display: none;
  }
}
@media only screen and (orientation: landscape) {
  .popup-wrapper {
    flex-direction: row;
  }
}
@media only screen and (orientation: portrait) {
  .popup-wrapper {
    flex-direction: column;
  }
}