@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: "Avenir", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6em;
  box-sizing: border-box;
  background-color: rgba(230, 227, 215, 0.35);
}


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

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



h1 {
  font-size: 2.5em;
  font-weight: medium;
  text-align: center;
  margin-bottom: 3em !important;
  letter-spacing: 0.1em;
  line-height: 1.2em;
}

h2,h3,h4,h5,h6 {
  text-align: center;
  font-weight: medium;
  margin-bottom: 1.6em !important;
}


li, p, a {
  list-style: none;
  text-decoration: none;
}

p {
  font-size: 1.1em;
  margin-bottom: 1.1em;
}

a {
  color:#827b65 !important;
  line-height: inherit;
}

a:hover {
  color:#00dcbf !important}



.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

blockquote {
  margin: 0 0 1em;
  padding: 0.5625em 1.25em 0 1.1875em;
  border-left: 1px solid #cacaca;
  line-height: 1.6;
  color: #8a8a8a;
}


hr {
  max-width: 75em;
  height: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid #cacaca;
  border-left: 0;
  margin: 1.25em auto;
  clear: both;
}

.left {
  float: left;
}

.right {
  float: right;
}


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

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

.wrapper, .home {
  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;
}

/* ----- Columns ----- */

.auto-columns-2 {
  -webkit-column-count: 3; /* Old Chrome, Safari and Opera */
  -moz-column-count: 3; /* Old Firefox */
  column-count: 3;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-left: -1em;
  margin-right: -1em;
}

.column {
  flex: 0 1 100%;
  margin-left: 1em;
  margin-right: 1em;
  max-width: 100%;
}

@media (min-width: 700px) {
  .column {
    flex: 1;
  }
}


audio::-webkit-media-controls-volume-slider-container {
    background-color: #95B9C7;
}

/* ----- Medien ----- */

img {
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
  display: inline-block;
  vertical-align: middle;
  margin-top: 2em;
  margin-bottom: 3em;
}

a img {
    border: 0;
}  

.flex-video {
  position: relative;
  height: 0;
  padding-bottom: 75%;
  margin-bottom: 1em;
  overflow: hidden; }
  .flex-video iframe,
  .flex-video object,
  .flex-video embed,
  .flex-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }
  .flex-video.widescreen {
    padding-bottom: 56.25%; }
  .flex-video.vimeo {
    padding-top: 0; }

iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em;
}

audio {
  margin-top: 2em;
  width:80%;
  margin-left:10%;
  margin-right:10%;
}

/* --------- Datum ------ */

time {
  margin-top: 5em;
  margin-right: 0.7em;
}

.date {
  text-align: right;
  margin-top: 3em;
  margin-right: 0.7em;
  font-weight: normal;
  font-size: 0.8em;
  color: rgba(130, 123, 101, 0.62) !important;
}

/* ------ Pagination ------ */

.pagination .left {
  float: left;
  margin-left: -130px;
  padding-left: 20px;
  }

.pagination .right {
  float: right !important;
  margin-right: -90px;
  padding-right: 20px;
  }

.badge {
  position: fixed;
  top: 50%;
  display: block;
  padding-top: 0.25em;
  padding-bottom: 0;
  padding-left: 0; padding-right: 0;
  width: 2em;
  height: 2em;
  vertical-align: middle;
  font-size: 1.3em;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(129, 190, 52, 0.3);
}

.badge a:hover {
  background-color: rgb(249, 224, 20) !important;
}





/* -------- Tags ------ */

.tag a:hover {
  background-color: rgb(249, 224, 20);
}

.tag a{
  padding: 0.5em;
  background-color: rgba(129, 190, 52, 0.3);
  line-height: 1.3em;
  display: inline-block;
  margin-top: 0.3em;
  margin-right: 0.3em;
}

#tags {
  margin-left: 3em !important;
  margin-right: 3em !important;
  margin-bottom: 2em;
}

/* ----- Back to top ----- */

#scroll {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: block;
  padding-top: 0.25em;
  padding-bottom: 0;
  padding-left: 0; padding-right: 0;
  width: 2em;
  height: 2em;
  vertical-align: middle;
  font-size: 1.3em;
  text-align: center;
  border-radius: 50%;
  background: rgba(125, 121, 109, 0.35);
}



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


@media screen and (max-width: 64em) {

  /* ---- Pagination Klein */

  .pagination {
    float: right;
    margin-right: 1em;
  }

  .pagination .right {
    margin-right: 22px;
    margin-left: 0.5em;
    }

  .pagination .left {
    margin-left: 0px;
  padding-left: 0px;
    margin-right: 50px;
    }

  .badge {
    position: absolute;
    display: inline-block;
    top: 1em;
   }
}

@media screen and (max-width: 40em) {

  label {
    position: absolute !important;
  }

  h1{
    font-size: 1.5em;
    text-align: left;
  }
  
  h2 {
  	font-size:  1em;;
    text-align: left;
  }

main {
  padding: 5em 1em 3em 1em;
}


p, a, .text-center
{
	font-size: 90%;
	line-height: 1.5em;
}

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

}

}

@media screen and (min-width: 43.75em) {

main {
  padding: 5em 2em 3em 2em;
}

}

/* ----- 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(129, 190, 52, 0.3);
}


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: rgb(249, 224, 20);
}

.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;
}

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

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

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

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

.active {
  background-color: #2d5710;
}

.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 li:nth-last-child(2)
{
	margin-top: 8em !important;
}


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