/* Eigene Schriften in die Website integrieren */
@font-face {
    font-family: 'comicscartoon';
    src: url('../fonts/comicscartoon.woff2') format('woff2'),
         url('../fonts/comicscartoon.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'akzidenz-grotesk_bold';
    src: url('../fonts/akzidenzgrotesk-bold.woff2') format('woff2'),
         url('../fonts/akzidenzgrotesk-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#allgemein {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
/* Mit .Klassen/Classes kann man die Gestaltung der Website stark verbessern */

.eins, .zwei, .drei, .vier {
  height: 100vh;
}

/* Landingpage Hintergrundbilder */
.eins {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../main_images/hintergrund/tern_marsh.png") fixed center/cover;
}

.zwei {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../main_images/hintergrund/hourglass_fort.png") fixed center/cover;
}

.drei {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../main_images/hintergrund/wodsgink.png") fixed center/cover;
}

.vier {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../main_images/hintergrund/willow_palace.png") fixed center/cover;
}
/* Die Display/Darstellungsfunktion flex ist für flexible Websitenlayouts sehr wichtig */
/* Bei klicken auf Landingpage Text wird diese Slide/Schieber Funktion ausgelöst */ 
.flex-schieber {
  -webkit-flex: 1;
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  transition: all 0.7s ease-in-out;
}
.flex-schieber:hover > .flex-titel {
  transform: rotate(0deg);
  transition: all 0.7s ease-in-out;
}
.flex-schieber:hover > .titel-span {
  opacity: 1;
  display: block;
  transition: opacity 2s linear;
}
.flex-schieber:hover > .flex-titel:before, .flex-schieber .flex-titel:after {
  width: 100%;
  height: 100%;
}
.flex-schieber:hover > .flex-titel:before {
  border-left-color: #fff;
  border-bottom-color: #fff;
  transition: border-color 0.25s ease-out 0.5s, width 0.5s ease-in-out 0.75s, height 0.7s ease-in-out 1.1s;
}
.flex-schieber:hover > .flex-titel:after {
  border-right-color: #fff;
  border-top-color: #fff;
  transition: border-color 0.25s ease-out 0.5s, width 0.5s ease-out 0.5s, height 0.25s ease-out 0.75s;
}

.flex-schieber:hover {
  flex-grow: 3;
  transition: all 0.7s ease-in-out;
}

/* Die Landingpage Titeln */
.flex-titel {
font-family: 'akzidenz-grotesk_bold';
  font-size: 4.5vw;
  color: #fff;
  transition: all 0.7s ease-in-out;
  border: 1px solid transparent;
  padding: 5px 10px;
  position: relative;
  box-sizing: border-box;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: rotate(90deg);
}
.flex-titel:hover {
  background: rgba(0, 0, 0, 0.4);
}
.flex-titel:before, .flex-titel:after {
  position: absolute;
  content: "";
  border: 1px solid transparent;
  width: 0;
  height: 0;
}
.flex-titel:before {
  bottom: 0;
  right: 0;
}
.flex-titel:after {
  top: 0;
  left: 0;
}

#no-rotate {
  transform: rotate(0deg);
}

/* Verschiedene Absatzformate */
h1 {
    max-width: 60vw;
	font-size: 3rem;
	font-family: 'comicscartoon';
	line-height: 3.5rem;
	padding-bottom: 0;
	text-transform: uppercase;
	color: #283400;
	
}
h2 {
    max-width: 60vw;
	font-size: 1.5rem;
	padding-bottom: 3rem;
	font-family: 'akzidenz-grotesk_bold';
	line-height: 2rem;
}
h3 {
    max-width: 60vw;
	font-size: 1.5rem;
	padding-bottom: 3rem;
	font-family: 'akzidenz-grotesk_bold';
	line-height: 2rem;
	padding: 1rem;
	color: #553a0f;
}

a {
  text-decoration: none;
}
i {
  font-size: 0.9rem;
    line-height: 0.8em;
}

/* Weisser Schliessen Button */
.schliessen-btn {
  font-family: 'akzidenz-grotesk_bold';
  display: none;
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 100;
  color: #fff;
  font-size: 30px;
  border: 1px solid #fff;
  font-weight: bold;
  padding: 3px 7px;
  transition: all 0.5s ease-in-out;
}

.schliessen-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

/* Inhalt */
.oeffne_inhalt_eins, .oeffne_inhalt_zwei, .oeffne_inhalt_drei, .oeffne_inhalt_vier {
  display: none;
}
img {
    padding-bottom: 10px;
}
/* Für Id Attributen benutzt man das Hashtag Zeichen */
#allgemein_inhalt {
  display: none;
  width: 100%;
  height: auto;
  min-height: 100vh;
  overflow: hidden;
  background: #bf9666;
  justify-content: center;
}

#active {
  display: flex;
  flex-direction: column;
}

.oeffne_titel {
  margin-top: 40px;
  margin-left: 40px;
  font: 5rem/5.2rem serif;
  color: #283400;
}

.oeffne_info {
  width: 70%;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 40px;
}
/* Lightbox Gestaltung */

.lightbox {
  /* Lightbox Bild wird ausgeblendet/versteckt */
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
/* Lightbox Bilder */
.lightbox img {
  max-width: 95%;
  max-height: 95%;
  margin-top: 2%;
}
.lightbox:target {
  /* Lightbox zeigen */
  display: block;
}
/* Lightbox schliessen Button */
.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3em;
  color: #fff;
  text-decoration: none;
}

/* Entstehung Figuren Slideshow */
 .mySlides {display: none}
      img {vertical-align: middle;}
      .slideshow-container {
      max-width: 1000px;
      position: relative;
      display: flex;
      justify-content: center;
      }
/* Weiter- und Zurück-Tasten */
	.prev, .next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      width: auto;
      padding: 16px;
      margin-top: -22px;
      color: #95b73c;
      font-weight: bold;
      font-size: 30px;
      transition: 0.6s ease;
      user-select: none;
      }
      /* Einblendbare Animation */
      .fade {
      -webkit-animation-name: fade;
      -webkit-animation-duration: 1.5s;
      animation-name: fade;
      animation-duration: 1.5s;
      }
      @-webkit-keyframes fade {
      from {opacity: .4} 
      to {opacity: 1}
      }
      @keyframes fade {
      from {opacity: .4} 
      to {opacity: 1}
      }
/* Die Gestaltung des Spielbuttons*/
button {
  display: block;
  margin: 25px auto;
  width: 20rem;
  height: 10rem;
  background-color: #283400;
  border-color: #95b73c;
  color: white;
  cursor: pointer;
  border-radius: 20px;
  transition: all .3s linear;
  font-size: 30px;
	border-width: 20px;
}
button:hover{
  background-color: #553a0f;
  transform: scale(1.1)
}


fieldset {
	border: medium none !important;
	margin: 0 0 10px;
	min-width: 100%;
	padding: 0;
	width: 100%;
}
/* Die Gestaltung des Formulars */

form, input, select, textarea {
	padding:0.5rem;
	font-size:1.2rem;
    font-family: 'akzidenz-grotesk_bold';
    border:1px solid black;
    border-radius: 0.3rem;
    margin:0.5rem 0rem;
	width:100%;
	overflow: hidden;
}
form {
color: #553a0f;
}
::placeholder {
    color: #fff;
}
input, select, textarea{
background-color: #95b73c;
    color: #fff;
}

input[type=color]{
    width:5rem;
    height:3rem;
}
input[type=submit]{
	padding:0.5rem 2rem;
    height:3rem;
    cursor:pointer;
    transition: 0.5s ease-in-out color;
}
input[type=submit]:hover{
    background: #283400;
    color:white;
    transition: 0.3s ease-in-out color;
}
/* @media ist für rensponsive/Mobiltauglichkeit sehr wichtig */

@media (max-width: 1000px) {
 #head{
     height: auto;
     flex-direction: column;
   }
   .flex-schieber{
     width: 100%;
     flex: 1;
     flex-direction: column;
       overflow:hidden;
   }
	h1 {
    max-width: 100%;
	font-size: 1.5rem;
	font-family: 'comicscartoon';
	line-height: 2rem;
	padding-bottom: 0;
	text-transform: uppercase;
	
}
	h3 {
    max-width: 100%;
	font-size: 1rem;
    font-family: 'akzidenz-grotesk_bold';
	line-height: 1.5rem;
	padding: 0;
}
	.flex-titel {
font-family: 'akzidenz-grotesk_bold';
  font-size: 5vw;
	text-transform: none;

}
	button {
  width: 70vw;
  height: 15vh;
  font-size: 20px;
}
	img {
		padding: 10px;
width: 100%;
}
    .lightbox img {
margin-top: 5rem;
        overflow:hidden;
}
}