@font-face {
	font-family: 'Merriweather';
	src: url('/fonts/Merriweather-VariableFont_opsz,wdth,wght.ttf') format('truetype');
	font-weight: 100 900;
	font-display: swap;
}
  
@font-face {
	font-family: 'Merriweather';
	src: url('/fonts/Merriweather-Italic-VariableFont_opsz,wdth,wght.ttf') format('truetype');
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Playfair Display';
	src: url('/fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
	font-weight: 100 900;
	font-display: swap;
}
    
@font-face {
	font-family: 'Playfair Display';
	src: url('/fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}
    
body {
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	color: #333333;
	font-family: 'Merriweather', serif;
	font-weight: 100;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
}

header {
	padding: 2rem 1rem;
	margin-bottom: 1.5rem;
	text-align: center;
	width: 100%;
	max-width: 1200px;
}

header blockquote {
	font-size: 1.2rem;
	font-style: italic;
	color: #555555;
	margin-top: 1rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

nav {
	width: 100%;
	max-width: 1200px;
	display: flex;
	justify-content: center;
	gap: 2rem;
	padding: 1rem 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

nav a {
	font-family: 'Playfair Display', serif;	
	font-weight: 600;
	font-size: 1.5rem;
	letter-spacing: 1px;
	color: #333333;
	text-decoration: none;
	transition: color 0.3s ease;
	text-transform: uppercase;
}

nav a:hover {
	color: #b79a59;
}

main {
	width: 100%;
	max-width: 1200px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

main > section {
	width: 100%;
	margin-bottom: 2rem;
	text-align: start;
}

main > section > section {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	background-color: rgba(0, 0, 0, 0.05);
	padding: 1rem;
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

h1, h2, h3 {
	font-family: 'Playfair Display', serif;	
}

h1 {
	font-size: 3rem;
	font-weight: 700;
	margin: 0;
	letter-spacing: 2px;
	color: #222222;
}

h2 {
	font-size: 2rem;
	color: #333333;
	margin-bottom: 1rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1.5px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

h3 {
	font-size: 1.5rem;
	color: #333333;
	margin-bottom: 1rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1.5px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

h4 {
	font-size: 1.3rem;
	color: #333333;
	margin-bottom: 0.5rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

a {
	color: #333333;
}

p {
	font-size: 1.1rem;
	color: #555555;
	line-height: 1.8;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

h4 + p {
	margin-top: 0;
}

figure {
	margin: 3rem 0 3rem 0;
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

figure img {
	max-width: 400px;
	margin-bottom: 1rem;
}

figcaption {
	font-size: small;
}


footer {
	width: 100%;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2rem;
	padding: 1rem 0 1rem 0;
	text-align: center;
	border-top: 1px solid #ddd;
}

footer p {
	font-size: 0.9rem;
	color: #777777;
}

footer a {
	color: #b79a59;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	h1 {
		font-size: 2.5rem;
	}

	nav {
		flex-wrap: wrap;
		justify-content: space-evenly;
		padding: 1rem 0;
	}

	nav a {
		font-size: 1rem;
		margin-bottom: 0.5rem;
	}

	main {
		padding: 1rem;
	}

	main > section {
		margin-bottom: 1.5rem;
	}

	footer {
		padding: 1.5rem 0 1rem 0;
	}
}

.election-details {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
}

.election-details .item {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.election-details .item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.icon {
	font-size: 1.8em;
	margin-right: 15px;
	color: #efefef;
}

.election-details .text {
	display: flex;
	flex-direction: column;
}

.election-details .title {
	font-weight: bold;
	font-size: 0.9em;
	color: #34495e;
	opacity: 0.8;
	margin-bottom: 4px;
}

.election-details .value {
	font-size: 1.1em;
	color: #2c3e50;
	font-weight: 500;
}



/* ---------- BOOKS ---------- */
.book {
	display: flex;
	align-items: flex-start;
	background: #ffffff;
	border-radius: 12px;
	padding: 15px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.book:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.book .cover {
	width: 200px;
	height: auto;
	margin-right: 25px;
	border-radius: 12px;
}

.book .info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.book .title {
	font-size: 1.2rem;
	font-weight: bold;
	line-height: 110%;
	color: #2c3e50;
	margin-top: 0;
	margin-bottom: 8px;
}

.book .description {
	font-size: 0.95rem;
	color: #555;
	margin-bottom: 12px;
}

.book .link {
	display: inline-block;
	padding: 8px 15px;
	font-size: 0.95rem;
	color: #003366;
	background-color: #FFD700;
	border-radius: 5px;
	text-decoration: none;
	transition: background 0.3s ease;
	align-self: start;
}

.book .link:hover {
	color: #fff;
	background-color: #990000;
}

@media (max-width: 600px) {
  .book {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .book .cover {
    margin-bottom: 15px;
    width: 150px;
  }

  .book .info {
    align-items: center;
  }
}
/* ---------- /BOOKS ---------- */

.video {
	width: 100%;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;	
	position: relative;
	padding-bottom: 56.25%; /* Verhältnis 16:9 */
	height: 0;
	overflow: hidden;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

mark {
	background-color: #f9f5e7;
	color: #7a5901;
	padding: 0.1em 0.3em;
	border-radius: 0.2em;
	font-weight: 600;
	box-shadow: inset 0 -2px 0 #d8cfae;
}