@font-face {
  font-family: Century Gothic;
  src: url('../../fonts/centurygothic.ttf') format('ttf'),
       url('../../fonts/centurygothic.woff') format('woff');
}

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

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


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

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

/* h1 Ohne Eingangsbutton 

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

*/

h1 {
  font-size: 1.8em;
  font-weight: normal;
  text-align:right;
  margin-bottom: 6em;
  margin-top: 0.6em;
  margin-right: 0.5em;
  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);
}

/* Für Logo allein

.emblem {
	border-radius: 50% !important;
  	width: 250px;
  	hight: 250px;
}

*/

/* Einfacher Bildwechsel */

 
 #emblem {
    display: block;
    height: 100%;
    padding-right: 250px;
    margin: auto;
    border-radius: 50%;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    width: 250px;
    height: 250px;
}

#emblem img {
  position:absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  transition: opacity 0.8s linear;
}

@media screen and (min-width: 400px) {
	#emblem img {
		top: calc(50vh - 125px);
  		left: calc(50vw - 125px);
	}
}

#emblem img.top:hover {
  border-radius:50%;
  opacity:0;
} 


.home {
	text-align: center;
}

/* Wenn der Eintritt über einen Textlink geschieht

.enter {
	margin: 2.2em 0 2em 0;
	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);
}


/* menu angepasst */

.off-canvas-menu {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
}

.off-canvas-menu .menu-bottom {
	padding-bottom: 20px; 
}

.off-canvas-menu .menu-bottom a {
	font-size: .8em;
	padding: 0 20px;
}





/* 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: white;
}

.home .enter a {
	color: white !important;
}

