
/* Navigation */
body {
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;

  background-color: var(--flyer-bg-dark);
}

a {
  color: var(--text-muted);
}
a:visited {
  color: var(--text-muted);
}

.navbar {
  background-color: var(--flyer-bg-dark);
  color: var(--flyer-text);
  position: sticky;
  height: var(--navbar-height);
  width: 100vw;

  border-bottom: 1px solid grey;

  position: sticky;
  top: 0px;
  z-index: 10;
}

.navbar .navbar-content {
  max-width: var(--container-width);
  margin: auto;
  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: space-between;
  height: 100%
}


/* == Brand == */

.brand {
  text-decoration: none;
  color: var(--flyer-text);
  display: inline-flex;
  align-items: center;
}

.brand:active {
  color: var(--flyer-text);
}

.brand:visited {
  color: var(--flyer-text);
}

.brand-logo {
  height: auto;
  max-width: 100%;
  width: 2.75em;
  margin: 0 1em;
}

.brand-text {
  font-family: var(--font-default);
  font-size: 16px;
}

.brand-text-bold {
  font-weight: var(--font-weight-black);
}

.brand-z {
  color: var(--flyer-accent2);
}

.brand-text-studis {
  font-family: var(--font-brand);
  background-color: var(--flyer-bg-colored);
  color: var(--flyer-text);
  font-size: 12px;
  padding: .25em;
  display: inline-block;
  transform: rotateZ(-5deg);
}

/* == HERO == */
.hero {
  overflow: hidden;
  position: relative;
}

.hero .container {
  padding: 1em
}

.hero h1 {
  font-weight: var(--font-weight-black);
  font-size: 3rem;
}

.hero img {
  filter: brightness(0.4);
  object-fit: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero .cover {
  background: linear-gradient(120deg, #130000f7 15%, #f004 100%);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-buttons {
  padding: .5em;
  line-height: 3em;
}

.hero-buttons a {
  font-family: var(--font-default);
  font-size: 16px;
  border: 1px solid var(--flyer-text);
  color: var(--flyer-text);
  border-radius: .5em;
  padding: .5em;
  transition: all 200ms ease-in-out;
  background:none;
  text-decoration: none;
  margin-right: .5em;
}

.hero-buttons a:visited {
  color: var(--flyer-text);
}

.hero-buttons a:hover {
  background-color: var(--flyer-text);
  color: black;
  border-color: black;
}

.hero-buttons a:first-child {
  background-color: var(--text-accent);
  border-color: var(--text-accent);
  color: var(--flyer-bg-dark);
  font-weight: var(--font-weight-black);
}

.hero-buttons a:first-child:hover {
  filter: brightness(0.5);
}

.text-accent {
  color: var(--text-accent);
}

.text-muted {
  color: var(--text-muted);
}

.border-bottom {
  border-bottom: 2px solid;
}

/* == STAEDTE == */
.cities {
  display: grid;
  grid-template-areas: "map aside" "map list ";
  grid-template-rows: auto 1fr;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 3.5rem;
}

@media screen and (max-width: 800px) {
  .cities {
    grid-template-areas: "aside" "map" "list";
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr;
  }
}


.container {
  width: calc(100% - 1em);
  max-width: var(--container-width);
  margin-inline: auto;
  padding: 0 .5em;
}

/* == MAP == */
.dashboard {
  grid-area: map;
}

.dashboard-map {
  align-self: start;
  max-width: fit-content;
  position: sticky;
  top: calc(var(--navbar-height) + 1rem);
}

.dashboard-map img {
  width: 100%
}

.map-marker-layer {
  position: absolute;
  top: 0px;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.map-city:hover .map-ring {
  stroke: var(--flyer-text);
}

.map-city.organized .map-ring {
stroke: var(--flyer-bg-colored);
}
.map-city.organized .map-dot {
  fill: var(--text-accent);
}
.map-city.organized .map-label {
  fill: var(--text-accent);
}

.map-ring {
  fill: none;
}

.map-dot {
  fill: var(--text-muted);
  stroke: none;
}

.map-label {
  fill: var(--text-muted);
  stroke: #1a1a1a;
  font-family: var(--font-default);
  font-size: 32px;
  font-weight: 700;
  stroke-width: 0.3em;
  stroke-linejoin: round;
  paint-order: stroke;
}

.map-helper {
  stroke: #fff;
  stroke-width: 3 !important;
}


.dashboard-aside {

}

.dashboard-list {
}


/* == Cities & Uni List == */
.city-list {
  list-decoration: none;
  margin-left: 0px;
  padding-left: 0px;
}

.organized-cities .city-row {
  margin-bottom: 1em;
}

.city-row {
  border-bottom: 2px solid var(--flyer-bg-dark);
}

.city-row .city-name {
  font-size: 1.5em;
  font-weight: var(--font-weight-black);
}

.city-students {
  float: right;
  display: block;
}

.uni-list {
  list-decoration: none;
  max-height: 0px;
  overflow: hidden;
}

.uni-row {

}

.assembly-list {
  list-decoration: none;
  margin-left: 0px;
  padding-left: 0;
}

.assembly-row {
  background-color: #2a2a2a;
  border-left: 2px solid #3d3d3d;
  border-radius: 1rem;
  grid-template-areas: "text count button";
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 1rem;
  display: grid;
  align-items: center;
  gap: 0.25rem 0.875rem;
}

@media screen and (max-width: 800px) {
  .assembly-row {
    grid-template-areas: "text count " "text button";
    gap: 0px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .attendance-button {
    grid-area: button;
    font-size: 14px !important;
  }
}
.assembly-count {
  grid-area: count;
}

.assembly-text {
  grid-area: text;
}

.assembly-row .assembly-uni {
  font-family: var(--font-default);
  font-weight: var(--font-weight-black);
  margin-bottom: .5rem;
  display: inline-block;
}
.assembly-row .assembly-date {
}
.assembly-row .assembly-attendees {
  font-family: var(--font-default);
  font-size: 20px;
  font-weight: var(--font-weight-black);
}

.attendance-button {
  grid-area: button;
  font-family: var(--font-default);
  font-size: 18px;
  border: 3px solid var(--flyer-text);
  color: var(--flyer-text);
  border-radius: .5em;
  padding: .5em;
  transition: all 200ms ease-in-out;
  background:none;
}

.attendance-button:hover {
  background-color: var(--flyer-text);
  color: black;
  border-color: black;
}

.attendance-button.attending {
  background-color: var(--text-accent);
  border-color: var(--text-accent);
  color: var(--flyer-bg-dark);
  font-weight: var(--font-weight-black);
}

.attendance-button.attending:hover {
  filter: brightness(0.5);
}

.fold-indicator {
}

.foldable * {
  display: none;
}
.foldable .fold-indicator {
  display: block;
}

.foldable[data-open] * {
  display: block;
}
.foldable[data-open] .fold-indicator {
  display: none;
}


.general-button {
  font-family: var(--font-default);
  border: 1px solid var(--flyer-text);
  color: var(--flyer-text);
  border-radius: .5em;
  padding: .5em;
  transition: all 200ms ease-in-out;
  background:none;
  text-decoration: none;
  margin-right: .5em;
  line-height: 3em;
}

.general-button:visited {
  color: var(--flyer-text);
}

.general-button:hover {
  background-color: var(--flyer-text);
  color: black;
}

.unorganized-cities {
  display: none;
}

.demand-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 2em;
}

@media screen and (max-width: 800px) {
  .demand-grid {
    grid-template-columns: auto;
  }
}

.demands h1, .demands h2 {
  font-weight: var(--font-weight-black)
}

.demands p {
  font-family: "Vollkorn", serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Symbola';
}


