@charset "UTF-8";
/**
 * Germany Urban Geography theme for reveal.js
 * Warm paper-textured background with persistent corner icons.
 */
/*
// Override bodyBackground mixin — solid color only; texture via ::after below
@mixin bodyBackground() {
    background-color: $backgroundColor;
}

// Override theme settings (see ../template/settings.scss)
$mainFont: 'Source Serif 4', Georgia, serif;
$headingFont: 'Playfair Display', Georgia, serif;
$backgroundColor: #f4e2c0;
$mainColor: #2c2116;
$headingColor: #1a130a;
$headingTextShadow: none;
$headingTextTransform: none;
$linkColor: #5a3e1b;
$linkColorHover: color.scale($linkColor, $lightness: 20%);
$selectionBackgroundColor: rgba(90, 62, 27, 0.3);

$overlayElementBgColor: 44, 33, 22;
$overlayElementFgColor: 240, 230, 210;

// Change text colors against dark slide backgrounds
@include dark-bg-text-color(#f4e2c0);
*/
/*********************************************
 * GLOBAL STYLES
 *********************************************/
:root {
  --r-background-color: #fdf6e3;
  --r-main-font: Source Serif 4, Georgia, serif;
  --r-main-font-size: 40px;
  --r-main-color: #586e75;
  --r-block-margin: 20px;
  --r-heading-margin: 0 0 20px 0;
  --r-heading-font: Playfair Display, Georgia, serif;
  --r-heading-color: #586e75;
  --r-heading-line-height: 1.2;
  --r-heading-letter-spacing: normal;
  --r-heading-text-transform: none;
  --r-heading-text-shadow: none;
  --r-heading-font-weight: normal;
  --r-heading1-text-shadow: none;
  --r-heading1-size: 3.77em;
  --r-heading2-size: 2.11em;
  --r-heading3-size: 1.55em;
  --r-heading4-size: 1em;
  --r-code-font: monospace;
  --r-link-color: #268bd2;
  --r-link-color-dark: rgb(32.3, 118.15, 178.5);
  --r-link-color-hover: rgb(77.5161290323, 162.8774193548, 222.8838709677);
  --r-selection-background-color: #d33682;
  --r-selection-color: #fff;
  --r-overlay-element-bg-color: 0, 0, 0;
  --r-overlay-element-fg-color: 240, 240, 240;
}

.reveal-viewport {
  background: #fdf6e3;
  background-color: var(--r-background-color);
}

.reveal {
  font-family: var(--r-main-font);
  font-size: var(--r-main-font-size);
  font-weight: normal;
  color: var(--r-main-color);
}

.reveal ::selection {
  color: var(--r-selection-color);
  background: var(--r-selection-background-color);
  text-shadow: none;
}

.reveal ::-moz-selection {
  color: var(--r-selection-color);
  background: var(--r-selection-background-color);
  text-shadow: none;
}

.reveal .slides section,
.reveal .slides section > section {
  line-height: 1.3;
  font-weight: inherit;
}

/*********************************************
 * HEADERS
 *********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: var(--r-heading-margin);
  color: var(--r-heading-color);
  font-family: var(--r-heading-font);
  font-weight: var(--r-heading-font-weight);
  line-height: var(--r-heading-line-height);
  letter-spacing: var(--r-heading-letter-spacing);
  text-transform: var(--r-heading-text-transform);
  text-shadow: var(--r-heading-text-shadow);
  word-wrap: break-word;
}

.reveal h1 {
  font-size: var(--r-heading1-size);
}

.reveal h2 {
  font-size: var(--r-heading2-size);
}

.reveal h3 {
  font-size: var(--r-heading3-size);
}

.reveal h4 {
  font-size: var(--r-heading4-size);
}

.reveal h1 {
  text-shadow: var(--r-heading1-text-shadow);
}

/*********************************************
 * OTHER
 *********************************************/
.reveal p {
  margin: var(--r-block-margin) 0;
  line-height: 1.3;
}

/* Remove trailing margins after titles */
.reveal h1:last-child,
.reveal h2:last-child,
.reveal h3:last-child,
.reveal h4:last-child,
.reveal h5:last-child,
.reveal h6:last-child {
  margin-bottom: 0;
}

/* Ensure certain elements are never larger than the slide itself */
.reveal img,
.reveal video,
.reveal iframe {
  max-width: 95%;
  max-height: 95%;
}

.reveal strong,
.reveal b {
  font-weight: bold;
}

.reveal em {
  font-style: italic;
}

.reveal ol,
.reveal dl,
.reveal ul {
  display: inline-block;
  text-align: left;
  margin: 0 0 0 1em;
}

.reveal ol {
  list-style-type: decimal;
}

.reveal ul {
  list-style-type: disc;
}

.reveal ul ul {
  list-style-type: square;
}

.reveal ul ul ul {
  list-style-type: circle;
}

.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
  display: block;
  margin-left: 40px;
}

.reveal dt {
  font-weight: bold;
}

.reveal dd {
  margin-left: 40px;
}

.reveal blockquote {
  display: block;
  position: relative;
  width: 70%;
  margin: var(--r-block-margin) auto;
  padding: 5px;
  font-style: italic;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}

.reveal blockquote p:first-child,
.reveal blockquote p:last-child {
  display: inline-block;
}

.reveal q {
  font-style: italic;
}

.reveal pre {
  display: block;
  position: relative;
  width: 90%;
  margin: var(--r-block-margin) auto;
  text-align: left;
  font-size: 0.55em;
  font-family: var(--r-code-font);
  line-height: 1.2em;
  word-wrap: break-word;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

.reveal code {
  font-family: var(--r-code-font);
  text-transform: none;
  tab-size: 2;
}

.reveal pre code {
  display: block;
  padding: 5px;
  overflow: auto;
  max-height: 400px;
  word-wrap: normal;
}

.reveal .code-wrapper {
  white-space: normal;
}

.reveal .code-wrapper code {
  white-space: pre;
}

.reveal table {
  margin: auto;
  border-collapse: collapse;
  border-spacing: 0;
}

.reveal table th {
  font-weight: bold;
}

.reveal table th,
.reveal table td {
  text-align: left;
  padding: 0.2em 0.5em 0.2em 0.5em;
  border-bottom: 1px solid;
}

.reveal table th[align=center],
.reveal table td[align=center] {
  text-align: center;
}

.reveal table th[align=right],
.reveal table td[align=right] {
  text-align: right;
}

.reveal table tbody tr:last-child th,
.reveal table tbody tr:last-child td {
  border-bottom: none;
}

.reveal sup {
  vertical-align: super;
  font-size: smaller;
}

.reveal sub {
  vertical-align: sub;
  font-size: smaller;
}

.reveal small {
  display: inline-block;
  font-size: 0.6em;
  line-height: 1.2em;
  vertical-align: top;
}

.reveal small * {
  vertical-align: top;
}

.reveal img {
  margin: var(--r-block-margin) 0;
}

/*********************************************
 * LINKS
 *********************************************/
.reveal a {
  color: var(--r-link-color);
  text-decoration: none;
  transition: color 0.15s ease;
}

.reveal a:hover {
  color: var(--r-link-color-hover);
  text-shadow: none;
  border: none;
}

.reveal .roll span:after {
  color: #fff;
  background: var(--r-link-color-dark);
}

/*********************************************
 * Frame helper
 *********************************************/
.reveal .r-frame {
  border: 4px solid var(--r-main-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.reveal a .r-frame {
  transition: all 0.15s linear;
}

.reveal a:hover .r-frame {
  border-color: var(--r-link-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

/*********************************************
 * NAVIGATION CONTROLS
 *********************************************/
.reveal .controls {
  color: var(--r-link-color);
}

/*********************************************
 * PROGRESS BAR
 *********************************************/
.reveal .progress {
  background: rgba(0, 0, 0, 0.2);
  color: var(--r-link-color);
}

/*********************************************
 * PRINT BACKGROUND
 *********************************************/
@media print {
  .backgrounds {
    background-color: var(--r-background-color);
  }
}
li {
  margin-bottom: 48px;
}

.reveal-viewport::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' fill='%23fff' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.22;
}

.right-corner-icons {
  position: fixed;
  top: 18px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
  pointer-events: none;
}
.right-corner-icons img {
  height: 48px;
  width: auto;
  opacity: 0.88;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}
.right-corner-icons #city-corner-icon-1 {
  height: 125px;
  margin-right: 15px;
  width: auto;
  opacity: 0.55;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}
.right-corner-icons #city-corner-icon-2 {
  height: 75px;
  margin-top: 60px;
  width: auto;
  opacity: 0.55;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.left-corner-icons {
  position: fixed;
  top: 18px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
  pointer-events: none;
}
.left-corner-icons img {
  height: 48px;
  width: auto;
  opacity: 0.88;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}
.left-corner-icons #germany-corner-icon {
  height: 125px;
  width: auto;
  opacity: 0.88;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.sans-serif {
  font-family: "Source Sans 3", Helvetica, sans-serif;
}

.callout {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 0.6em 1em;
}

.chart-frame {
  display: block;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 0.4em 0.6em;
  overflow: hidden;
}

.callout.tight {
  padding: 0.3em 0.6em;
}

hr {
  border: none;
  border-top: 2px solid #93a1a1;
  opacity: 0.5;
  margin: 0.75em 0;
}

.col-container {
  display: flex;
  gap: 10px;
}

.col {
  text-align: left;
  flex: 1;
}

.kinda-smol {
  font-size: 0.7em;
}

.smol {
  font-size: 0.6em;
}

.smoller {
  font-size: 0.4em;
}

.faded {
  opacity: 0.8;
}

.fragment.blur {
  filter: blur(5px);
  opacity: 1 !important;
  visibility: visible !important;
}

.fragment.blur.visible {
  filter: none;
}

.fragment.blur.current-fragment {
  filter: none;
}

.profile-image {
  border-radius: 50%;
  float: right;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.circle-image {
  border-radius: 50%;
}

ul > li {
  margin-bottom: 0.7em;
}

table.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8em;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}
table.table thead tr {
  background-color: #586e75;
  color: #fdf6e3;
  text-align: left;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.04em;
}
table.table th, table.table td {
  padding: 0.6em 1em;
  border-right: 1px solid rgb(224.4, 224.4, 224.4);
}
table.table th:last-child, table.table td:last-child {
  border-right: none;
}
table.table tbody tr {
  /*border-bottom: 1px solid color.scale($white, $lightness: -12%);*/
  transition: background-color 0.15s ease;
  background-color: #ffffff;
}
table.table tbody tr:nth-child(even) {
  background-color: rgb(247.35, 247.35, 247.35);
}
table.table tbody tr:last-child {
  border-bottom: none;
}
table.table tbody tr:hover {
  background-color: rgb(234.6, 234.6, 234.6);
}
table.table td:first-child {
  font-family: "Playfair Display", Georgia, serif;
  color: #586e75;
  font-weight: 600;
}

.reveal pre code {
  max-height: 500px;
}

.green {
  color: #859900;
}

.yellow {
  color: #b58900;
}

@keyframes elephant-waddle {
  0% {
    transform: translateX(0px) rotate(-8deg);
  }
  25% {
    transform: translateX(250px) rotate(4deg);
  }
  50% {
    transform: translateX(500px) rotate(-8deg);
  }
  75% {
    transform: translateX(250px) rotate(4deg);
  }
  100% {
    transform: translateX(0px) rotate(-8deg);
  }
}
.elephant-silly {
  animation: elephant-waddle 8s ease-in-out infinite;
  display: inline-block;
  transform-origin: center bottom;
}

ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.55em 0.9em;
  margin-bottom: 0.45em;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  line-height: 1.4;
}
ul.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background-color: #2aa198;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center;
}

.reveal .slides section.zensus-slide::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 22px;
  width: 140px;
  height: 56px;
  background-image: url("../../img/zensus-2022-logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
  opacity: 0.88;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
  z-index: 100;
  pointer-events: none;
}

.fragment.blur {
  filter: none;
}

.fragment.blur.visible {
  filter: blur(5px);
}