@font-face {
	font-family: Quattro;
	src: url('/fonts/iAWriterQuattroS-Regular.woff2');
}

@font-face {
	font-family: Quattro;
	src: url('/fonts/iAWriterQuattroS-Italic.woff2');
	font-style: italic;
}

@font-face {
	font-family: Quattro;
	src: url('/fonts/iAWriterQuattroS-Bold.woff2');
	font-weight: bold;
}

@font-face {
	font-family: Quattro;
	src: url('/fonts/iAWriterQuattroS-BoldItalic.woff2');
	font-style: italic;
	font-weight: bold;
}

:root {
	--background-1: #ffffff;
	--background-1-inverse: #262626;
	--background-2: #e9e9e9;
	--background-alwaysDark-1: #000000;
	--background-alwaysDark-2: #181818;
	--text-1: #262626;
	--text-1-inverse: #e9e9e9;
	--text-2: #848484;
	--text-alwaysLight: #f9f9f9;
	--apple-green: #5EBD3E;
	--apple-yellow: #FFB900;
	--apple-orange: #F78200;
	--apple-red: #E23838;
	--apple-violet: #973999;
	--apple-blue: #009CDF;
	--maxWidth: 820px;
	--margin-LR: 70px;
	--margin-TB: 48px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--background-1: #262626;
		--background-2: #414141;
		--text-1: #e9e9e9;
		--text-2: #a0a0a0;
	}
}

* {	box-sizing: border-box; }

article, aside, div, fieldset, figure, footer, header, h1, h2, h3, h4, h5, h6, input, nav, ol, p, section, textarea, ul {
	margin: 0;
	padding: 0;
	border: none;
}

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

em { font-style: italic; }

strong { font-weight: bold; }

body, html {
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: none;
	color: var(--text-1);
	font-family: Quattro, sans-serif;
	background-color: var(--background-1);
}

h1, h2, h3 {
	text-align: center;
	text-transform: uppercase
}

p a, .post-series-list a, .post-series-list a:visited { 
	border-bottom: 1px dotted var(--text-2);
}

p a:hover, p a:active, .post-series-list a:hover, .post-series-list a:active { 
	border-bottom: 1px solid var(--text-2);
}

main {
	word-break: break-word;
}

.main-aside {
	/* min-height: calc(100% - 400px); */
}

.full-width-container {
	width: var(--maxWidth);
	margin: 0 auto;
}


.vertical-white-space {
	margin-top: var(--margin-TB);
	margin-bottom: var(--margin-TB);
}

.less-width { 
	margin-left: var(--margin-LR);
	margin-right: var(--margin-LR);
}

.box {
	background-color: var(--background-2);
	font-size: 0.9rem;
	border-radius: 24px;
	padding: 16px 20px;
}

.series-box {
	margin: 40px 50px;
}

.facts-box {
	margin: 32px var(--margin-LR);
	line-height: 1.5rem;
	font-size: 0.94rem;
}

.box h3 {
	font-size: 1.2rem;
	line-height: 1.5rem;
	margin: 24px 0 8px 0;
}

.box h3:first-child {
	margin-top: 6px;
}


article, footer {
	line-height: 1.6rem;
}

.footer {
	height: fit-content;
	background-color: var(--background-alwaysDark-1);
	color: var(--text-alwaysLight);
	text-align: center;
	padding: 18px 26px;
	font-size: 0.8rem;
}

.hidden  {
	visibility: hidden;
}

.leaflet-control-attribution { 
	display: none 
}


/* ————————————————————————————————————————————————— */
/* BUTTONS */
/* ————————————————————————————————————————————————— */

ul.button-list {
	display: flex;
	justify-content: center;
	list-style: none;
	flex-wrap: wrap;
}

li.button {
	background-color: var(--background-2);
	border-radius: 24px;
	width: fit-content;
	margin: 4px 8px;
}

li.button a, li.button a:hover {
	display: block;
	border: none;
	padding: 10px 16px;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.9rem;
}

.inactive-button {
	color: var(--text-2);
}

.post-navigation ul {
	justify-content: space-between;
}

.post-navigation li {
	margin: 0;
}

.button.previous-post a::before {
	content: "❮\00a0Vorheriger Beitrag";
}

.button.next-post a::after {
	content: "Nächster Beitrag\00a0❯";
}

.button #argentina::before { content: '🇦🇷\00a0'; }
.button #bolivia::before { content: '🇧🇴\00a0'; }
.button #chile::before { content: '🇨🇱\00a0'; }
.button #china::before { content: '🇨🇳\00a0'; }
.button #germany::before { content: '🇩🇪\00a0'; }
.button #singapore::before { content: '🇸🇬\00a0'; }


/* ————————————————————————————————————————————————— */
/* LOADING SPINNER */
/* ————————————————————————————————————————————————— */

.loading {
	display: flex;
	justify-content: center;
	margin-top: 64px;
	text-align: center;
}

.loader {
  border: 8px solid var(--text-2);
  border-radius: 50%;
  border-top: 8px solid var(--background-1);
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* ————————————————————————————————————————————————— */
/* PAGES */
/* ————————————————————————————————————————————————— */

.page-header {
	margin: 40px auto; 
}

.page-header h1 {
		font-size: 2rem;
		line-height: 3.4rem;
}

.page-header h1 span {
		white-space: nowrap;
}

.page-header p {
	text-align: center;
	line-height: 2rem;
	font-size: 1.1rem;
}

.colorful-line {
	border: 0;
	height: 0.2rem;
	margin: 1.5em auto;
	display: block;
	background-image: -webkit-linear-gradient(
		0deg,
		transparent,
		var(--apple-green),
		var(--apple-yellow),
		var(--apple-orange),
		var(--apple-red),
		var(--apple-violet),
		var(--apple-blue),
		transparent
	);
	clear: both;
}


main.post-roll {
	display: flex;
	flex-wrap: wrap;
	margin: 40px auto;
}
article.post-card {
	height: 180px;
	background-position: center center;
	background-size: cover;
	flex: 32%;
	max-width: 32%;
	margin: 0.6%; 
}

article.post-card a {
	height: 100%;
	display: flex;
	align-items: flex-end;
	background-color: rgba(0, 0, 0, 0.3);
}

article.post-card a:hover {
	background-color: rgba(0, 0, 0, 0.4);
}

article.post-card div {
	margin: 5px 10px;
	display: flex;
	flex-direction: column-reverse;
}

article.post-card h2 {
	color: var(--text-alwaysLight);
	text-align: left;
	line-height: 1.5rem;
	font-weight: bold;
	font-size: 1.3rem;
}

article.post-card p {
	font-size: 0.9rem;
}

.page-content article { margin-bottom: 48px; }


/* ————————————————————————————————————————————————— */
/* MAP */
/* ————————————————————————————————————————————————— */

.header-map  {
	height: 70%;
}

.leaflet-popup-content {
margin: 10px 10px;
line-height: 1.1rem;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: var(--background-1);
	color: var(--text-1);
	font-family: Quattro, sans-serif;
	font-size: 0.76rem;
}
.leaflet-container a.leaflet-popup-close-button {
	color: var(--text-1);
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: inherit;
	}

a.leaflet-control-zoom-in, a.leaflet-control-zoom-out {
	color: #404040;
}
	

/* ————————————————————————————————————————————————— */
/* TIMLELINE */
/* ————————————————————————————————————————————————— */

/* The actual timeline (the vertical ruler) */
.timeline {
	position: relative;
	margin: 80px auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::before {
	content: '';
	position: absolute;
	width: 4px;
	background-color: var(--text-2);
	top: 24px;
	bottom: 0;
	left: 50%;
	margin-left: -2px;
}

/* Down arrow on vertical ruler */
.timeline::after {
	content: '';
	position: absolute;
	left: calc(50% - 8px);
	bottom: 0px;
	border: solid var(--text-2);
	border-width: 0 4px 4px 0;
	display: inline-block;
	padding: 6px;
	transform: rotate(45deg);
}

/* Container around content */
.timeline .container {
	padding: 10px 40px;
	position: relative;
	background-color: inherit;
	width: 50%;
}

/* The circles on the timeline */
.timeline .container::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	right: -8px;
	background-color: var(--text-2);
	top: 24px;
	border-radius: 50%;
	z-index: 1;
}

/* Place the container to the left */
.timeline .left {
	left: 0;
}

/* Place the container to the right */
.timeline .right {
	left: 50%;
}

/* Add arrows to the left container (pointing right) */
.timeline .left::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	right: 30px;
	border: medium solid var(--background-2);
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent var(--background-2);
}

/* Add arrows to the right container (pointing left) */
.timeline .right::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	left: 30px;
	border: medium solid var(--background-2);
	border-width: 10px 10px 10px 0;
	border-color: transparent var(--background-2) transparent transparent;
}

/* Fix the circle for containers on the right side */
.timeline .right::after {
	left: -8px;
}

/* The actual content */
.timeline .content {
	padding: 16px 24px;
	background-color: var(--background-2);
	position: relative;
	border-radius: 8px;
	font-size: 0.94rem;
	line-height: 1.5rem;
}

.timeline .content h2 {
	font-size: 1.4rem;
	margin: 0 0 8px 0;
}




/* ————————————————————————————————————————————————— */
/* BLOG POST */
/* ————————————————————————————————————————————————— */

.parallax {
	position: relative;
	background-attachment: scroll;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: calc(100% - 56px);
}

.post-header-flex {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	margin: 0;
	padding: 0;
	text-align: center;
}

/* CSS für andere Reihenfolge der Elemente
.post-header div {
	display: flex;
	flex-direction: column;
}

.post-header h1 { order: 2; }
.post-header p.author { order: 3; }
.post-header p.date { order: 1; } 
*/

.post-header h1 {
	color: var(--text-alwaysLight);
	font-size: 3rem;
	max-width: 480px;
	margin: 0 16px;
}

.post-header p.author, .post-header p.date {
	color: var(--text-alwaysLight);
	text-align: center;
	line-height: 2rem;
	display: inline;
}

.post-header p.author::before {
	content: "Beitrag von\00a0";
}

.post-header p.date time::before {
	content: "•\00a0";
}

.full-post h2, .page-content h2 {
	letter-spacing: 0px;
	font-size: 1.4rem;
	font-weight: bold;
	margin: 32px 0 16px 0;
}

.full-post article > p, .full-post article > ul {
	margin: 0 var(--margin-LR);
	/* hyphens: auto;
	hyphenate-limit-chars: auto 5;
	hyphenate-limit-lines: 2;
	-webkit-hyphens: auto;
	-webkit-hyphenate-limit-chars: auto 5;
	-webkit-hyphenate-limit-lines: 2;
	-ms-hyphens: auto;
	-ms-hyphenate-limit-chars: auto 5;
	-ms-hyphenate-limit-lines: 2; */
}

.full-post article > p:first-child::first-letter {
  float: left;
  font-weight: bold;
  font-size: 3.6rem;
  line-height: 3rem;
  padding-right: 4px;
}

.full-post p.post-country {
	font-weight: bold;
	text-align: center;
	margin-top: 24px;
}

.full-post p.post-country::before {
	content: "【 Ein Beitrag aus\00a0"
}

.full-post p.post-country::after {
	content: "\00a0】"
}

.full-post article ul {
	padding-left: 18px;
}

.full-post article li {
	margin: 4px 0;
}

.full-post figcaption {
	text-align: center;
	color: var(--text-1);
	background-color: var(--background-2);
	padding: 2px 10px;
	font-size: 0.9rem;
	font-weight: bold;
	margin: -8px auto 24px auto;
	border: 0px solid var(--text-2);
	border-radius: 8px;
	width: fit-content;
}

.full-post hr {
	border: 0px;
	text-align: center;
	margin: 20px 0;
}

.full-post hr::before {
	content: "✦✦✦";
	letter-spacing: 12px;
	padding-left: 12px;
}

.full-post .post-map {
	height: 440px;
	margin: 24px auto;
}


/* ————————————————————————————————————————————————— */
/* POST SERIES */
/* ————————————————————————————————————————————————— */

.post-series {
	min-height: 48px;
}

.post-series-flexbox {
	display: flex;
	justify-content: space-between;
	line-height: 1.4rem;
}

.post-series-info {
	margin-right: 8px;
}

.post-series-flexbox p:last-child {	white-space: nowrap; }


a.post-series-show, a.post-series-show:hover {
	border: none;
	font-weight: bold;
	text-transform: uppercase;
}

a.post-series-show::after {
	content: "\00a0↓";
}

a.post-series-show.post-series-toggle::after {
	content: "\00a0↑";
}

ol.post-series-list {
	display: none;
	margin: 10px 0 4px 28px;
	list-style: none;
	counter-reset: number;
	text-indent: -28px;
}

ol.post-series-list li {
	padding: 4px 0;
	counter-increment: number;
}

ol.post-series-list li::before {
	content: counter(number);
	color: var(--text-1-inverse);
	font-family: Arial;
	font-size: 11px;
	text-align: center;
	background-color: var(--background-1-inverse);
	display: inline-block;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	padding: 3px 2px 1px 2px;
	margin-right: 10px;
	font-weight: bold;
	text-indent: 0;
}

.current-post {
	font-weight: bold;
}

/* ————————————————————————————————————————————————— */
/* GALLERY */
/* ————————————————————————————————————————————————— */

.gridzy {
	margin: 24px 0;
}

.overlay:hover {
	filter: brightness(80%);
	position: relative;
}

.single-image {
	margin: 24px auto;
	text-align: center;
}

.single-image img {
	width: auto;
	height: 400px;
}

.playbutton::before {
	position: absolute;
	color: var(--text-alwaysLight);
	font-weight: bold;
	bottom: 2px;
	right: 5px;
	font-size: 1.5rem;
	text-shadow: 0px 0px 1px #000000;
	font-family: Arial;	
	content: "\25BA";
}


/* ————————————————————————————————————————————————— */
/* PHOTOSWIPE */
/* ————————————————————————————————————————————————— */


/* Styling ohne Dynamic Caption Plugin
	.pswp__custom-caption {
	font-size: 1rem;
	color: #fff;
	width: calc(100% - 32px);
	max-width: 600px;
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	text-align: center;
} 

.hidden-caption-content {
	display: none;
} */


.pswp__dynamic-caption--mobile, .pswp__dynamic-caption--below {
	font-size: 0.9rem;
	padding-bottom: 16px;
}


/* ————————————————————————————————————————————————— */
/* COMMENTS */
/* ————————————————————————————————————————————————— */

section.comments {
	line-height: 1.6rem
}

.comment-posts {
	display: flex;
	flex-direction: column;
	font-size: 0.94rem;
}

.comment {
	border-radius: 1.15rem;
	max-width: 75%;
	margin: 16px 0;
	padding: 1rem;
	position: relative;
	word-wrap: break-word;
	background-color: var(--background-2);
	font-style: italic;
	line-height: 1.3rem;
}

.comment::before, .comment::after {
	bottom: -0.1rem;
	content: "";
	height: 1rem;
	position: absolute;
}

.comment-from-us {
	align-self: flex-end;
}

.comment-from-us::before {
	border-bottom-left-radius: 0.8rem 0.7rem;
	border-right: 1rem solid var(--background-2);
	right: -0.35rem;
	transform: translate(0, -0.1rem);
}

.comment-from-us::after {
	background-color: var(--background-1);
	border-bottom-left-radius: 0.5rem;
	right: -40px;
	transform:translate(-30px, -2px);
	width: 10px;
}

.comment-from-them {
	align-items: flex-start;
}

.comment-from-them:before {
	border-bottom-right-radius: 0.8rem 0.7rem;
	border-left: 1rem solid var(--background-2);
	left: -0.35rem;
	transform: translate(0, -0.1rem);
}

.comment-from-them::after {
	background-color: var(--background-1);
	border-bottom-right-radius: 0.5rem;
	left: 20px;
	transform: translate(-30px, -2px);
	width: 10px;
}

.comment-meta {
	font-style: normal;
	margin-bottom: 6px;
}

.comment-meta span {
	font-weight: bold;
}

.comment-write {
	margin-top: 20px;
}


/* ————————————————————————————————————————————————— */
/* NAVIGATION */
/* ————————————————————————————————————————————————— */

/* header */

.navigation {
	background-color: var(--background-alwaysDark-1);
	min-height: 56px;
	overflow: hidden;
}

.logo {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: bold;
	margin: 15px 25px;
}

.logo span:nth-child(1)  { color: var(--text-alwaysLight) }
.logo span:nth-child(2)  { color: var(--apple-green); }
.logo span:nth-child(3)  { color: var(--apple-yellow); }
.logo span:nth-child(4)  { color: var(--apple-orange); }
.logo span:nth-child(5)  { color: var(--apple-red); }
.logo span:nth-child(6)  { color: var(--apple-violet); }
.logo span:nth-child(7)  { color: var(--apple-blue); }

/* menu */

.menu {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	background-color: var(--background-alwaysDark-2);
	clear: both;
	max-height: 0;
	transition: max-height 0.4s ease-out;
	overflow: hidden;
}

.menu li a {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 40px;
	color: var(--text-alwaysLight);
	text-transform: uppercase;
	font-size: 0.8rem;
}

/* 
.menu li:nth-child(1) a::before {
	content: "Länder";
}

.menu li:nth-child(2) a::before {
	content: "Schlagwörter";
}

.menu li:nth-child(3) a::before {
	content: "Autoren";
}

.menu li:nth-child(4) a::before {
	content: "Meta";
}

.menu li:nth-child(5), .menu li:nth-child(6) {
	display: none;
}

#logo:nth-letter(3) {
	color:red;}
*/

/* menu icon */

.hamb-icon {
	cursor: pointer;
	display: inline-block;
	float: right;
	padding: 27px 20px;
	position: relative;
	user-select: none;
}

.hamb-icon .hamb-line {
	background: var(--text-alwaysLight);
	display: block;
	height: 2px;
	position: relative;
	transition: background .2s ease-out;
	width: 24px;
}

.hamb-icon .hamb-line:before,
.hamb-icon .hamb-line:after {
	background: var(--text-alwaysLight);
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .4s ease-out;
	width: 100%;
}

.hamb-icon .hamb-line:before {
	top: 6px;
}

.hamb-icon .hamb-line:after {
	top: -6px;
}

/* menu btn */

.hamb-btn {
	display: none;
}

.hamb-btn:checked ~ .menu {
	max-height: 160px;
}

.hamb-btn:checked ~ .hamb-icon .hamb-line {
	background: transparent;
}

.hamb-btn:checked ~ .hamb-icon .hamb-line:before {
	transform: rotate(-45deg);
	top: 0;
}

.hamb-btn:checked ~ .hamb-icon .hamb-line:after {
	transform: rotate(45deg);
	top: 0;
}

@media (min-width: 720px) {
/* 	Turn off parallax scrolling for hamburger menu, 
	kann evtl. weg, da im script hasTouch >> .touch in html, 
	ABER: header parallax aus bei hamb menu  */
	.parallax {
		background-attachment: fixed;
	}
/* Verstecke Hamburger Menü und zeige Navigation */
	.navigation { 
		overflow: hidden;
		height: 50px;
		padding: 0 20px; /* Damit die iPhone-Notch es im Querformat nicht verdeckt */
	}
	.menu {
		clear: none;
		float: right;
		display: flex;
		max-height: none;
		background-color: var(--background-alwaysDark-1);
	}
	.menu li a { margin: 0 25px; height: 56px; }
	.navigation .hamb-icon { display: none;	}
}

@media screen and (max-width: 909px) {	
	:root {
		--maxWidth: 90%;
		--margin-LR: 8%;
	}
	
	article.post-card {
		height: 180px;
		flex: 48%;
		max-width: 48%;
		margin: 1%;
	}
	article.post-card div {
		max-width: 280px;
	}
	.box { padding: 16px 3%; }
	.series-box { margin: 40px 5%; }
}

@media (max-width: 505px) {
	:root {
		--maxWidth: calc(100% - 20px);
		--margin-LR: 16px;
	}
	
	article.post-card {
		height: 220px;
		flex: 100%;
		max-width: 100%;
		margin: 1% 0;
	}
	
	.page-header h1 {
		font-size: 1.7rem;
		line-height: 3.1rem;
	}
	.page-header p {
		font-size: 1rem;
		line-height: 1.9rem;
	}
	.post-header h1 {
		font-size: 2.4rem;
		line-height: 2.8rem;
	}
	.post-header p.author, .post-header p.time { display: block; }
	.post-header p.date time::before { content: none; }
	
	.box { padding: 16px 16px; }
	.series-box { margin: 40px 0px;	}
	
	.post-series-flexbox { display: block; }
	.post-series-flexbox p { display: inline; }
	.post-series-info {	margin-top: 20px; }
	
	li.button {	margin: 4px; }
	.button.previous-post a::before { content: "❮\00a0Vorheriger"; }
	.button.next-post a::after {	content: "Nächster\00a0❯"; }
		
	.comment { max-width: 82%; }
	
	.timeline::before { left: 20px; } 	/* Place the timeline to the left */
	.timeline::after { 					/* Down arrow */
		left: 12px;
	}
	.timeline .container { 				/* Full-width containers */
		width: 100%;
		padding-left: 48px;
		padding-right: 16px;
	}
	.timeline .container::before {				/* Make sure that all arrows are pointing leftwards */
		left: 38px;
		border: medium solid var(--background-2);
		border-width: 10px 10px 10px 0;
		border-color: transparent var(--background-2) transparent transparent;
		}
		
	.timeline .left::after, .timeline .right::after {		/* Make sure all circles are at the same spot */
		left: 12px;
		top: 23px;
	}
	.timeline .right {							/* Make all right containers behave like the left ones */
		left: 0;
	}
}

@media only screen and (orientation: landscape) {
	@supports(padding:max(0px)) {
	}
}