body {
  width: 100dvw;
  height: 100dvh;
  margin: 0;
  display: grid;
  background-color: white;
  overflow: hidden;
}

#content_space {
  display: grid;
  grid-template-columns: 1fr 600px;
  grid-template-rows: 1fr;
  grid-template-areas: "left right";
  width: 100%;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

header {
  z-index: 2;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 41px 41px 41px 41px;
  row-gap: 32px;
  grid-template-areas:
    "home"
    "filters"
    "colors"
    "numbers";
  grid-area: left;
  width: 140px;
  max-width: 140px;
  height: 64px;
  margin-top: 32px;
  margin-right: 32px;
  justify-self: end;
  box-sizing: border-box;
  /* background-color: rgba(246, 246, 246, 1); */
}

h1,
h2,
h3,
p,
a {
  margin: 0;
}

h1 {
  font-family: "ABC Walter Neue Variable", cursive;
  font-size: 32px;
  font-weight: 550;
  line-height: 26px;
}

h2 {
  font-family: "ABC Walter Neue Variable", cursive;
  font-size: 24px;
  font-weight: 500;
  line-height: 20px;
}

h3 {
  font-family: "Inconsolata", monospace;
  font-size: 17px;
  font-weight: 400;
  line-height: 115%;
}

button,
a {
  all: unset;
}

button {
  font-family: "ABC Walter Neue Variable", cursive;
  text-align: end;
  font-size: 24px;
  font-weight: 450;
  height: max-content;
  justify-self: end;
  align-self: center;
  background-color: rgba(246, 246, 246, 1);
  padding: 6px 20px;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 4px 12px;
  transition: 0.06s all ease-in-out;
}
button:hover {
  transform: scale(1.08);
  text-decoration: underline;
}
button:active {
  transform: scale(1);
  text-decoration: underline;
  background-color: rgba(178, 178, 178, 1);
}

header > button {
  background-color: rgba(246, 246, 246, 1);
}

header > button.main-is-active {
  background-color: rgba(212, 224, 255, 1);
}

.menu_visible {
  opacity: 1;
  transform: translateX(-156px);
}
.menu_invisible {
  opacity: 0;
  transform: translateX(-150px);
}

#home {
  grid-area: home;
  justify-self: end;
}

#colors {
  grid-area: colors;
  justify-self: end;
}

#color_options {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  column-gap: 12px;
  width: max-content;
  height: max-content;
  place-self: end;
  align-self: center;
  grid-area: colors;
  transition: 0.08s all ease-out;
}
#color_options > * {
  font-family: "Zalando Sans", sans-serif;
  text-align: end;
  font-size: 18px;
  height: max-content;
  justify-self: end;
  align-self: center;
  background-color: rgba(246, 246, 246, 1);
  padding: 3px 12px;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 4px 12px;
}
#recent.is-active {
  background-color: #76f99c;
}
#oldest.is-active {
  background-color: #fad1ff;
}
#final.is-active {
  background-color: #fffe9e;
}

#filters {
  grid-area: filters;
}

#filter_options {
  display: grid;
  width: max-content;
  height: max-content;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 28px 28px;
  column-gap: 12px;
  row-gap: 12px;
  place-self: end;
  align-self: center;
  grid-template-areas:
    "diy misc theatre restaurant"
    "bar venue club recordshop";
  grid-area: filters;
  transition: 0.12s all ease-in-out;
}
#filter_options > * {
  font-family: "Zalando Sans", sans-serif;
  text-align: end;
  font-size: 18px;
  width: 130px;
  height: max-content;
  text-align: center;
  justify-self: end;
  align-self: center;
  background-color: rgba(246, 246, 246, 1);
  padding: 3px 0px;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 4px 12px;
}
#filter_options > *.is-active {
  background-color: rgba(212, 224, 255, 1);
}
#bar {
  grid-area: bar;
}
#misc {
  grid-area: misc;
}
#restaurant {
  grid-area: restaurant;
}
#diy {
  grid-area: diy;
}
#venue {
  grid-area: venue;
}
#theatre {
  grid-area: theatre;
}
#club {
  grid-area: club;
}
#recordshop {
  grid-area: recordshop;
}

#numbers {
  grid-area: numbers;
  justify-self: end;
}

#sidebar {
  z-index: 2;
  grid-area: right;
  width: 600px;
  max-width: 600px;
  height: 100dvh;
  border-left: 1px solid rgb(196, 198, 201);
  place-self: end;
  box-sizing: border-box;
  /* background-color: rgba(246, 246, 246, 1); */
  background-color: rgba(240, 245, 240, 1);
}

.container {
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: max-content;
  max-width: 600px;
  height: 100%;
  padding: 32px;
  overflow-y: scroll;
}

#home_title {
  display: grid;
  grid-template-columns: 1fr max-content;
}

#home_title:last-child {
  justify-self: end;
}

.numbers_cell {
  display: grid;
  grid-template-columns: max-content 1fr;
}
#active_venue_list {
  display: grid;
  grid-template-rows: 32px;
  width: auto;
  height: 480px;
  overflow: scroll;
  scrollbar-width: none;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  align-self: start;
  grid-auto-rows: 40px;
  row-gap: 8px;
  column-gap: 16px;
  padding: 16px 16px;
}

#recent_venue_list {
  display: grid;
  grid-template-rows: 32px;
  width: auto;
  height: 172px;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  align-self: center;
  grid-auto-rows: 40px;
  row-gap: 8px;
  column-gap: 16px;
  padding: 16px 16px;
}

#closed_venue_list {
  display: grid;
  grid-template-rows: 32px;
  width: auto;
  height: 172px;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  align-self: center;
  grid-auto-rows: 40px;
  row-gap: 8px;
  column-gap: 16px;
  padding: 16px 16px;
}
#active_venue_list > *,
#recent_venue_list > *,
#closed_venue_list > * {
  height: max-content;
  width: 100%;
  place-self: center;
  padding: 6px 0px;
  color: dimgrey;
  /* border: 1px solid dimgrey; */
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  box-sizing: border-box;
  background-color: white;
}

#map {
  grid-area: left;
  width: 100%;
  height: 100%;
  margin: 0;
  /* transition: transform ease-out 0.5s; */
  /* transform: rotate(17deg); */
}

#slider {
  --knob-inset: 8px;
  z-index: 2;
  display: grid;
  grid-template-rows: 1fr 32px 1fr;
  grid-area: left;
  position: relative;
  width: 800px;
  height: 48px;
  margin-bottom: 3dvh;
  justify-self: center;
  align-self: end;
  box-sizing: border-box;
  border: 1px solid #111111;
  border-radius: 32px;
  background-color: rgba(246, 246, 246, 1);
}

#slider_year_label {
  position: absolute;
  top: -88%;
  transform: translateX(-50%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px;
  color: #111111;
  font-weight: 550;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  padding: 4px 8px;
  border: 1px dashed #111111;
  background-color: rgba(246, 246, 246, 1);
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

#slider_knob {
  width: 32px;
  height: 32px;
  background-color: #020202;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: var(--knob-inset);
  border: 1px solid #ffffff;
  border-radius: 24px;
  margin: 0;
  cursor: grab;
}

#slider_knob:active {
  cursor: grabbing;
}

#piechart {
  width: 100%;
  height: 280px;
  position: relative;
}

@font-face {
  font-family: "ABC Walter Alte Normalgrotesk";
  src:
    url("../assets_dynamicdata_2/walter/ABCWalterAlte-Normalgrotesk.woff2")
      format("woff2"),
    url("../assets_dynamicdata_2/walter/ABCWalterAlte-Normalgrotesk.woff")
      format("woff"),
    url("../assets_dynamicdata_2/walter/ABCWalterAlte-Normalgrotesk.otf")
      format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Walter Alte Rauchwaren";
  src:
    url("../assets_dynamicdata_2/walter/ABCWalterAlte-Rauchwaren.woff2")
      format("woff2"),
    url("../assets_dynamicdata_2/walter/ABCWalterAlte-Rauchwaren.woff")
      format("woff"),
    url("../assets_dynamicdata_2/walter/ABCWalterAlte-Rauchwaren.otf")
      format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Walter Alte Roentgentherapie";
  src:
    url("../assets_dynamicdata_2/walter/ABCWalterAlte-Roentgentherapie.woff2")
      format("woff2"),
    url("../assets_dynamicdata_2/walter/ABCWalterAlte-Roentgentherapie.woff")
      format("woff"),
    url("../assets_dynamicdata_2/walter/ABCWalterAlte-Roentgentherapie.otf")
      format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Walter Neue Variable";
  src:
    url("../assets_dynamicdata_2/walter/ABCWalterNeueVariable.woff2")
      format("woff2"),
    url("../assets_dynamicdata_2/walter/ABCWalterNeueVariable.woff")
      format("woff"),
    url("../assets_dynamicdata_2/walter/ABCWalterNeueVariable.ttf")
      format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.mrgb_12 {
  margin-bottom: 12px;
}
.mrgb_16 {
  margin-bottom: 16px;
}
.mrgb_24 {
  margin-bottom: 24px;
}
.mrgb_40 {
  margin-bottom: 40px;
}
.mrgb_64 {
  margin-bottom: 64px;
}

.hidden {
  display: none !important;
}
