/*
Theme Name: Zusage
Theme URI: http://www.zusage.global
Author: fija.de 
Author URI: https://fija.de
Version: 1.0.1
Description: Wordpress Theme - Zusage 2021/2022
*/

/*
MAINCOLORS
green: #3ab084
blue: #2d2e82
pink: #e95283
*/

*, *::after, *::before {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
}
body {
	font-family: baskerville-urw, Times, serif;
	font-size: 1.2em;
}

a {
	text-decoration: none;
	color: #e95283;
	transition: all 0.2s ease-in-out;
}
a:hover, a.active {
	color: #3ab084;
}

h1, h2, h3 {
	font-family: din-condensed, Arial, sans-serif;
	font-weight: normal;
	margin-top: 0;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 2em;
}
h3 {
}

.button {
	display: inline-block;
	background: #e95283;
	color: #fff;
	padding: 20px 40px;
	border-radius: 50px;
	font-family: din-condensed, Arial, sans-serif;
	font-size: 1.4em;
}
.button:hover {
	background: #3ab084;
	color: #fff;
}

/* # # # # HEADER/FOOTER/NAV # # # # */

header {
	padding: 4vw 5vw;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
@media only screen and (max-width: 800px) {
	header {
		padding: 2em 5vw;
	}
}

header #logo img {
	max-width: 180px;
	width: 100%;
	position: relative;
	z-index: 20;
	padding-right: 1em;
}

nav ul {
	list-style-type: none;
	display: flex;
	margin: 0;
	padding: 0;
	font-family: din-condensed, Arial, sans-serif;
}
nav a {
	padding: 0 1vw;
	font-size: 1.2em;
	color: #000;
}
header nav a {
	font-size: 1.5em;
	white-space: nowrap;
}
.current_page_item a {
	color: #3ab084;
}

@media only screen and (max-width: 800px) {
	header nav {
		position: fixed;
		top: -100%;
		left: 0;
		right: 0;
		bottom: 100%;
		z-index: 10;
		background-color: #fff;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		transition: all 0.3s ease-in-out;
	}
	header.mobilnavisopen nav {
		top: 0;
		bottom: 0;
	}
	header nav ul.menu {
		display: block;
		text-align: center;
	}
	header nav ul.menu li {
		margin: 1em 0;
	}
	header nav ul.menu li a {
		padding: 0;
	}
}

footer {
	display: grid;
	place-items: center;
	margin: 10vw 5vw 5vw;
}
@media only screen and (max-width: 800px) {
	footer nav ul {
		flex-direction: column;
		align-items: center;
	}
	footer nav ul li {
		padding-top: 10px;
	}
}
footer .logoline {
	position: relative;
	margin-top: 2em;
	padding-top: 2em;
	display: flex;
	align-items: center;
}
footer .logoline:before {
	content: '';
	position: absolute;
	top: 0;
	left: calc(50% - 50px);
	width: 100px;
	height: 4px;
	border-radius: 2px;
	background-color: #000;
}
footer .logoline > * {
	padding: 0 1em;
}
footer .logoline a small {
	display: block;
	color: #000 !important;
	font-size: 0.6em;
	padding-bottom: 0.7em;
}
footer .logoline img {
	max-width: 180px;
	width: 100%;
}

/* MOBIL ICON */

.mobilnav {
	position: fixed;
	top: 5vw;
	right: 5vw;
	z-index: 11;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	cursor: pointer;
	background: #2d2e82;
	background: linear-gradient(60deg, rgba(58,176,132,1) 0%, rgba(45,46,130,1) 50%, rgba(233,82,131,1) 100%);
	border-radius: 50%;
}
.mobilnav span {
	display: block;
	width: 20px;
	height: 4px;
	margin: 2px 0;
	background: #fff;
	border-radius: 2px;
	transition: all 0.2s ease-in-out;
}
@media only screen and (min-width: 800px) {
	.mobilnav {
		display: none;
	}
}
.mobilnavisopen .mobilnav span:nth-child(1) {
	transform: rotate(-45deg) translate(-4px, -2px);
	transform-origin: right top;
}
.mobilnavisopen .mobilnav span:nth-child(2) {
	transform: translateX(-30px);
	opacity: 0;
}
.mobilnavisopen .mobilnav span:nth-child(3) {
	transform: rotate(45deg) translate(-4px, 2px);
	transform-origin: right bottom;
}

/* # # # # MAIN # # # # */

section {
	/*padding: 4em 5vw;*/
	padding: 5vw;
}

#leadin {
	background: #2d2e82;
	background: linear-gradient(60deg, rgba(58,176,132,1) 0%, rgba(45,46,130,1) 50%, rgba(233,82,131,1) 100%);
	background-image: url('images/earth.jpg');
	background-size: cover;
	background-position: center top;
	background-attachment: fixed;
	margin-bottom: 5vw;
	padding: 5vw;
	display: grid;
	place-items: center;
}

h1.bighl {
	margin-top: 1em;
	font-size: 4.5em;
	color: #fff;
	font-weight: normal;
	line-height: 0.9em;
	text-shadow: 0 0 80px #000;
	text-align: center;
}
h1.bighl span {
	font-family: baskerville-urw, Times, serif;
	font-size: 0.6em;
}
h1.bighl span:last-child {
	position: relative;
	top: -0.3em;
}
@media only screen and (max-width: 700px) {
	h1.bighl {
		font-size: 3.5em;
	}
}
@media only screen and (max-width: 550px) {
	h1.bighl {
		font-size: 2.5em;
	}
}

.wrapper {
	max-width: 800px;
	background-color: #fff;
	margin: 0 auto;
	padding: 5vw;
	border-radius: 30px;
	overflow: hidden;
}
#leadin .wrapper {
	box-shadow: 0 0 60px rgba(0,0,0,0.25);
}
.wrapper p:first-child {
	margin-top: 0;
}

.meldung {
	background: #fedde1;
	margin: 5vw -5vw -5vw;
	padding: 5vw;
}

.coloredbg {
	background-color: #d9efe6;
}
.wrapper img {
	width: 100%;
	height: auto;
}

.sectiontitle {
	margin-bottom: 2em;
	padding: 0 1em;
	text-align: center;
	font-family: din-condensed, Arial, sans-serif;
}

.blogwall {
	display: grid;
	grid-gap: 5vw;
	justify-content: center;
}
@media only screen and (min-width: 800px) {
	.blogwall {
		grid-template-columns: repeat(auto-fit, minmax(180px, 210px));
	}
}
.blogwall.materialien {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
@media only screen and (max-width: 560px) {
	.blogwall.materialien {
		grid-gap: 4em;
	}
}
.blogwall.blog {
	grid-template-columns: repeat(auto-fit, minmax(240px, 600px));
}

.blogwall img {
	width: 100%;
	height: auto;
}

@media only screen and (max-width: 400px) {
	.speaker {
		padding: 10vw;
	}
}
.speaker img {
	border-radius: 50%;
}

.blogwall.materialien img {
	margin-bottom: 1em;
}
.materialien .kategorie {
	display: inline-block;
	margin-bottom: 1em;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 0.6em;
	color: #fff;
}
.materialien .kategorie.Info {
	background: #3ab084;
}
.materialien .kategorie.Bildung {
	background: #2d2e82;
}
@media only screen and (max-width: 400px) {
	.page-template-materialien #leadin .wrapper {
		max-height: 100vh;
		position: relative;
	}
	.page-template-materialien #leadin .wrapper.open {
		max-height: 100%;
	}
	.page-template-materialien #leadin .wrapper:after {
		content: '';
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		height: 50vh;
		background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	}
	.page-template-materialien #leadin .wrapper.open:after {
		display: none;
	}
	.page-template-materialien #leadin .wrapper .openwrapper {
		position: absolute;
		bottom: 10px;
		left: calc(50% - 40px);
		width: 80px;
		height: 80px;
		background: #e95283;
		border-radius: 50%;
		z-index: 10;
		text-align: center;
		color: #fff;
		font-weight: bold;
		line-height: 80px;
		cursor: pointer;
	}
	.page-template-materialien #leadin .wrapper .openwrapper:hover {
		background: #3ab084;
	}
	.page-template-materialien #leadin .wrapper.open .openwrapper {
		display: none;
	}
}
@media only screen and (min-width: 400px) {
	.page-template-materialien #leadin .wrapper .openwrapper {
		display: none;
	}
}

/* PROGRAM */

.program {
	margin: 1em 0;
	background: #2d2e82;
	background: linear-gradient(60deg, rgba(58,176,132,1) 0%, rgba(45,46,130,1) 50%, rgba(233,82,131,1) 100%);
	background-attachment: fixed;
	border-radius: 30px;
	padding: 5vw;
	color: #fff;
}
@media only screen and (min-width: 800px) {
	.program {
		column-count: 2;
		column-gap: 5vw;
	}
}
.program > div {
	padding-top: 2em;
}
.program > div:first-of-type {
	padding-top: 0;
}
.program h3 {
	font-family: din-condensed, Arial, sans-serif;
	font-weight: normal;
	font-size: 1.5em;
	margin: 0;
	padding: 0 0 1em;
}
.program ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.program ul li {
	border-top: 1px solid rgba(255,255,255,0.3);
	padding: 10px 0;
	line-height: 1.2em;
	break-inside: avoid;
}

/* FORM */

.form {
	max-width: 800px;
	background-color: #fff;
	box-shadow: 0 0 60px rgba(0,0,0,0.25);
	padding: 5vw;
	border-radius: 30px;
	overflow: hidden;
}
.forminputs {
	margin: 2vw 0;
	display: grid;
	grid-gap: 2vw;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
input, textarea {
	width: 100%;
	border: 0;
	outline: 0;
	background-color: #d9efe6;
	padding: 10px;
	font-family: baskerville-urw, Times, serif;
	font-size: 1em;
}
textarea {
	height: 8em;
}
input[type=checkbox], input[type=radio] {
	width: auto;
}

/* ÜBER UNS */

.kontaktpersonen {
	margin: 4em auto;
	display: grid;
	grid-gap: 5vw;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.portrait {
	text-align: center;
}
.portrait > div {
	display: inline-block;
	width: 180px;
	height: 180px;
	overflow: hidden;
	border-radius: 50%;
}
.portrait > div img {
	width: 100%;
}

.kontakt {
	background-color: #d9efe6;
	margin-bottom: 8em;
}

/* ARCHIV */

ul.archiv {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.archiv li {
	margin-bottom: 1em;
}
ul.archiv li a {
	display: block;
	background: #e95283;
	color: #fff;
	padding: 20px 40px;
	border-radius: 50px;
	font-family: din-condensed, Arial, sans-serif;
	font-size: 1.4em;
}
ul.archiv li a:hover {
	background: #3ab084;
	color: #fff;
}

/* BLOG Galerie */

.galerie {

}
.galerie > * {
	margin: 2em 0;
	transform: rotate(-1deg);
}
.galerie > *:nth-child(2n) {
	transform: rotate(1deg);
}
.galerie img {
	border: 5px solid #fff;
	box-shadow: 0 10px 20px #ddd;
}
.galerie figcaption {
	background: #d9efe6;
	padding: 1em;
	border-radius: 1em;
	margin-top: -3em;
	z-index: 2;
	position: relative;
	width: 50%;
	transform: rotate(4deg);
	left: 45%;
}
.galerie figure:nth-child(2n) figcaption {
	transform: rotate(-4deg);
	left: 5%;
}

/* SLIDER */

.slider {
	max-width: 800px;
	margin: 0 auto;
}
.slick-slide > div {
	display: flex !important;
	flex-direction: column;
	align-items: center;
}
.slider figure {
	margin: 0;
}
.slider img {
	border: 5px solid #fff;
	box-shadow: 0 10px 20px #ddd;
	width: 100%;
}
.slider figcaption {
	background: #d9efe6;
	padding: 1em;
	border-radius: 1em;
	width: 90%;
	max-width: 400px;
	transform: rotate(4deg) translateY(-2em);
}

/* WP config styles */

img.aligncenter {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	padding: 0 1em;
	font-size: smaller;
}
