/** Dschungel-CSS **/
:root {
  --text-farbe: #002154;
  --primaerfarbe: #55bedb;
  --text_auf_primaerfarbe: #fff;
  --hintergrund-farbe: #daa76f;
  --hintergrund-farbe-hell: #ffdeb5;
}

@font-face {
  font-family: "TheMix";
  font-style: normal;
  font-weight: 300;
  src: url("../staticsites-assets/TheMixC5-3_Light.woff2") format("woff2");
}
@font-face {
  font-family: "TheMix";
  font-style: normal;
  font-weight: 400;
  src: url("../staticsites-assets/TheMixC5-4_SemiLight.woff2") format("woff2");
}
@font-face {
  font-family: "TheMix";
  font-style: normal;
  font-weight: 500;
  src: url("../staticsites-assets/TheMixC5-5_Plain.woff2") format("woff2");
}
@font-face {
  font-family: "TheMix";
  font-style: normal;
  font-weight: 600;
  src: url("../staticsites-assets/TheMixC5-6_SemiBold.woff2") format("woff2");
}

/*################### Typografie ##################*/
html {
  font-size: 15px;
}

body,
button,
input,
select,
textarea {
  font-family: "TheMix";
  color: var(--text-farbe);
}
body {
  background-color: #a5c717;
  background: url(../staticsites-img/background-erde.jpg) no-repeat center
    center;
  height: 100vh;
}
h1,
h2,
h3,
h4 {
  text-transform: uppercase;
  font-weight: 600;
}
h1,
h2,
h3,
h4,
p {
  text-align: center;
  font-family: "TheMix";
  color: var(--text-farbe);
}
h1 {
  font-size: 3rem;
  margin: 0.8em 0;
}
h1.startseite-titel {
  font-size: 5rem;
  margin-top: 0.2em;
  color: var(--text_auf_primaerfarbe);
}
h2 {
  font-size: 2.25rem;
}
h3 {
  font-size: 1.875rem;
  margin: 0.5em 0;
}
h4 {
  font-size: 1.313rem;
  margin: 0.5em 0;
}
p {
  font-size: 1.25rem;
  font-family: "TheMix";
  font-weight: 400;
}
a {
  color: var(--text-farbe);
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--primaerfarbe);
}
.resetbutton {
  z-index: 100;
  position: absolute;
}


/*################### Allgemein ##################*/
section {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
section.startscreen {
  background: url(../staticsites-img/dschungel-background.png) no-repeat center center;
}
.tafel {
  background: url(../staticsites-img/bambustafel.png) no-repeat top center;
  background-size: 100% 100%;
  width: 775px;
  height: 627px;
  padding: 55px;
  margin: 4rem auto;
  transform: rotate(-2deg);
}
.tafel__text {
  overflow-x: hidden;
  overflow-y: scroll;
  height: 90%;
  margin: 5% 0;
}



/* Einfach ein BUTTON in Datenschutz */
.app-button {
  padding: 8px 10px;
  border-width: 0;
  background-color: #76a71f;
  color: white;
  font-weight: 500;
  cursor: pointer;
}
.app-button:hover, .app-button:active, .app-button:focus {
  background-color: #55771a;
}


.blatt_1,
.blatt_2,
.blatt_3,
.blatt_4,
.blatt_5,
.blatt_6,
.blatt_7,
.blatt_8,
.blatt_9,
.blatt_10,
.blatt_11,
.blatt_12 {
  position: absolute;
  display: inline-block;
}
.blatt_1 {
  width: 350px;
  z-index: 11;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(-15deg);
  left: -280px;
  top: -100px;
}
.blatt_2 {
  width: 300px;
  z-index: 10;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(20deg);
  left: -170px;
  top: 150px;
}
.blatt_3 {
  width: 350px;
  z-index: 9;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(10deg) scaleX(-1);
  left: -300px;
  bottom: 150px;
}
.blatt_4 {
  width: 400px;
  z-index: 10;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(50deg) scaleX(-1);
  left: -290px;
  bottom: -100px;
}

.blatt_5 {
  width: 350px;
  z-index: 10;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(0deg);
  left: 500px;
  bottom: -415px;
}
.blatt_6 {
  width: 350px;
  z-index: 12;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(-15deg) scaleX(-1);
  right: 300px;
  bottom: -222px;
}
.blatt_7 {
  width: 400px;
  z-index: 10;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(-35deg);
  right: -320px;
  bottom: -80px;
}
.blatt_8 {
  width: 350px;
  z-index: 9;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(-15deg);
  right: -280px;
  bottom: 150px;
}
.blatt_9 {
  width: 350px;
  z-index: 8;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(-25deg) scaleX(-1);
  right: -250px;
  top: 150px;
}
.blatt_10 {
  width: 350px;
  z-index: 10;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(20deg) scaleX(-1);
  right: -170px;
  top: -50px;
}
.blatt_11 {
  width: 350px;
  z-index: 10;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(75deg);
  right: 250px;
  top: -222px;
}
.blatt_12 {
  width: 400px;
  z-index: 10;
  filter: drop-shadow(6px 6px 5px black);
  transform: rotate(55deg) scaleX(-1);
  left: 18px;
  top: -190px;
}
.swr-logo {
  width: 150px;
  position: absolute;
  z-index: 100;
  display: inline-block;
  right: 1rem;
  top: 1rem;
}
.my_coin {
  background: url(../staticsites-img/coin.png) no-repeat center center;
  background-size: cover;
  width: 60px;
  height: 50px;
  padding-top: 10px;
  text-align: center;
  font-size: 2rem;
  color: var(--text-farbe);
  font-weight: 600;
  position: absolute;
  z-index: 100;
  display: inline-block;
  left: 1rem;
  top: 1rem;
  filter: drop-shadow(2px 4px 5px black);
}
.info-button {

  width: 60px;
  height: 60px;
  position: absolute;
  z-index: 100;
  display: inline-block;
  bottom: 1rem;
}
.datenschutz {
  right: 5.5rem;
  background-image: url(../staticsites-img/button-datenschutz.svg);
}
.spielinformationen {
  right: 1rem;
  background-image: url(../staticsites-img/button-impressum.svg);
}
.back-button {
  background-image: url(../staticsites-img/button-prev.svg);
  border-width: 0;
  background-color: transparent;
  width: 60px;
  height: 60px;
  position: absolute;
  z-index: 100;
  display: inline-block;
  bottom: 1rem;
  left: 1rem;
  cursor: pointer;
}
.back-button:hover, .back-button:focus, .back-button:active {
  color: var(--primaerfarbe);
}

/*################### Startseite ##################*/
.startseite-inhalt {
  z-index: 100;
  position: absolute;
  width: 100%;
}
.swr-logo-startseite {
  max-width: 150px;
  margin: auto;
}
.startseite-header{
  background: linear-gradient(180deg, rgba(0,0,0,0.502007492450105) 0%, rgba(0,0,0,0) 100%);
  padding-top: 2rem;
}


.schilder {
  background: url(../staticsites-img/stab.svg) no-repeat center center;
  height: 60vh;
  position: fixed;
  margin: auto;
  width: 100%;
  bottom: 0px;
  padding-bottom: 2rem;
}
.schilder__button {
  text-align: center;
  font-family: "TheMix";
  color: var(--text-farbe);
}
.schilder__buttonlink {
  background: url(../staticsites-img/schild-2.svg) no-repeat center center;
  padding: 25px;
  transform: rotate(-2deg);
  transition: 0.2s ease-in-out;
  display: inline-block;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}
.schilder__buttonlink:hover,
.schilder__buttonlink:focus {
  transform: rotate(-8deg) scale(1.3);
}
.schilder__button--spielstart {
  transform: scale(1.2);
}
.schilder__codeeingabe {
  background: url(../staticsites-img/schild-1.svg) no-repeat center center;
  max-width: 500px;
  margin: auto;
  padding: 5% 2%;
}
.schilder__codeeingabe > div {
  margin: auto;
  width: 85%;
}
.schilder__codeeingabe h3 {
  margin-top: 0;
}
.schilder__codeeingabe .js-codeinput {
  width: 80%;
  margin: auto;
  display: block;
}
input[type="number"] {
  font-size: 2rem;
  color: var(--text-farbe);
  font-weight: 600;
  padding: 10px;
  border: 2px solid #555;
  box-sizing: border-box;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  outline: none;
}
input[type="number"]:focus {
  border: 2px solid var(--primaerfarbe);
}

.tier_1,
.tier_2,
.tier_3,
.tier_4,
.tier_5,
.tier_6,
.tier_7,
.tier_8,
.tier_9,
.startseite-blatt_1,
.startseite-blatt_2,
.startseite-blatt_3,
.startseite-blatt_4,
.startseite-blatt_5,
.startseite-blatt_6,
.startseite-blatt_7,
.startseite-blatt_8,
.startseite-blatt_9,
.startseite-blatt_10,
.startseite-blatt_11,
.startseite-blatt_12 {
  position: absolute;
  display: inline-block;
}
.tier_1 {
  width: 250px;
  z-index: 10;
  left: 0;
  top: 30px;
}
.tier_2 {
  width: 500px;
  z-index: 9;
  left: 0;
  top: 50px;
}
.tier_3 {
  width: 550px;
  z-index: 10;
  left: -250px;
  bottom: -100px;
}
.tier_4 {
  width: 300px;
  z-index: 12;
  left: -50px;
  bottom: -150px;
}
.tier_5 {
  width: 300px;
  z-index: 11;
  transform: scaleX(-1);
  right: -50px;
  top: 0;
}
.tier_6 {
  width: 350px;
  z-index: 8;
  transform: rotate(10deg) scaleX(-1);
  right: -50px;
  top: 150px;
}
.tier_7 {
  width: 700px;
  z-index: 10;
  transform: rotate(10deg);
  right: -250px;
  bottom: -100px;
}
.tier_8 {
  width: 400px;
  z-index: 10;
  right: 30%;
  bottom: -380px;
}
.tier_9 {
  width: 800px;
  z-index: 10;
  transform: rotate(-20deg);
  right: -20%;
  top: -100px;
}
.startseite-blatt_1 {
  width: 450px;
  z-index: 8;
  transform: rotate(35deg) scaleX(-1);
  left: -50px;
  top: -50px;
}
.startseite-blatt_2 {
  width: 300px;
  z-index: 6;
  transform: rotate(35deg);
  left: -50px;
  top: 250px;
}
.startseite-blatt_3 {
  width: 350px;
  z-index: 7;
  transform: rotate(-15deg) scaleX(-1);
  left: -100px;
  bottom: 100px;
}
.startseite-blatt_4 {
  width: 400px;
  z-index: 10;
  transform: rotate(25deg) scaleX(-1);
  left: -50px;
  bottom: -120px;
}
.startseite-blatt_5 {
  width: 350px;
  z-index: 7;
  transform: rotate(0deg);
  left: 300px;
  bottom: -400px;
}
.startseite-blatt_6 {
  width: 350px;
  z-index: 6;
  transform: rotate(-15deg) scaleX(-1);
  right: 250px;
  bottom: -200px;
}
.startseite-blatt_7 {
  width: 450px;
  z-index: 4;
  transform: rotate(15deg) scaleX(-1);
  right: -50px;
  bottom: -110px;
}
.startseite-blatt_8 {
  width: 450px;
  z-index: 4;
  transform: rotate(5deg);
  right: 0px;
  bottom: 150px;
}
.startseite-blatt_9 {
  width: 400px;
  z-index: 4;
  transform: rotate(5deg) scaleX(-1);
  right: 0;
  top: 150px;
}
.startseite-blatt_10 {
  width: 400px;
  z-index: 4;
  transform: rotate(-55deg) scaleX(-1);
  right: -50px;
  top: -50px;
}
.startseite-blatt_11 {
  width: 350px;
  z-index: 8;
  transform: rotate(-75deg) scaleX(-1);
  right: 250px;
  top: -150px;
}
.startseite-blatt_12 {
  width: 400px;
  z-index: 8;
  transform: rotate(55deg) scaleX(-1);
  left: 250px;
  top: -150px;
}
/*################### Sections ##################*/
.section__container {
  display: flex;
  gap: 1rem;

  position: absolute;
  bottom: 190px;
  width: 80%;
  left: 10%;
}
.section {
  background-color: var(--primaerfarbe);
  width: calc(calc(100% - 4rem) / 5);
  position: relative;
}
.section:before {
  content: "";
	float: left;
	padding-top: 100%;
}


@keyframes tonianimation2 {
  0%, 80%, 95%, 100% {
    transform: scale(1.22) rotate(3deg);
  }
  90% {
    transform: scale(1.22) rotate(5deg);
  }
}
.section--open {
  cursor: pointer;
	animation: tonianimation2 7s infinite;
}
.section--open:hover {
  opacity: 0.8;
}

@keyframes tonianimation {
  0% {
    background-position: 0 0;
  }
  70% {
    /* Mund */
    background-position: -136px 0;
  }
  75% {
    /* Arme */
    background-position: -272px 0;
  }
  80% {
    /* Zeigen */
    background-position: -408px 0;
  }
  90% {
    /* Arme */
    background-position: -272px 0;
  }
  95% {
    /* Mund */
    background-position: -136px 0;
  }
}
/* Animierte Toni, die auf Section-Tafel zeigt */
.section__tonianimation {
  display: none;
}
.section--open .section__tonianimation {
  display: block;
  position: absolute;
  top: -111px;
  left: 0px;
  width: 136px;
  height: 145px;
  /* Verhältnis Gesamtbild: 2172x632 */
  background-image: url(../staticsites-img/toni-animation.svg);
  background-size: 400%;
  animation: tonianimation 7s step-end infinite;
}


.section--open,
.section--closed {
  background-color: var(--hintergrund-farbe);
}
.section--closed {
  opacity: 0.6;
}
.section__coin {
  background: url(../staticsites-img/coin.png) no-repeat center center;
  background-size: cover;
  width: 50px;
  height: 45px;
  padding-top: 5px;
  text-align: center;
  font-size: 30px;
  line-height: 43px;
  color: var(--text-farbe);
  font-weight: 600;
  display: none;
  filter: drop-shadow(2px 4px 5px black);
  position: absolute;
  bottom: -20%;
  right: 5%;
}
.section__coin--hascoins {
  display: block;
}
.section__coin--open {
  background: url(../staticsites-img/lock-open.svg) no-repeat center center;
  background-size: cover;
  display: block;
}
.section__coin--closed {
  background: url(../staticsites-img/lock-closed.svg) no-repeat center center;
  background-size: cover;
  display: block;
}

.gamecode__text {
  max-width: 600px;
  margin: 0 auto 15px auto;
}
.gamecode {
  display: block;
  font-weight: bold;
  text-align: center;
  font-size: 1.4em;
}
.gamecode__part {
  margin-right: 5px;
}

#section_intro {
  background-image: url(../staticsites-img/tiere_affe.svg);
  background-size: contain;
  background-position: -10px 40px;
  background-repeat: no-repeat;
}
#section_fernsehen {
  background-image: url(../staticsites-img/tiere_nashorn.svg);
  background-size: contain;
  background-position: -10px 40px;
  background-repeat: no-repeat;
}
#section_swr-hoerfunk {
  background-image: url(../staticsites-img/tiere_faultier.svg);
  background-size: contain;
  background-position: -10px 40px;
  background-repeat: no-repeat;
}
#section_swr-online {
  background-image: url(../staticsites-img/tiere_chamaeleon.svg);  
  background-size: contain;
  background-position: -10px 65px;
  background-repeat: no-repeat;
}
#section_outro {
  background-image: url(../staticsites-img/tiere_elefant.svg);
  background-size: contain;
  background-position: 6px 50px;
  background-repeat: no-repeat;
}
