/* ibm-plex-mono-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 100;
  src: url("fonts/ibm-plex-mono-v19-latin-100.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-100.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 100;
  src: url("fonts/ibm-plex-mono-v19-latin-100italic.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-100italic.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 200;
  src: url("fonts/ibm-plex-mono-v19-latin-200.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-200.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 200;
  src: url("fonts/ibm-plex-mono-v19-latin-200italic.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-200italic.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/ibm-plex-mono-v19-latin-300.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-300.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 300;
  src: url("fonts/ibm-plex-mono-v19-latin-300italic.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-300italic.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/ibm-plex-mono-v19-latin-regular.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-regular.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/ibm-plex-mono-v19-latin-italic.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-italic.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/ibm-plex-mono-v19-latin-500.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-500.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 500;
  src: url("fonts/ibm-plex-mono-v19-latin-500italic.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-500italic.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/ibm-plex-mono-v19-latin-600.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-600.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 600;
  src: url("fonts/ibm-plex-mono-v19-latin-600italic.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-600italic.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/ibm-plex-mono-v19-latin-700.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-700.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ibm-plex-mono-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 700;
  src: url("fonts/ibm-plex-mono-v19-latin-700italic.woff2") format("woff2"), url("fonts/ibm-plex-mono-v19-latin-700italic.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* manrope-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200;
  src: url("fonts/manrope-v15-latin-200.woff2") format("woff2"), url("fonts/manrope-v15-latin-200.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* manrope-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/manrope-v15-latin-300.woff2") format("woff2"), url("fonts/manrope-v15-latin-300.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* manrope-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/manrope-v15-latin-regular.woff2") format("woff2"), url("fonts/manrope-v15-latin-regular.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* manrope-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/manrope-v15-latin-500.woff2") format("woff2"), url("fonts/manrope-v15-latin-500.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* manrope-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/manrope-v15-latin-600.woff2") format("woff2"), url("fonts/manrope-v15-latin-600.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* manrope-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/manrope-v15-latin-700.woff2") format("woff2"), url("fonts/manrope-v15-latin-700.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* manrope-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  src: url("fonts/manrope-v15-latin-800.woff2") format("woff2"), url("fonts/manrope-v15-latin-800.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
:root {
  --color-red: #c83922;
  --color-redTrans: #c83922cc;
  --color-gray: #d1c9c7;
  --color-grayTrans: #d1c9c7cc;
  --color-dark: rgba(0,0,0,0.5);
  --color-blue: #d3edf0;
}

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

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
}

#info-title {
  text-align: center;
  margin-bottom: 1rem;
}
#info-title img {
  width: 500px;
  margin-right: 1.5rem;
}

#default #info-title {
  margin-bottom: 3rem;
}

footer {
  width: 100vw;
  border-top: 0.2rem solid var(--color-dark);
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  justify-content: space-around;
  align-items: center;
  padding: 1.5rem 1rem;
  transition: visibility 0.5s;
  margin-top: 2rem;
}
@media screen and (min-width: 800px) {
  footer {
    flex-direction: row;
    row-gap: unset;
    padding: 2rem 1rem 2rem 1rem;
  }
}
footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.capa-logo {
  width: 6rem;
}

.orga-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 2rem;
}
@media screen and (min-width: 800px) {
  .orga-logos {
    gap: 1rem 2rem;
  }
}

.orga-logo {
  height: 90px;
  width: auto;
}
#default .prose figure {
  display: block;
  margin: 2rem auto;
  width: -moz-fit-content;
  width: fit-content;
}

/* ============
    Typography
   ============ */
:root {
  --font-family-sans: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-family-serif: font-family: "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "IBM Plex Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --fs-900: 2rem;
  --fs-800: 1.6rem;
  --fs-700: 1.3rem;
  --fs-600: 1.1rem;
  --fs-500: 1.05rem;
  --fs-400: 1rem;
  --fs-100: 0.7rem;
}

html * {
  font-family: var(--font-family-sans);
}

h1,
h2,
h3,
h4,
#timestamp,
.btn {
  font-family: var(--font-family-mono);
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}
a:visited {
  color: inherit;
}

.btn {
  text-transform: uppercase;
  font-size: var(--fs-100);
  font-family: var(--font-family-mono);
}
@media screen and (min-width: 800px) {
  .btn {
    font-size: var(--fs-400);
  }
}

h1 {
  font-size: var(--fs-900);
  font-family: var(--font-family-mono);
  color: var(--color-red);
  margin-bottom: 0.8em;
}

h2,
h3,
h4 {
  font-family: var(--font-family-mono);
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 0.5em;
  margin-top: 1em;
  text-transform: uppercase;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
}
@media screen and (min-width: 800px) {
  h2 {
    font-size: 1.2rem;
  }
}

h3 {
  font-size: 1.1rem;
  text-transform: none;
}

.unit-title {
  font-family: var(--font-family-mono);
  color: var(--color-unit);
  font-size: var(--fs-600);
  font-weight: bold;
  text-transform: uppercase;
}

.filter-list li label,
.filter-places label {
  font-family: var(--font-family-mono);
}

.prose p {
  line-height: 1.4;
  max-width: 57rem;
  font-weight: 500;
  color: #343434;
  font-size: clamp(0.875rem, 0.7917rem + 0.4167vw, 1rem);
  -webkit-hyphens: auto;
          hyphens: auto;
  text-align: justify;
}
@media screen and (min-width: 800px) {
  .prose p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}
.prose a {
  text-decoration: none;
  color: var(--color-red);
}
.prose a:hover {
  text-decoration: underline;
}
.prose ul {
  list-style-type: disc;
  margin-left: 1rem;
}

.mono p,
.mono address {
  font-family: var(--font-family-mono);
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

#sponsorintro {
  font-family: var(--font-family-mono);
  font-weight: 500;
  text-align: center;
  line-height: 1.8;
}

#timestamp {
  font-weight: 600;
  color: var(--color-red);
  font-size: 1rem;
}
@media screen and (min-width: 800px) {
  #timestamp {
    font-size: 1.2rem;
  }
}

.date-label .month {
  font-size: var(--fs-100);
  color: var(--color-dark);
  font-family: var(--font-family-mono);
}

button {
  border: none;
}

.btn {
  background-color: var(--color-grayTrans);
  border-radius: 5rem;
  padding: 0.5rem 1rem 0.5rem 1rem;
  width: -moz-fit-content;
  width: fit-content;
  cursor: pointer;
}
.btn:hover {
  background-color: var(--color-redTrans);
  color: #ffffff;
}

.btn-svg p {
  font-weight: 500;
}
.btn-svg svg {
  width: 70px;
  height: auto;
}

.btn-lang {
  position: absolute;
  top: 0.5rem;
  background-color: unset;
  text-align: center;
  padding: 0.75rem;
}
@media screen and (min-width: 800px) {
  .btn-lang {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
  }
}
.btn-lang svg {
  fill: white;
  width: 5rem;
}
@media screen and (min-width: 800px) {
  .btn-lang svg {
    width: 6rem;
  }
}
.btn-lang p {
  color: var(--color-red);
  display: none;
  font-weight: 700;
  position: absolute;
  left: 1.5rem;
  bottom: 0.5rem;
}
.btn-lang:hover {
  background-color: unset;
  color: var(--color-redTrans);
}
.btn-lang:hover svg {
  fill: white;
}
.btn-lang:hover p {
  font-weight: 500;
}

.btn-map,
button.help {
  --btn-size: 6rem;
  position: sticky;
  bottom: 1rem;
  left: calc(100vw - 7rem);
  background-color: var(--color-redTrans);
  color: white;
  width: var(--btn-size);
  height: var(--btn-size);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.btn-map svg,
button.help svg {
  fill: white;
  width: 40px;
}
@media screen and (min-width: 800px) {
  .btn-map svg,
  button.help svg {
    width: 70px;
  }
}
.btn-map p,
button.help p {
  font-size: 0.8rem;
  font-weight: 600;
}
@media screen and (min-width: 800px) {
  .btn-map p,
  button.help p {
    font-size: var(--fs-400);
    font-weight: 500;
  }
}
.btn-map:hover p,
button.help:hover p {
  font-weight: 700;
}
@media screen and (min-width: 800px) {
  .btn-map,
  button.help {
    --btn-size: 8rem;
    left: calc(100vw - 9rem);
  }
}

#header .btn-map,
#header button.help {
  position: absolute;
  bottom: 1rem;
}
@media screen and (min-width: 800px) {
  #header .btn-map,
  #header button.help {
    bottom: 1.5rem;
  }
}
#header button.help {
  bottom: 8rem;
}
#header button.help svg {
  width: 30px;
}
@media screen and (min-width: 800px) {
  #header button.help {
    bottom: 11rem;
  }
  #header button.help svg {
    width: 50px;
  }
}

.btn-nav {
  fill: var(--color-redTrans);
  cursor: pointer;
  width: 2rem;
  height: auto;
  fill: rgba(200, 57, 34, 0.6);
}
@media screen and (min-width: 800px) {
  .btn-nav {
    height: 42px;
  }
}
.btn-nav:hover {
  fill: var(--color-red) !important;
}

footer .btn {
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 400;
}

/* =================
    Plyr VideoAudio
   ================= */
:root {
  --plyr-color-main: var(--color-red);
  --plyr-audio-controls-background: var(--color-red);
  --plyr-audio-control-color: white;
  --plyr-audio-control-background-hover: white;
  --plyr-audio-control-color-hover: var(--color-darkgrey);
}

.plyr {
  padding-block: 2rem;
}

.plyr--video {
  padding: 0;
}

.plyr__time {
  font-weight: 700;
}

.plyr__volume input[type=range] {
  max-width: 60px;
}
@media screen and (min-width: 800px) {
  .plyr__volume input[type=range] {
    max-width: 90px;
  }
}

.video-container {
  margin: 3rem auto 1rem;
  position: relative;
  cursor: pointer;
}
.video-container figure {
  width: unset !important;
}
.video-container .overlay {
  text-align: left;
  padding: 0 0rem 2rem 0rem;
  align-content: end;
}
.video-container figure {
  position: relative;
}
.video-container figcaption {
  text-align: left;
}
.video-container .btn-secondary {
  display: block;
  margin: 0 auto;
  margin-block: 2rem 0;
  background-color: var(--color-grayTrans);
  color: black;
}
.video-container .btn-secondary:hover {
  background-color: var(--color-redTrans);
  color: white;
}

.play-button {
  font-size: 3rem;
  color: white;
  border: none;
  border-radius: 10%;
  padding: 2rem 3rem 2.5rem;
  cursor: pointer;
  background: var(--color-red);
  opacity: 0.9;
  margin: 0 auto;
  display: block;
}

@media screen and (min-width: 800px) {
  [data-column-count="1"] .video-container {
    max-width: var(--video-width);
  }
}

.disclaimer-wrap {
  padding: 5rem 1rem 2rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media screen and (min-width: 800px) {
  .disclaimer-wrap {
    aspect-ratio: 16/9;
    align-content: end;
    padding: 5rem 4rem 2rem;
  }
}

.disclaimer {
  background-color: var(--color-redTrans);
  bottom: 3rem;
  padding: 2rem 1.5rem;
  line-height: 1.5;
  word-wrap: wrap;
  -webkit-hyphens: auto;
          hyphens: auto;
}
.disclaimer p {
  color: white;
}

[data-video-source=local] {
  height: 25rem;
  align-content: center;
  padding: 0;
}

.video-caption {
  margin: 1rem 0.5rem 0;
}

body {
  height: 100%;
  margin: 0;
}

main {
  display: block;
  height: 100dvh;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
main::-webkit-scrollbar {
  display: none;
}

#info {
  height: 91dvh;
}

.container {
  scroll-snap-align: start;
}

#header {
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.h1-logo {
  background-size: 100% 68%;
  background-repeat: no-repeat;
  text-indent: -9999px;
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95%;
}
@media screen and (min-width: 800px) {
  .h1-logo {
    background-size: contain;
    top: 40%;
  }
}

.logo {
  display: none;
}
@media screen and (min-width: 800px) {
  .logo {
    display: block;
    position: absolute;
    z-index: 2;
    padding: 1rem;
    max-width: 450px;
    top: 0;
    left: 0;
  }
}

#map-logo,
#info-title img {
  cursor: pointer;
}

#content {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  border-top: 0.1rem solid var(--color-dark);
  border-bottom: 0.1rem solid var(--color-dark);
}
@media screen and (min-width: 800px) {
  #content {
    flex-direction: row-reverse;
  }
}

#info {
  overflow-y: scroll;
  height: 100%;
  width: 100%;
  position: relative;
}

/* Mainbox = wrapper for Mapbox and Timebox */
#mainbox {
  width: 100%;
  height: 56dvh;
  flex-grow: 1;
  flex-basis: 65%;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 800px) {
  #mainbox {
    display: block;
    border-top: 0.1rem solid var(--color-dark);
    height: 100dvh;
    min-width: 600px;
    border-top: 0px;
    border-right: 0.1rem solid var(--color-dark);
  }
}

.fullscreen {
  height: 100dvh !important;
}

#mapbox {
  position: relative;
  z-index: 2;
  height: 100%;
  transition: height 0.3s ease-in-out;
  display: flex;
  flex-direction: column-reverse;
  border-top: 0.1rem solid var(--color-dark);
}
@media screen and (min-width: 800px) {
  #mapbox {
    height: 87%;
    border: none;
  }
}

.no-time #mapbox {
  height: 100%;
}

#map {
  width: 100vw;
  height: 100%;
}
@media screen and (min-width: 800px) {
  #map {
    width: 100%;
  }
}
#map details {
  display: none;
}

#infobox {
  overflow-y: scroll;
  flex-basis: 35%;
  flex-grow: 1;
  height: 44dvh;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 800px) {
  #infobox {
    height: 100%;
  }
}

/* INFO PAGE */
#info-text {
  padding: 1em 0 1em 0;
}
#info-text h2 {
  margin-top: 2rem;
}

#container-inner {
  width: 100%;
  max-width: 59rem;
  margin: 0 auto;
  padding: 3rem 2rem 3rem 2rem;
}

.info-map-icons {
  display: flex;
  flex-wrap: wrap;
  margin-block: 2rem;
  gap: 2rem;
}
.info-map-icons > div {
  width: 100%;
}
@media screen and (min-width: 800px) {
  .info-map-icons > div {
    width: calc(50% - 1rem);
  }
}
.info-map-icons .info-map-heading {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.info-map-icons .info-map-heading h3 {
  font-size: 1.2em;
  margin-bottom: 0;
}
.info-map-icons .info-map-heading svg {
  max-width: 3rem;
  height: auto;
  margin-right: 1rem;
}

#infobox .info-map-icons {
  display: block;
  margin-block: 1.5rem;
}
#infobox .info-element {
  width: unset;
}
#infobox .info-map-heading {
  display: grid;
  align-items: center;
  grid-template-columns: 2.5rem 1fr;
  margin-bottom: 1rem;
  gap: 1rem;
}
#infobox .info-map-heading svg {
  width: 2.5rem;
  height: auto;
  margin: 0;
}

#time-box {
  display: flex;
  border-top: 1px solid var(--color-dark);
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  width: 100%;
  gap: 0.8rem;
}
@media screen and (min-width: 800px) {
  #time-box {
    width: unset;
    height: 13%;
    gap: 0.25rem;
    justify-content: unset;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
  }
}
#time-box.no-box {
  display: none;
}

#time-nav {
  display: flex;
  justify-content: space-between;
  padding-inline: 1rem;
  width: 100%;
  height: 30%;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 800px) {
  #time-nav {
    height: 50%;
  }
}
#time-nav svg {
  width: 2rem;
  cursor: pointer;
  fill: var(--color-redTrans);
}
#time-nav svg:hover {
  fill: var(--color-red);
}
@media screen and (min-width: 800px) {
  #time-nav svg {
    width: 2.5rem;
  }
}

.date-label {
  width: var(--days-percentage);
  height: 2.5rem;
}
.date-label .month {
  display: block;
  width: 6rem;
  margin-left: var(--days-passed);
}

.date {
  display: none;
}

.date-before {
  border-bottom: 0.01rem solid var(--color-dark);
  margin-bottom: 0.8rem;
}

#time-steps {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  margin-block: 0.5rem;
  gap: 1rem;
  align-items: center;
}
#time-steps svg {
  width: 1.1rem;
}
@media screen and (min-width: 800px) {
  #time-steps svg {
    width: 1.5rem;
  }
}
@media screen and (min-width: 800px) {
  #time-steps {
    justify-content: space-between;
  }
}

#time-autoplay {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  margin-block: 0.5rem;
  margin-left: 1rem;
  align-items: center;
}
#time-autoplay svg {
  width: 1.3rem;
}
@media screen and (min-width: 800px) {
  #time-autoplay svg {
    width: 2rem;
  }
}

#time-pause {
  display: none;
}

#time-first,
#time-last {
  cursor: pointer;
}

#filter-time {
  width: 100%;
  display: flex;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-inline: 30%;
  gap: 1px;
  position: relative;
}
#filter-time::-webkit-scrollbar {
  display: none;
}
#filter-time input {
  opacity: 0;
}
#filter-time input:checked + .check {
  background-color: var(--color-red);
}
#filter-time input[battle=true] + .check {
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" width="25px" height="25px" version="1.1" viewBox="0 -10 90 130" xmlns="http://www.w3.org/2000/svg"><path d="m87.855 36.879c-0.36328-0.41016-0.98438-0.5-1.4375-0.21094-18.121 11.258-37.09-29.668-56.938-20.332v-0.63672c2.1211-1.3633 3.5469-3.7578 3.5469-6.4688 0-4.2578-3.4531-7.7109-7.7109-7.7109-4.2578 0-7.7109 3.4531-7.7109 7.7109 0 2.7109 1.4102 5.0898 3.5469 6.4688v70.984h-3.6055c-3.1367 0-5.6836 2.5469-5.6836 5.6836v4.9844c0 0.62109 0.5 1.1367 1.1367 1.1367h24.637c0.62109 0 1.1367-0.51562 1.1367-1.1367v-4.9844c0-3.1367-2.5625-5.6836-5.6836-5.6836h-3.6055v-29.242c18.863-23.758 38.516 6.4531 58.426-19.105 0.33984-0.44141 0.30859-1.0469-0.054687-1.457zm-54.773 52.074c1.8789 0 3.4102 1.5312 3.4102 3.4102v3.8477h-22.363v-3.8477c0-1.8789 1.5312-3.4102 3.4102-3.4102h15.543zm-9.668-2.2695v-69.973c1.1055 0.27344 2.5156 0.31641 3.7891 0v69.969zm-0.48437-72.578c-1.8047-0.89453-3.0625-2.7266-3.0625-4.8789 0-3 2.4375-5.4375 5.4375-5.4375s5.4375 2.4375 5.4375 5.4375c0.007812 3.957-4.207 6.6523-7.8125 4.8789zm6.5469 39.805v-35.016c17.074-9.6523 34.773 25.938 53.395 21.695-17.305 16.895-35.062-6.8008-53.395 13.32z"></path></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#filter-time hr {
  position: absolute;
  width: 100vw;
  left: 0;
  top: 0.65rem;
  color: var(--color-grayTrans);
}

#timestamp {
  min-width: 10.5rem;
  text-align: center;
}
@media screen and (min-width: 800px) {
  #timestamp {
    width: 18rem;
  }
}

.filter-group {
  width: 100vw;
  gap: 0.5rem;
  z-index: 2;
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 800px) {
  .filter-group {
    left: 0;
    padding: 1rem;
    gap: 1rem;
    width: unset;
    position: absolute;
    bottom: 0;
    display: block;
  }
}
.filter-group img,
.filter-group svg {
  width: 8vw;
  height: auto;
  padding: 0.5vw 1vw 0.25vw;
}
@media screen and (min-width: 800px) {
  .filter-group img,
  .filter-group svg {
    width: 30px;
    padding: 0.3rem 0 0 0;
  }
}
.filter-group li,
.filter-group label {
  font-weight: 500;
  cursor: pointer;
  font-weight: bold;
  color: #5a5a5a;
}
.filter-group li {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 5rem;
  position: relative;
  align-items: center;
  padding: 0.25rem 0.25rem;
  margin: 0.5rem 0;
  background-color: var(--color-grayTrans);
}
.filter-group li:hover {
  background-color: var(--color-redTrans);
}
.filter-group li:hover svg {
  fill: white;
}
.filter-group .help,
.filter-group #reload {
  padding-bottom: 0.6vw;
}
@media screen and (min-width: 800px) {
  .filter-group .help,
  .filter-group #reload {
    width: 44px;
    padding: 0.25rem 0.25rem;
  }
}
.filter-group .checked {
  background-color: var(--color-redTrans);
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
}
.filter-group .checked svg {
  fill: white;
}
.filter-group .checked:hover svg {
  fill: black;
}
.filter-group input {
  display: none;
}
.filter-group input:checked + label {
  border-color: #c83922;
  color: white;
  display: block;
}
.filter-group label {
  margin-left: 0.4rem;
  display: none;
}

.show-box {
  border-radius: 50%;
  padding: 0rem;
  height: 100%;
}
@media screen and (min-width: 800px) {
  .show-box {
    padding: 0 0.5rem;
  }
}
.show-box.active {
  background-color: white;
}
.show-box.active svg {
  fill: black;
}

#infobox h2 {
  text-align: center;
  margin: 0;
  min-height: 6ex;
  align-content: center;
  width: calc(100% - 6rem);
  font-size: clamp(0.875rem, 0.6667rem + 1.0417vw, 1.1875rem);
}
@media screen and (min-width: 800px) {
  #infobox h2 {
    min-height: 7ex;
  }
}

.infobox-content {
  width: 90%;
  margin: 1rem auto;
}
.infobox-content img {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 1rem;
}

#infobox-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.5rem;
  position: sticky;
  left: 0rem;
  right: 0.5rem;
  top: 0;
  z-index: 3;
  background-color: white;
  border-bottom: 2px dashed var(--color-dark);
}

#infobox-text {
  position: relative;
  padding: 1em 0 1em 0;
}

#infobox-openinghours,
#infobox-link {
  font-family: var(--font-family-mono);
  padding: 0.5rem 0 0.5rem 0;
}

#infobox-address {
  padding: 0.5rem 0 0.5rem 0;
}

.filter-list {
  display: none;
}
.filter-list label {
  display: block;
  cursor: pointer;
  padding: 0.5rem 0;
}
.filter-list li {
  --color-list: var(--color-gray);
  border-bottom: 2px solid var(--color-list);
  padding-block: 0.25rem;
}
.filter-list label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.filter-list label p {
  display: inline-block;
  margin-left: 0.5rem;
}
.filter-list .checkbox-filter {
  background-color: var(--color-list);
}
.filter-list .checkbox-filter.viewed {
  background-color: var(--color-redTrans);
}
.filter-list input {
  cursor: pointer;
  display: none;
}

.army-unit {
  margin-top: 2rem;
  border-bottom: unset !important;
}

.armies-select li:has(#all-armies:not(:checked)) {
  --color-list: var(--color-gray);
}
.armies-select li:has(#all-armies:not(:checked)) .checkbox-filter {
  background-color: var(--color-gray);
}
.armies-select li:has(#all-armies:checked) {
  --color-list: var(--color-red);
}

.army-select li {
  --color-list: var(--color-army);
  display: flex;
  justify-content: space-between;
}
.army-select li:has(.army-input:not(:checked)), .army-select li:has(.unit-input:not(:checked)) {
  --color-list: var(--color-gray);
}
.army-select li:has(.army-input:not(:checked)) .checkbox-filter, .army-select li:has(.unit-input:not(:checked)) .checkbox-filter {
  background-color: var(--color-gray);
}
.army-select li:has(.unit-input:not(:checked)) .unit-title {
  color: var(--color-gray);
}
.army-select li img {
  height: 38px;
  margin-top: unset;
  margin: unset;
  width: 38px;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.2;
}
.army-select li.checked img {
  opacity: 1;
}

.unit-input + .checkbox-filter,
.army-input + .checkbox-filter,
#all-armies + .checkbox-filter {
  background-color: var(--color-army);
}

.checkbox-filter {
  position: relative;
  display: inline-flex;
  border-radius: 0.5rem;
  width: 20px;
  min-width: 20px;
  height: 20px;
}

.check {
  position: relative;
  display: inline-flex;
  background-color: var(--color-gray);
  border-radius: 0.5rem;
  height: 20px;
  width: var(--days-percentage);
}