@import url('https://fonts.googleapis.com/css?family=Nunito+Sans&display=swap');

* {
	font-family:'Nunito Sans', sans-serif;
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;

	background: #fff;
	color: #000;
}

a {
	color: #005633;
	text-decoration: none;
}

h1 {
	font-size: 150%;
}
h2 {
	font-size: 150%;
	margin-bottom: 2em;
	display: none;
}
.back-button {
	display: block;
	position: relative;
	z-index: 10;
	margin: 16px 0 0 0;
	text-align: center;
}

.header {
	position: relative;
	z-index: 10;
	max-width: 500px;
	margin: 100px auto 16px auto;
	padding: 0 16px;

	text-align: center;
}

.impressum-content {
	position: relative;
	z-index: 10;
	max-width: 700px;
	margin: 200px auto;
	padding: 0 16px;
}

.teaser {
	display: block;
	position: relative;
	z-index: 20;
	margin: 0 8px -32px auto;
	width: 180px;
	height: 180px;
	padding: 28px;
	transform: rotate(10deg);
	border-radius: 50%;

	background: #fcd800;
	color: #005633;
	text-decoration: none;
	text-align: center;

	transition: 0.3s;
}
.teaser:hover {
	transform: scale(1.05, 1.05) rotate(10deg);
}

.logos-row {
	position: relative;
	margin: 0 -16px;
}
.logos-row .logo {
	display: block;
	float: left;
	width: 25%;
	height: 80px;
	margin: 0 0 0 7%;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

.table {
	position: relative;
	z-index: 10;
	padding: 0 16px;
}
.table .col {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	padding: 32px 16px;

	text-align: center;
}
.table .col + .table .col {
	border: 0;
	border-top: 1px solid #ddd;
}
.table .col {
	transition: 0.3s;
}
.table .col:hover {
	transform: scale(1.05, 1.05);
}
.table .col p {
	max-width: 400px;
	min-height: 7em;
	margin: 0 auto;
}
.table .col a {
	display: inline-block;
	margin: 16px;
	padding: 8px 16px;
	background: #005633;
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
}
.table .col .logo {
	display: block;
	max-width: 250px;
	height: 120px;
	margin: 32px auto;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}
.logo.gruenwerk {
	background-image: url("logo-gruenwerk.png");
}
.logo.baumfokus {
	background-image: url("logo-baumfokus.png");
}
.logo.baumtankstelle {
	background-image: url("logo-baumtankstelle.png");
}
.clear {
	clear: both;
}

.footer {
	margin: 64px 8px 64px 8px;
	text-align: center;
	color: #bbb;
}
.footer a {
	margin: 0 8px;
	text-decoration: none;
	color: #bbb;
}


@media only screen and (min-width: 1055px) {
	.header {
		width: 950px;
		max-width: 60%;
		margin: 0 auto 64px auto;
		padding: 12% 0 0 0;

		text-align: center;
	}

	h2 {
		display: block;
	}
	.logos-row {
		display: none;
	}

	.impressum-content {
		width: 700px;
		max-width: 60%;
		margin: 0 auto 64px auto;
		padding: 12% 0 0 0;
	}

	.teaser {
		position: absolute;
		left: 83%; right: auto;
		top: 15%;
	}

	.table {
		width: 90%;
		margin: 0 auto;
	}
	.table .col {
		float: left;
		width: 33%;
		min-width: 300px;
		max-width: none;
		padding: 2%;

		text-align: center;
	}
	.table .col + .table .col {
		border: 0;
		border-left: 1px solid #ddd;
	}
}


.background {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.leaves {
	position: absolute;
	width: 100%;
	z-index: 0;
	border: 0;

	animation-iteration-count: infinite;
}

@keyframes leave1 {
	/* transform:
		scale(0.6, 0.6)
		rotate(-45deg)
		translate(-20%, 0) rotate(0deg)
	; */

	0% { transform:
		scale(0.6, 0.6)
		rotate(-10deg)
		translate(-30%, 0)

		translate(0, 0)
		rotate(0deg)
	;}
	25% { transform:
		scale(0.6, 0.6)
		rotate(-10deg)
		translate(-30%, 0)

		translate(-0.5%, 0)
		rotate(-0.5deg)
	;}
	50% { transform:
		scale(0.6, 0.6)
		rotate(-10deg)
		translate(-30%, 0)

		translate(-1%, 0)
		rotate(0deg)
	;}
	75% { transform:
		scale(0.6, 0.6)
		rotate(-10deg)
		translate(-30%, 0)

		translate(-0.5%, 0)
		rotate(0.5deg)
	;}
	100% { transform:
		scale(0.6, 0.6)
		rotate(-10deg)
		translate(-30%, 0)

		translate(0, 0)
		rotate(0deg)
	;}
}
.leave1 {
	animation-name: leave1;
  animation-duration: 7s;
	animation-timing-function: linear;
	transform-origin: 0 0;
}

@keyframes leave2 {
	/* 0% { transform:
		rotate(-17deg)
		translate(-35%, -100%)
	;}
	100% { transform:
		rotate(-16deg)
		translate(-37%, -100%)
	;} */

	0% { transform:
		scale(0.6, 0.6)
		rotate(-17deg)
		translate(-25%, -30%)

		translate(0, 0)
		rotate(0deg)
	;}
	25% { transform:
		scale(0.6, 0.6)
		rotate(-17deg)
		translate(-25%, -30%)

		translate(-1%, 0)
		rotate(-1deg)
	;}
	50% { transform:
		scale(0.6, 0.6)
		rotate(-17deg)
		translate(-25%, -30%)

		translate(-2%, 0)
		rotate(0deg)
	;}
	75% { transform:
		scale(0.6, 0.6)
		rotate(-17deg)
		translate(-25%, -30%)

		translate(-1%, 0)
		rotate(1deg)
	;}
	100% { transform:
		scale(0.6, 0.6)
		rotate(-17deg)
		translate(-25%, -30%)

		translate(0, 0)
		rotate(0deg)
	;}
}
.leave2 {
	animation-name: leave2;
  animation-duration: 5s;
	animation-timing-function: linear;
	transform-origin: 0 0;
}

@keyframes leave3 {
	0% { transform:
		scale(-0.6, 0.6)
		rotate(0deg)
		translate(-80%, -38%)
	;}
	100% { transform:
		scale(-0.6, 0.6)
		rotate(0deg)
		translate(-85%, -43%)
	;}
}
.leave3 {
	animation-name: leave3;
  animation-duration: 5s;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
}

@keyframes leave4 {
	0% { transform:
		scale(-0.6, 0.6)
		rotate(-10deg)
		translate(-50%, -75%)
	;}
	100% { transform:
		scale(-0.6, 0.6)
		rotate(-11deg)
		translate(-50%, -75%)
	;}
}
.leave4 {
	animation-name: leave4;
  animation-duration: 2s;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
}
