﻿ /* Grössen für Desktops */
/*@media screen and (min-width: 960px){*/
*{
    margin: 0;
    padding: 0;
    color: #124019;
    font-family: sans-serif;
    letter-spacing: 1px;
    font-weight: 300;
}

html{
	height: 100%;
	font-family: Arial, Verdana, Helvetica, Lucida, sans-serif;
	background-color: #d4f9c6;
	position:relative;
	margin: 0;
    padding: 0;
    color: #124019;
    font-family: sans-serif;
    letter-spacing: 1px;
    font-weight: 300;
}

body{
	height: 100vh;
	display: flex;
	flex-direction: column;
	
	margin:0;
	padding:0;
	overflow: auto;
    overflow-x: hidden;

}

header{
	/* border:solid black 2px; */
	position: fixed;
	z-index: 9;
	width: 100vw;
	height: 130px;
	margin: 0;
	/* background-color: #704214; */
	/* padding: 5px 5px 0px 5px; */
	text-align: center;
	font-size: x-large;
}

main{
	/* border: solid blue 2px; */
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-flow: row-reverse wrap;
	margin: 130px 0px 0px 0px;
	background-repeat: no-repeat;
	background-position: center top;
	/* background-size: 1023px auto; */
	/* box-shadow: 0 0 8px 8px #d4f9c6 inset; */
	text-align: center;

}

.bildfooter{
	display: block;
	width: 65px;
	margin-left: auto;
	margin-right: auto;
}

/* .bildtextlinks{
	display: block;
	/* float: right; 
	max-width: 540px;
	width: 100%;

}

.bildtextrechts{
	display: block;
	margin: 8px auto 8px auto;
	/* float: right; 
	max-width: 600px;
	width: 100%;
} */

.logopartner{
	display: block;
	height: 90px;
	margin-left: auto;
	margin-right: auto;
}

.hauptinhalt{
	/* border: solid #000000 2px; */
	/* margin: auto auto auto auto-20px; */
	/* max-width: 940px; */
	width: 100vw;
	float: left;
	padding: 0;
	text-align: center;
}

footer{
	text-align: left;
	color: #124019;
    background-color: #99C469;
	font-size: 1.1em;
	padding: 25px 5px 5px 5px;
	/* word-break: break-all; */
}

footer  a{
	text-decoration: none;
}
footer  p{
	padding: 25px 0 10px 0;
}

table.kontakt{
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	border-collapse: separate;
	/* background-color: blue; */
}

table.kontakt td{
	/* background-color: yellow; */
	padding: 5px;
}

.impressum{
	text-align: center;
	font-size: 0.6em;
	text-decoration: none;
	color: #263614;
	margin: 3px;
}

p{
	padding-top: 3px;
	padding-bottom: 6px;
}

b{
	padding-bottom: 6px;
}

h1{
	margin: 30px 8px 20px 8px; 
}

h2{
	margin: 15px 8px 15px 8px; 
}


h3{
	margin: 15px 8px 10px 8px; 
}


p{
	padding: 35px 0 25px 0;
}
footer p{
	padding: 25px 0 10px 0;
}
/******************* Transition *****************/

section {
	/* border: solid #ffffff 2px; */
    /* min-height: 60vh; */
	display: flex;
	justify-content: center;
	align-items: center;
}

/* section:nth-child(1) {
	color: #e0ffff;
}
section:nth-child(2) {
    color: #42455a;
    background: #e0ffff;
} */

section .container {
    margin: 0px;

}

section h1 {
    font-size: 3rem;
    margin: 20px;
}

section h2 {
    font-size: 30px;
	margin-left: -30px;
	padding: 2px;
    text-align: center;
    text-transform: uppercase;
	background-color: #ffffff;
	opacity: 0.8;
	max-width:max-content;
	border-radius: 4px;
}
section .text-container {
    display: flex;
	max-width: 80vw;
	/* padding: 25px; */
}

section .text-container .text-box {
	/* border: solid #000000 2px; */

    margin-top: 19px;
	margin-bottom: 19px;
	margin-left: 5px;
	margin-right: 5px;
    padding: 25px;
    background: #00c2cb;

}
section .text-container .text-box h3 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
}

.text-box img{
	margin: 40px auto 0 auto;
}

.reveal {
    position: relative;
    opacity: 0;
	animation: bluppiweg 0.5s ease;
}
  
.reveal.active {
    opacity: 1;
 }
/* .active.fade-bottom {
    animation: fade-bottom 0.8 ease-in;
}
.active.fade-left {
    animation: fade-left 1s ease-in;
}*/

.active.boxease {
	animation: bluppi 0.9s ease;
}


@keyframes bluppi {
    0% {
      /* transform: translateX(50px); */
      opacity: 0;
    }
    100% {
      /* transform: translateX(0); */
      opacity: 1;
    }
}

@keyframes bluppiweg {
    0% {
      /* transform: translateX(50px); */
      opacity: 1;
    }
    100% {
      /* transform: translateX(0); */
      opacity: 0;
    }
}
/* @keyframes bluppi {
    0% {
      transform: translateX(50px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
}

@keyframes fade-left {
    0% {
      transform: translateX(-50px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
} */
  
/** Festes Hintergrundbild im Fenster ******************************/
.parallax1 {
	/* border: solid rgb(128, 0, 255) 3px; */
	background-image: url("../pics/baum2.jpg");
	padding-top:100px;
	min-height: 450px;
  
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.parallax2 {
	/* border: solid rgb(128, 0, 255) 3px; */
	background-image: url("../pics/Herde3.jpg");
	padding-top:100px;
	min-height: 450px;
  
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}






/*******************************************************/
/*Stying for small screens*/
@media only screen and (max-width: 740px){
	*{
		/* border: solid yellow 2px; */
		margin: 0;
		padding: 0;

		font-family: sans-serif;
		letter-spacing: 1px;
		font-weight: 300;
	}
	
	html{
		/* border: solid darkcyan 2px; */
		height: 100%;
		position:relative;
		margin: 0;
		padding: 0;
		font-family: sans-serif;
		letter-spacing: 1px;
		font-weight: 300;
	}
	
	body{
		/* border: solid darkblue 2px; */
		margin:0;
		padding:0;
		height: 100%;

	}

	#main{
		/* border: solid skyblue 2px; */
		flex: 1;
		margin: 85px 0px 0px 0px;
		padding: 0 0 0 0;
		/* background-size: 100% auto; */
		text-align: center;
	}

	.hauptinhalt{
		/* border: solid #000000 2px; */
		margin: auto;
		max-width: auto;
		height:auto;
		text-align: center;
	}



	
	section h1 {
		font-size: 2rem;
		text-align: center;
	}

	section .text-container {
		flex-direction: column;
	}

}