/*++++++++++++++++++++++++++++++++ Nav ++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

body {
  margin: 0px auto;
  height: 100%;
}

a {
	color: #005B11;
	font-family: 'PT Sans', sans-serif;
}

header a{
  font-size: 20px;
}

footer a{
  font-size: 20px;
  color: white;
  text-decoration: none;
}

.header {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100vw;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #005B11;
	color: white;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  margin-top: 10px;
  text-decoration: none;
  height: 3rem;
}

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/*++++++++++++++++++++++++++++++++ Nav Ende ++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/********************************* Slideshow ******************************************************/

html { min-height: 100%; }

body { height: 100%; }

.slideshow {
  list-style: none;
  z-index: 1;
  min-height: 1080px;
  margin: 0px;
  margin-bottom: 5rem;
}

.slideshow li span {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  color: transparent;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
  opacity: 0;
  z-index: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-animation: imageAnimation 30s linear infinite 0s;
  -moz-animation: imageAnimation 30s linear infinite 0s;
  animation: imageAnimation 30s linear infinite 0s;
}

.slideshow li h3 {
  position: absolute;
  text-align: center;
  z-index: 5;
  bottom: 450px;
  left: 0;
  right: 0;
  opacity: 0;
  font-size: 2rem;
  font-family: 'roboto', sans-serif;
  text-transform: uppercase;
  color: #fff;
  -webkit-animation: titleAnimation 24s linear 1 0s;
  -moz-animation: titleAnimation 24s linear 1 0s;
  animation: titleAnimation 24s linear 1 0s;
}
@media only screen and (min-width: 768px) {

.slideshow li h3 {
  bottom: 15rem;
  font-size: 3em;
}
}
@media only screen and (min-width: 1024px) {

.slideshow li h3 { 
	font-size: 5rem;
	bottom: 25rem;
	}
}

.slideshow li:nth-child(1) span { 
	background-image: url("./Bilder/titelbilder/titelbild_1.jpg");
}

.slideshow li:nth-child(2) span {
  background-image: url("./Bilder/fendt_drescher.jpg");
  -webkit-animation-delay: 6s;
  -moz-animation-delay: 6s;
  animation-delay: 6s;
}

.slideshow li:nth-child(3) span {
  background-image: url("./Bilder/miststreuen_neu.jpg");
  -webkit-animation-delay: 12s;
  -moz-animation-delay: 12s;
  animation-delay: 12s;
}

.slideshow li:nth-child(4) span {
  background-image: url("./Bilder/rundballen_neu.jpg");
  -webkit-animation-delay: 18s;
  -moz-animation-delay: 18s;
  animation-delay: 18s;
}

.slideshow li:nth-child(5) span {
  background-image: url("./Bilder/titelbilder/9er_presse.jpg");
  -webkit-animation-delay: 24s;
  -moz-animation-delay: 24s;
  animation-delay: 24s;
}

 @-webkit-keyframes 
imageAnimation {  0% {
 opacity: 0;
 -webkit-animation-timing-function: ease-in;
}
 12.5% {
 opacity: 1;
 -webkit-animation-timing-function: ease-out;
}
 25% {
 opacity: 1;
}
 37.5% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}

@-moz-keyframes 
imageAnimation {  0% {
 opacity: 0;
 -moz-animation-timing-function: ease-in;
}
 12.5% {
 opacity: 1;
 -moz-animation-timing-function: ease-out;
}
 25% {
 opacity: 1;
}
 37.5% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}
@keyframes 
imageAnimation {  0% {
 opacity: 0;
 -webkit-animation-timing-function: ease-in;
 -moz-animation-timing-function: ease-in;
 animation-timing-function: ease-in;
}
 12.5% {
 opacity: 1;
 -webkit-animation-timing-function: ease-out;
 -moz-animation-timing-function: ease-out;
 animation-timing-function: ease-out;
}
 25% {
 opacity: 1;
}
 37.5% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}

@-webkit-keyframes 
titleAnimation {  0% {
 opacity: 0;
}
 12.5% {
 opacity: 1;
}
 25% {
 opacity: 1;
}
 37.5% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}

@-moz-keyframes 
titleAnimation {  0% {
 opacity: 0;
}
 12.5% {
 opacity: 1;
}
 25% {
 opacity: 1;
}
 37.5% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}

@keyframes 
titleAnimation {  0% {
 opacity: 0;
}
 12.5% {
 opacity: 1;
}
 25% {
 opacity: 1;
}
 37.5% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}

.no-cssanimations .slideshow li span { opacity: 1; }


/********************************* Slideshow Ende *************************************************/

/*++++++++++++++++++++++++++++++++ Allgemein +++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin:0 20px;
}

.background{
	width: 100%;
	margin-bottom: 10rem;
}


img{
    max-width: 100%;
}

p{
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
  font-size: 18px;
}

h1{
	color: #005B11;
	font-family: 'PT Sans', sans-serif;
	grid-column: span 6;
	margin: 0px;
	font-size: 5rem;
}

h2{
	color: #005B11;
	font-family: 'PT Sans', sans-serif;
	margin: 0px;
	font-size: 3rem;
}

h3{
	color: #005B11;
	font-family: 'PT Sans', sans-serif;
  font-weight: 900;
	margin: 0px;
}

h4{
	color: #005B11;
	font-family: 'PT Sans', sans-serif;
  font-weight: 900;
	margin: 0px;
}

.spacer_small{
	margin-top: 2rem;
}

.spacer_big{
	margin-top: 10rem;
}

.text p{
	grid-column: span 8;
	color: black;
	line-height: 2rem;
}

.headline_h2{
	grid-column: 1/-1;
	text-align: center;
	font-size: 2rem;
}

.icon_section{
  display: flex;
  justify-content: center;
}

.icons img{
  width: 5rem;
}

.icons{
  margin: 2rem;
  text-align: center;
}

/*+++++++++++++++++++++++++++++++++++++++++++++++++++ Allgemein Ende ++++++++++++++++++++++++++++++++++++++++++++++++*/

/*+++++++++++++++++++++++++++++++++++++++++++++++++++ Button ++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.button{
	text-decoration: none;
	color: black;
	padding: 10px;
	grid-column: 1/-1;
	text-align: center;
	margin: auto;
	margin-bottom: 10rem;
	font-family: 'Poppins', sans-serif;
  border: 1px solid rgb(194, 194, 194);
  margin-top: 5rem;
}

.button:hover{
	background-color: #005B11;
	color: white;
	border: none;
}

#button_bewertungen{
	grid-column: span 3;
	margin: 0;
	text-align: center;
}


/*+++++++++++++++++++++++++++++++++++++++++++++++++++ Button Ende ++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.section-1 h2{
	grid-column: 1/-1; 
	margin: 0px;
    margin-top: 15rem;
}

.section-1 p{
	grid-column: 1/-1;
}

.section-1 div.outer{
	grid-column: span 4;
    padding:10px;
}

div.outer img{
    width:100%;
}

div.outer h3{
	font-weight: 900;
}

div.inner h3{
    text-align: center;
    font-family: 'PT Sans', sans-serif;
}


div.outer h3{
	font-family: 'PT Sans', sans-serif;
	color: #005B11;
	font-weight: 800;
  font-size: 2rem;
	margin-top: 1rem;
}




/*++++++++++++++++++++++++++++++++ Footer +++++++++++++++++++++++++++++++++++++++++*/
footer{
	margin-top: 10rem;
	padding-top: 1rem;
	background-color: #005B11;
	width: 100%;
  text-align: center;
  height: 15rem;
  box-shadow: 0 -5px 5px -5px #333;
}

.impressum a{
	text-decoration: none;
	color: white;
	margin: 1rem;
}

.impressum{
	grid-column: 1/-1;
  margin-top: 3rem;
}

.social{
	grid-column: 1/-1;
}

.social a{
	margin: 1rem;
}

.social img{
	width: 15%;
  margin-right: 1rem;
}

	
/*++++++++++++++++++++++++++++++++ Footer Ende +++++++++++++++++++++++++++++++++++++++++*/



/*++++++++++++++++++++++++++++++++ Popup +++++++++++++++++++++++++++++++++++++++++++++++*/

.box {
  width: 40%;
  margin: 0 auto;
  padding: 10px;
  border: 2px solid #fff;
  background-clip: padding-box;
  text-align: center;
  margin-top: 1rem;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 50rem;
  position: relative;
}

.popup h2 {
  margin-top: 0;
  color: #005B11;
  font-family: 'PT Sans', sans-serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.popup .close {
  position: absolute;
  top: 5px;
  right: 20px;
  transition: all 200ms;
  font-size: 45px;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #005B11;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

/*++++++++++++++++++++++++++++++++ Popup Ende ++++++++++++++++++++++++++++++++++++++++++*/


/*++++++++++++++++++++++++++++++++ Responsive ++++++++++++++++++++++++++++++++++++++++++*/

@media (min-width:700px){
    /* ab tablet version */
    
    .grid{
        display: grid;
        grid-template-columns: repeat(8, 1fr);
    }
	
.header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
    	.header .logo {
  width: 25%
}
	.social img{
	filter: invert();
	width: 5%;
}

.popup{
  width: auto;
}


.icon_section{
  display: flex;
  justify-content: center;
}



 div.inner img{
  min-height: 10rem;
  min-width: 20rem;
 }
	
}

@media (min-width:1200px){
    /* ab desktop version */
    
    .grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    max-width:1200px;
    margin:0 auto;
}
    
    .section-1 p{
	    grid-column: 3/-3;
    }
    
    .section-2 div.outer{
	    grid-column: span 3;
    }

	ul li{
	grid-column: span 2;
}

	.header .logo {
  width: 15%
}
	.social img{
	filter: invert();
	width: 3%;
}

.icon_section{
  display: flex;
justify-content: center;
}


	
}

@media screen and (max-width: 700px){
  
  .box{
    width: 70%;
  }
  
  .content{
    display: flex;
    flex-direction: column;
    margin-top:2rem;
  }
  
  .popup{
  bottom: 10rem;
  }

  .popup_text{
    margin-left: 1rem;
  }

  .popup_text h2{
    text-align: left;
  }

  .popup p{
   max-width: 30rem;
   max-width: 100%;
  }

  .header .logo {
    width: 50%;
    margin-bottom: 0.5rem;
}

.icon_section{
  display: flex;
  flex-direction: column;
}
.lohner{
  display: none;
  position: relative;
  }

  .pensionspferde{
    display: flex;
    flex-direction: column;
  }

.social{
  display: flex;
  flex-direction: column;
}

}


@media (min-width:500px){


  .popup p{
    max-height: 30rem;
    max-width: 100%;
  }


  .social img{
    filter: invert();
    width: 3%;
    display: none;
  }
}

@media (min-width:300px){
 
 
  .popup p{
    max-width: 100%;
    max-height: 15rem;
  }

}

@media (max-width:300px){

  .popup p{
    max-width: 100%;
    max-height: 100%;
    max-height: 10rem;
  }

}




/*++++++++++++++++++++++++++++++++ Responsive Ende ++++++++++++++++++++++++++++++++++++++++++*/






.leistungen{
  font-size: 3rem;
}

.outer{
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  background-color: white;
  margin-top: 5rem;
  height: 450px;
  border-radius: 5px;
}


.unknown{
  position: absolute;
  top: 60rem;
  visibility: hidden;
}



div.outer img{
  max-height: 17rem;
  min-height: 17rem;
  object-fit: cover;
}

div.inner img{
  width: 30rem;
}

.content{
  display: flex;
  margin-top: 2rem;
}


.popup{
  margin-top: 15rem;
  width: auto;
  max-width: 65rem;
}

.popup_text{
  margin-left: 1rem;
  max-width: 25rem;
}

.popup p{
width: 30rem;
}

.popup_text h2{
  text-align: left;
}


.lohner{
  width: 15rem;
  position: relative;
  left: 1rem;
  top: -3rem;
  opacity: 75%;
}

.sonstiges{
  display: flex;
  flex-direction: column;
}

.sonstiges h2{
  text-align: left;
  font-size: 3rem;
}

.anfragen{
  text-align: left;
}

.lohnerlogo{
  display: flex;
}

.pferde{
  width: 25rem;
  max-height: 20rem;
  margin-right: 5rem;
}

.pensionspferde{
  display: flex;
}

.pferdebeschreibung h3{
  margin-bottom: 2rem;
}

#pferde{
  margin-top: 5rem;
  margin-bottom: 5rem;
}

#pferde h2{
  text-align: left;
  font-size: 3rem;
}

#pferde a{
  font-size: 1.5rem;
}

.no{
  position: relative;
  bottom: 5rem;
  visibility: hidden;
}


