@font-face {
    font-family: 'Libre Baskerville';
    src: local('Libre Baskerville'), local('LibreBaskerville-Regular'),
        url('../fonts/LibreBaskerville-Regular.woff2') format('woff2'),
        url('../fonts/LibreBaskerville-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: local('Libre Baskerville Italic'), local('LibreBaskerville-Italic'),
        url('../fonts/LibreBaskerville-Italic.woff2') format('woff2'),
        url('../fonts/LibreBaskerville-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: local('Libre Baskerville Bold'), local('LibreBaskerville-Bold'),
        url('../fonts/LibreBaskerville-Bold.woff2') format('woff2'),
        url('../fonts/LibreBaskerville-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ANIMATIONS */

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInFromTop {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInFromLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes fadeInFromRight {
	from {
		opacity: 0;
		transform: translateX(50px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'Libre Baskerville';
	font-weight: normal;
	/*background: #eeeeee;*/
	color: #1a1a1a;
	text-align: left; 
	font-size: 2.0rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1 {
	font-weight: bold;
	font-size: 3.6rem;
	margin-top: 4rem;
	margin-bottom: 3rem;
	line-height: 1.3;
	color: #900122;
}
h1 .subline {
	display: block;
	font-size: 2.3rem;
	margin-top: 0.5rem;
}

h2 {
	font-weight: bold;
	font-size: 3rem;
	margin-top: 4rem;
	margin-bottom: 3rem;
	line-height: 1.3;
	color: #900122;
}

h3 {
	font-weight: bold;
	font-size: 2.3rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
	line-height: 1.3;
	color: #1a1a1a;
}

h4 {
	font-weight: bold;
	font-size: 2.0rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
	line-height: 1.3;
	color: #1a1a1a;
}

article p, article ul, article ol {
	margin-bottom: 3rem;
}
article p:last-child, article ul:last-child, article ol:last-child {
	margin-bottom: 0;
}

article ul ul {
	margin-top: 0.5rem;
}

p.intro {
	margin-bottom: 6rem;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

article ul {
	list-style: disc;
	padding-left: 2rem;
}
	article ul li {
		margin-bottom: 0.5rem;
	}

a {
	color: #f7a721;
	text-decoration: none;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}
article a:hover, footer a:hover {
	opacity: 0.6;
}

.button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #900122;
	color: #ffffff;
	margin-bottom: 3rem;
}

img {
	max-width: 100%;
	height: auto;
}

main.site-main {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 50px;
	margin: 0 auto;
	padding: 50px;
	max-width: 1200px;
}

	header.site-header {
		grid-column: 1 / span 3;
		opacity: 0;
		animation: fadeIn 1s ease 0.2s forwards;
	}

	article {
		grid-column: 1 / span 2;
		grid-row: 2;
		padding-left: 5.6%;
		opacity: 0;
		animation: fadeInFromLeft 1s ease 0.4s forwards;
	}

	footer.site-footer {
		grid-column: 3 / span 1;
		grid-row: 3;
		margin-top: 50px;
		font-size: 16px;
		opacity: 0;
		animation: fadeIn 1s ease 0.6s forwards;
	}
		footer.site-footer ul {
			display: flex;
			justify-content: flex-end;
			gap: 25px;
		}
			footer.site-footer li {
			}
				footer.site-footer li:not(.current-menu-item) a {
					color: #1a1a1a;
				}


/* KURSE */

.kurse li {
	margin-bottom: 20px;
	line-height: 1.7;
}


/* ICONS */

.icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.icon.person {
	background-image: url(../img/person.png);
}

.icon.kalender {
	background-image: url(../img/kalender.png);
}

.icon.uhr {
	background-image: url(../img/uhr.png);
}

.icon.wiederholung {
	background-image: url(../img/wiederholung.png);
}


/* MEDIA QUERIES */

@media screen and (max-width: 1023px) {
	html {
		font-size: 55.5%;
	}
}

@media screen and (max-width: 900px) {
	main.site-main {
		display: block;
	}

	article {
		padding-left: 3.6%;
		padding-right: 3.6%;
	}
}

@media screen and (max-width: 768px) {
	html {
		font-size: 51.5%;
	}
}

@media screen and (max-width: 600px) {
	html {
		font-size: 48.5%;
	}

	main.site-main {
		gap: 30px;
		padding: 30px;
	}
}

@media screen and (max-width: 480px) {
	main.site-main {
		gap: 20px;
		padding: 20px;
	}
}

@media screen and (max-width: 350px) {
	footer.site-footer {
		font-size: 15px;
	}
		footer.site-footer ul {
			gap: 20px;
		}
}
