/* the enlarged map: a window of about three quarters of the screen above the page (the whole screen on a phone) */
/* One file for one part of the application: a change of that part touches only this file. */

.map-big-back {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 18, 30, 0.55);
}
.map-card.map-big,
.map-editor.map-big {
  position: fixed;
  z-index: 2001;
  background: var(--card);
  top: 12.5vh;
  left: 12.5vw;
  width: 75vw;
  height: 75vh;
  margin: 0;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.map-card.map-big .map {
  height: calc(75vh - 120px);
  max-height: none;
}
.map-card.map-big .map svg {
  height: 100%;
}
.map-editor.map-big .map-edit {
  height: calc(75vh - 210px);
  min-height: 260px;
}
body.map-big-on {
  overflow: hidden;
}
@media (max-width: 900px) {
  .map-card.map-big,
  .map-editor.map-big {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .map-card.map-big .map {
    height: calc(100vh - 130px);
  }
  .map-editor.map-big .map-edit {
    height: 52vh;
  }
}

/* the picture of Johny beside a heading */
.with-johny {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* in the crystal look too the enlarged window is solid, so that nothing of the page shows through it */
html.glass .map-card.map-big,
html.glass .map-editor.map-big {
  background: #ffffff !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html.glass .map-editor.map-big .me-panel,
html.glass .map-editor.map-big .map-edit {
  background-color: #ffffff !important;
}
html.glass[data-theme='dark'] .map-card.map-big,
html.glass[data-theme='dark'] .map-editor.map-big,
html.glass[data-theme='dark'] .map-editor.map-big .me-panel,
html.glass[data-theme='dark'] .map-editor.map-big .map-edit {
  background: #172029 !important;
}
