@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');


#mapArea {
  position: relative;
  width: min(100vw, calc((100vh - 34px) * 1.5));
  aspect-ratio: 3 / 2;
  margin: 0 auto;
}

#worldMap {
  width: 100%;
  height: 100%;
  display: block;
}

.mapPin {
  position: absolute;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 2px solid white;
  border-radius: 50% 50% 50% 0;
  background: #ff3b30;
  transform: translate(-50%, -100%) rotate(-45deg);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

#maptitle {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    margin: 0;

    font-family: "Orbitron", sans-serif;
    font-size: 60px;
    letter-spacing: 12px;

    color: black;

    z-index: 10;
}

.mapPin::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 4px;
  left: 4px;
  border-radius: 50%;
  background: white;
}

.mapPlane {
  position: absolute;

  width: 200px;
  height: 200px;

  background-image: url("plane.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
  appearance: none;

  cursor: pointer;
  z-index: 3;
}

.mapPlane:focus-visible {
  outline: 2px solid black;
  outline-offset: 4px;
}


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

#app {
  position: relative;

  width: 100vw;
  height: 100vh;

  overflow: hidden;
}

.screen {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  transition: transform 0.7s ease;
}


#mapScreen {
  transform: translateX(0);
}



#storyScreen {
  transform: translateX(100%);

  background: white;

  overflow-y: auto;
}



#app.story-open #mapScreen {
  transform: translateX(-100%);
}

#app.story-open #storyScreen {
  transform: translateX(0);
}

.story {
  display: none;
}

.story.active {
  display: block;
}

#contactScreen {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: white;

  transform: translateY(100%);

  transition: transform 0.7s ease;

  z-index: 20;

  overflow-y: auto;
}

#app.contact-open #contactScreen {
  transform: translateY(0);
}

#storyScreen {
    padding: 40px;
    box-sizing: border-box;
}

.story {
    max-width: 800px;
    margin: auto;
}

.story h1 {
    font-size: 40px;
}

.story p {
    font-size: 18px;
    line-height: 1.6;
}

.story img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

#backButton,
#closeContact {
    border: none;
    background: none;

    font-size: 18px;
    cursor: pointer;

    margin-bottom: 30px;
}

.contactContent {
    padding: 50px;
}

.contactContent h1 {
    font-size: 40px;
}

.contactContent p {
    font-size: 18px;
}

.contactContent a {
    font-size: 18px;
}

.contactIcon {
    width: 28px;
    vertical-align: middle;
    margin-right: 8px;
}