font-face {
  font-family: Avenir;
  src: url('../../fonts/AvenirLTProHeavy.otf') format('otf'),
       url('../../fonts/AvenirLTProOblique.otf') format('otf'),
       url('../../fonts/AvenirLTProRoman.otf') format('woff');
}

* {
    font-family: 'Avenir', sans-serif;
}

body {
  overflow-x: hidden;
  font-family: "AvenirLTProHeavy", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6em;
  box-sizing: border-box;
}


*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ----- Typo ----- */

.home {
  text-align: center;
}

#intro {
 display: inline-block;
 position: relative;
 top: 12em;
 padding: 4em;
 margin: auto;
 border-radius: 100px;
 background: rgba(255, 255, 255, 0.7);

}

h1 {
  font-size: 3em;
  text-align: center;
  margin-bottom: 0.2em;
  letter-spacing: 0.15em;
  line-height: 1.2em; 
}



p {
  font-size: 1.2em;
  line-height: 1.5em;
  text-align: left;
  width: 50%;
  margin: 2em auto 1em auto;
  padding: 1.2em;
  background-color: rgba(255, 255, 255, 0.5);
}


.enter {
	font-size: 1.5em;
}



/* ----- Hauptayout -----*/

.page {
  position: relative;
  height: 100%;
}

.wrapper {
  position: relative;
  margin: 0 auto;
  transition: 0.8s;
  -webkit-backface-visibility: hidden;
  min-height: 100vh !important;
  max-width: 60em;
  margin-left: auto;
  margin-right: auto;

}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}



/* ----- Media Queries ----*/


@media screen and (max-width: 40em) {
 
.home h1{
    font-size: 2em !important;
  }
  
  .enter {
  	font-size:  1.2em;
  }
  
  p {
  	font-size: 90%;
  	width:  80%;
  }
	
  label {
    top: 20px;
  }

  .off-canvas-menu a {
    padding: 0px 20px !important;
  }

}


/* ----- Off-Canvas Menu —————————————————————————————————————————— */

input#off-canvas-menu {
  display: none;
}

label.off-canvas-menu-label {
  position: fixed;
  padding: 0.25em 0 0 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  vertical-align: middle;
  font-size: 1.3em;
  text-align: center;
  color: #fff;
  cursor: pointer;
  top: 18px;
  left: 18px;
  z-index: 999;
  background: rgba(125, 121, 109, 0.20);
}


input#off-canvas-menu[type=checkbox]:checked ~ label.off-canvas-menu-label {
  transform: rotate(90deg);
}

input#off-canvas-menu[type=checkbox]:checked ~ nav.off-canvas-menu {
  transform: translateX(0);
}

input#off-canvas-menu[type=checkbox]:checked ~ .wrapper {
  transform: translateX(300px);
}

input#off-canvas-menu[type=checkbox]:checked ~ .overlay {
  height: 100%;
  opacity: 1;
}

nav li,
label.off-canvas-menu-label {
  transition: 0.2s;
}



nav li:hover,
label.off-canvas-menu-label:hover,
input#off-canvas-menu[type=checkbox]:checked ~ label.off-canvas-menu-label {
  background: rgba(125, 121, 109, 0.35);
}

.off-canvas-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100% !important;
  background: #111;
  font-size: 16px;
  transform: translateX(-100%);
  -webkit-backface-visibility: hidden;
  transition: 0.5s;
  z-index: 2;
}

.off-canvas-menu input[type=checkbox] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
	display: block;
  cursor: pointer;
}

.off-canvas-menu ul {
 	margin: 0;
  	padding: 0;
  	display: flex;
	flex-direction: column;
  	height: calc(100% - 100px);
}

.off-canvas-menu > ul {
  margin-top: 100px;
}

.off-canvas-menu a {
  display: block;
  padding: 5px 20px;
  color:  #adb167;
  text-decoration: none;
}

.home-link {
  background-color: none;
}

.off-canvas-menu .active > a {
    background: none !important; 
}

.active {
  background-color: #09212b;
}

.off-canvas-menu li {
  position: relative;
  float: left;
  width: 100%;
  list-style: none;
  color: #fff;
  transition: 0.5s;
}

nav li:last-child,
nav li:nth-last-child(2)
{
	font-size: .8em;
	background: none !important;
}


nav ul li:nth-last-child(2){
  margin-top: auto;
  margin-bottom: -15px;
}

@media screen and (max-width: 40em) {
	nav ul li:nth-last-child(2){
  margin-top: auto;
  margin-bottom: -0.5px;
}
nav ul li:nth-last-child(1){
padding-bottom: 20px;  
}

}

.off-canvas-menu input[type=checkbox]:checked ~ a:after {
  transform: rotate(45deg);
}




/* zufallsbild */


.zufallsbild {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: -1;
}

.zufallsbild img {
	height: 100%;
	width: 100%;
	object-fit: cover;	
}

.home h1 {
	color:   #49640a;
}

.home .enter a {
	color:   #49640a !important;
}

