/* Grundlegende Stile */
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html{
	scroll-behavior: smooth;
}

body{
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--primary-color);
}

.max-width{
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

h1, h2, h3, h4, h5, h6{
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
}

p{
	margin-bottom: 1.05rem;
}

a{
	color: var(--accent-color);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover{
	color: var(--accent-color);
}

img{
	max-width: 100%;
	height: auto;
}

section{
	padding: 5rem 0;
}

.btn{
	display: inline-block;
	background-color: var(--primary-color);
	color: var(--white);
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn:hover{
	background-color: var(--primary-dark);
	color: var(--white);
	transform: translateY(-2px);
}

.text-center { text-align: center; }
.text-right { text-align: right;}

/** ---------- Header ---------- */
header {
	padding: 20px 0;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	z-index: 990;
	background: var(--primary-color);
	border-bottom: 2px solid var(--primary-color);
	transition: border-bottom .27s ease;
}

header.scrolled {
	border-bottom: 2px solid var(--secondary-color);
}

header h1 {
	font-size: 24px;
	line-height: 26px;
	margin: 0px;
	padding: 0px;
}

header h1 > i {
	color: var(--accent-color);
}

header > .max-width {
	display: flex;
	align-items: center;
	justify-content: space-between;
}



/** ---------- Menü ---------- */
nav ul {
	display: flex;
	gap: 15px;
	align-items: center;
	list-style-type: none;
}

nav a {
	color: var(--text-color);
}

nav a:hover {
	color: var(--accent-color);
}


/* ---------- Section: Hero ---------- */
.hero {
	padding-top: 150px;
	min-height: 30vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 24px;
	background-color: var(--accent-color);
	color: var(--accent-text-color);
}

ul, ol {
	margin: 1em 0;
	padding-left: 2.5em;
}

ul {
	list-style-type: disc;
}

ol {
	list-style-type: decimal;
}

li {
	margin: 0.5em 0;
	padding: 0;
	line-height: 1.4;
}

.link-item {
	width: 98%;
}

/* Verschachtelte Listen */
ul ul, ol ol, ul ol, ol ul {
	margin: 0.25em 0;
}

ul ul {
	list-style-type: circle;
}

ul ul ul {
	list-style-type: square;
}

ol ol {
	list-style-type: lower-alpha;
}

ol ol ol {
	list-style-type: lower-roman;
}




.text-center ul li {
	text-align: left !important;
}

p a{
	word-break: break-all;
}

/** ---------- Section: About me ---------- */
.about-content {
	position: relative;
	
}

.about-content > .author-image img{
	width: 182px;
	border: 6px solid var(--accent-color);
}

.about-content > .author-image {
	position: absolute;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
}

.about-content > .author-bio {
	background: var(--secondary-color);
	padding: 35px 55px;
	margin-left: 150px;
}

.about-content > .author-bio > :last-child {
	margin-bottom: 0;
}

/** ---------- Section: Neuigkeiten ---------- */
#news {}

#news .news-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--secondary-color);
	padding: 25px;
	position: relative;
}

#news .news-item > :last-child {
	margin-bottom: 0;
}

#news .news-icon {
	font-size: 48px;
	color: var(--accent-color);
	position: absolute;
	right: -15px;
	top: -30px;
}

/** ---------- Section: Kontakt ---------- */
#contact > .max-width {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 35px;
}

#contact .contact-icon {
	font-size: 128px;
	color: var(--accent-color);
}

/** ---------- Section: Links ---------- */
#links .links-content {
	position: relative;
}

#links .content-side {
	background: var(--secondary-color);
	padding: 35px 55px;
  	margin-right: 100px;
}

#links .icon-side {
	font-size: 160px;
	color: var(--accent-color);
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

#links .icon-side i {
	text-shadow: 2px 2px var(--secondary-color);
}

#links ol {
	padding-left: 20px;
}

/** ---------- Section: Bücher ---------- */
#books .flex-container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 30px;
}

#books .flex-container > .item{
	background: var(--secondary-color);
	flex: 0 0 calc(33.333% - 20px);
}

#books .flex-container > .item .imgwrap {
	padding: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#books .flex-container > .item .titlewrap {
	background: rgba(0,0,0, .08);
	padding: 15px;
	display: flex;
	align-content: last baseline;
	flex-direction: column;
}

#books .flex-container > .item .titlewrap a {
	color: var(--text-color);
	font-size: 18px;
	line-height: 20px;
}
#books .flex-container > .item .titlewrap .bookcategory {
	font-style: italic;
}

/** ---------- Footer ---------- */
footer {
	background: var(--secondary-color);
	padding: 15px 0;
}

footer .footer-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

footer .footer-logo h2{
	font-size: 20px;
	line-height: 22px;
}

footer .footer-logo > * {
	margin: 0;
}

footer .footer-logo h2 > i{
	color: var(--accent-color);
}

footer .footer-legal ul {
	display: flex;
	list-style-type: none;
	align-items: center;
	gap: 15px;
	padding: 0;
}

footer .footer-legal a {
	color: var(--text-color);
}

/** Hamburger **/
.hamburger {
	display: none;
	cursor: pointer;
}

.hamburger > span {
	width: 26px;
	height: 3px;
	margin-bottom: 3px;
	background: var(--text-color);
	display: block;
}


@media (max-width: 1399.98px) {

}

@media (max-width: 1199.98px) {

}

@media (max-width: 991.98px) {

}

@media (max-width: 767.98px) {
	.main-nav {
		height: 0;
		overflow: hidden;
		transition: height .27s ease;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		top: 68px;
		background: var(--primary-color);
		z-index: 900;
		display: block;
		margin-top: 0;
	}
	
	.main-nav > li {
		text-align: center;
		margin-top: 15px;
	}
	
	.main-nav.active {
		height: 100vh;
	}
	
	.hamburger {
		display: block;
	}
	
	.about-content > .author-bio {
		margin-left: 0;
	}
	
	.about-content > .author-image > img {
		height: 220px;
		width: auto;
	}
	
	.about-content {
		margin-top: 180px;
	}
	
	.about-content > .author-image {
		bottom: calc(100% - 60px);
		right: -15px;
		top: auto;
		left: auto;
	}
	
	#links .content-side {
		margin-right: 0;
	}
	
	#links .icon-side {
		right: calc(50% - 60px);
		bottom: calc(100% - 55px);
		top: auto;
		font-size: 120px;
	}
	
	#books .flex-container > .item {
		flex: 0 0 calc(50% - 15px);
	}
	
}

@media (max-width: 575.98px) {

	.about-content > .author-bio {
		padding: 20px 25px;
	}
	
	.about-content > .author-image {
		bottom: calc(100% - 50px);
	}
	
	.about-content > .author-image > img{
		height: 170px;
	}
	
	#contact .contact-icon {
		font-size: 96px;
	}
	
	#links .icon-side {
		font-size: 96px;
		right: calc(50% - 48px);
		bottom: calc(100% - 45px);
	}
	
	footer .footer-content {
		flex-wrap: wrap;
	}
	
	footer .footer-content > *{
		flex: 0 0 100%;
	}
	
	footer .footer-legal ul {
		justify-content: center;
	}
	
	footer .footer-legal {
		margin-bottom: 15px;
	}
	
	footer .footer-logo {
		text-align: center;
	}
	
}

@media (max-width: 450px) {
	#books .flex-container > .item {
		flex: 0 0 100%;
	}
	
	#contact .contact-icon {
		display: none;
	}
	
	#contact > .max-width {
		justify-content: flex-start;
	}
	
	footer .footer-legal ul {
		flex-wrap: wrap;
		gap: 0 15px;
	}
	
	section{
		padding: 3rem 0;
	}
	
	header h1 {
		font-size: 20px;
		line-height: 22px;
	}
}








