/* montserrat-regular - latin */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/montserrat-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-500 - latin */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('../fonts/montserrat-v15-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-500italic - latin */
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 500;
  src: local(''),
       url('../fonts/montserrat-v15-latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-600 - latin */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  src: local(''),
       url('../fonts/montserrat-v15-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-600italic - latin */
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 600;
  src: local(''),
       url('../fonts/montserrat-v15-latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-700 - latin */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/montserrat-v15-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-700italic - latin */
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 700;
  src: local(''),
       url('../fonts/montserrat-v15-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-800 - latin */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 800;
  src: local(''),
       url('../fonts/montserrat-v15-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-900 - latin */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 900;
  src: local(''),
       url('../fonts/montserrat-v15-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-v15-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* montserrat-subrayada-regular - latin */
@font-face {
  font-family: Montserrat-Subrayada;
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/montserrat-subrayada-v10-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-subrayada-v10-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-subrayada-700 - latin */
@font-face {
  font-family: Montserrat-Subrayada;
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/montserrat-subrayada-v10-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/montserrat-subrayada-v10-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* alfa-slab-one-regular - latin */
@font-face {
  font-family: LemonMilklight;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/LemonMilk.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-family: LemonMilk;
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/LemonMilk.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
html, body {
    font: 1rem Montserrat, sans-serif;
}
a {
    text-decoration: none;
}
p {
    font-weight: 500;
}
#navchecker {
    display: none;
}
.slidetoTop {
    transform: translateY(20%);
    opacity: 0;
    transition: opacity .2s, transform 2s;
}
.getIn {
    transform: translateX(0) rotate(0) scale(1);
    opacity: 1;
}
#datenschutz {
    font-size: 1.5rem;
    text-align: center;
    display: block;
    color:  #9fbe38;
    font-family: LemonMilklight;
}
/* Anpassung Lightbox --------------------*/
		
		.lightboxOverlay {
			background-color: black;
			opacity: 0.7;
		}

/* INTRO ANIMATIONS -------------------------*/

#logomfgcontainer > div:first-of-type img:first-of-type {
  animation-name: rubberBand;
  animation-duration: 2s;
  animation-fill-mode: both;
  opacity: 0;
}
#logomfgcontainer > div:first-of-type img:nth-of-type(2) {
    -webkit-animation-name: rubberBand;
  animation-name: rubberBand;
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-delay: .5s;
  opacity: 0;
}
#logomfgcontainer > div:first-of-type img:nth-of-type(3) {
  animation-name: rubberBand;
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-delay: 1s;
  opacity: 0;
}
#logomfgcontainer > div:last-of-type {
    animation: lightSpeedIn 2s linear forwards;
    animation-delay: 2s;
    opacity: 0;
}
article:first-of-type .imgcontainer > img {
  animation-name: bounceIn;
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-delay: 4s;
  opacity: 0;
}
@keyframes rubberBand {
    0% {
    transform: scale3d(0.1, 0.1, 0.1);
    opacity: 0;
    }
    10% {
    transform: scale3d(1, 1, 1);
    opacity: 1;
    }
    30% {
    transform: scale3d(1.25, 0.75, 1);
    opacity: 1;
    }
    40% {
    transform: scale3d(0.75, 1.25, 1);
    opacity: 1;
    }
    50% {
    transform: scale3d(1.15, 0.85, 1);
    opacity: 1;
    }
    65% {
    transform: scale3d(.95, 1.05, 1);
    opacity: 1;
    }
    75% {
    transform: scale3d(1.05, .95, 1);
    opacity: 1;
    }
    100% {
    transform: scale3d(1, 1, 1);
    opacity: 1;
    }
  }
@keyframes lightSpeedIn {
    0%, 60%, 75%, 90%, 100% {
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
    }
    60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
    }
    75% {
    transform: translate3d(10px, 0, 0);
    opacity: 1;
    }
    90% {
    transform: translate3d(-5px, 0, 0);
    opacity: 1;
    }
    100% {
    transform: none;
    opacity: 1;
    }
  }
@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, 100% {
  transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
  opacity: 0;
  transform: scale3d(.3, .3, .3);
  }
  20% {
  transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
  transform: scale3d(.9, .9, .9);
  }
  60% {
  opacity: 1;
  transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
  transform: scale3d(.97, .97, .97);
  }
  100% {
  opacity: 1;
  transform: scale3d(1, 1, 1);
  }
} 

@media screen and (min-width: 1000px) {
article {
    padding: 0 0 0 4rem;
    background: #83806d;
}
.intro {
    background: white;
    border-left: 3px solid #3f3e35;
    overflow: hidden;
    width: 100%;
    padding-left: 5%; 
    padding-right: 1%;
}
article:first-of-type .intro {
padding-left: 0;
}
.inhalt {
    height: 100%;
    width: 100%;
    padding-bottom: 4rem;
}
.h2container {
    margin: 1rem auto 4rem auto;
    position: relative;
    width: 100%;
}
.h2container h2 {
    font-size: 3rem;
    font-family: LemonMilklight;
    color: #9fbe38;
    display: inline-block;
    padding: 0.5rem 0.5rem 1rem .5rem;
    border-top: 3px solid #9fbe38;
    border-bottom: 3px solid #9fbe38;
    white-space: nowrap;
    font-variant: small-caps;
    letter-spacing: 0.5rem;
    font-weight: 500;
}
.h3container {
    position: relative;
    margin-bottom: 2rem;
}
h3 {
    font-size: 1.6rem;
    color: #125b7a;
    padding: 0.3rem;
    letter-spacing: 0.15rem;
    font-weight: 700;
}
h4 {
    font-size: 1rem;
    padding: 0.5rem 0;
    text-align: left;
    letter-spacing: 0.05rem;
}
/* nav */

header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: calc(100vh - 4rem);
    margin: 2rem 0 2rem 0;
    z-index: 5;
}
nav {
    width: 100%;
    height: 100%;
    
}
nav ul {
   list-style: none; 
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   justify-content: space-between;
   height: 100%;
}
nav li {
    width: 3rem;
    /*height: calc((100vh - 6rem)/5);*/
    /*border: 2px solid #3f3e35;*/
    border-radius: 0.5rem 0 0 0rem;
    height: 19%;
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(2px);
    /*background: #c7c5b2;*/
}
nav li:first-of-type a {
    border-top: 3px solid #3f3e35;
    display: flex;
    align-items: center;
}
nav ul li:first-of-type a {
    margin: auto;
}
nav li:nth-of-type(5) a {
    border-bottom: 3px solid #3f3e35;
}
nav li:last-of-type a {
    border-bottom: 3px solid #3f3e35;
}
.rightli {
    position: fixed;
    right: 1rem;
    bottom: 2rem;
    transform: translateX(-2px);
    border-radius: 0 0.5rem 0 0rem;
    height: 22%;
}

nav li a > div {
    /*transform: rotateZ(-90deg);
    transform-origin: 50% 50%;*/
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    display: block;
    border-radius: 0.5rem 0 0 0rem;
    
    
}

nav .rightli a > div {
    /*transform: rotateZ(90deg);
    transform-origin: 50% 50%;*/
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    display: block;
   
}
nav li a {
    display: block;
    color: black;
    text-align: center;
    margin: 0 auto;
    height: 100%;
    width: calc(100% + 4px);
    border-radius: 0.5rem 0 0 0rem;
    position: relative;
    border: 2px solid #3f3e35;
    border-radius: 0.5rem 0 0 0rem;
    display: block;
    background: #c7c5b2;
}
nav .rightli a {
    border-radius: 0 0.5rem 0 0rem;
    width: calc(100% + 2px);
}
nav li p {
    /*transform: rotateZ(-90deg);
    transform-origin: 50% 50%;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateZ(-90deg);
    transform-origin: 50% 50%;
    font-family: LemonMilk;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
}
@media screen and (max-height: 500px) {
    nav li p {
        font-size: 3vh;
        letter-spacing: normal;
    }
}
nav li a > div > div {
    height: 0.15rem;
    width: 0;
    background: none;
    transition: 0.5s;
    margin: 0 auto;
    transition: 0.5s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateZ(-90deg);
}
nav ul li a:hover, 
nav ul li a.active {
    border-right: none;
    transform: translateX(1px);
    background: white;
} 
nav ul .rightli a:hover, 
nav ul .rightli a.active {
    border-left: none;
    border-right: 2px solid #3f3e35;
    transform: translateX(-1px);
    background: white;
} 
nav ul li:hover a > div > div,
nav ul li.active a > div > div {
    width: 100%;
}

/* FIRST ARTICLE --------------------*/

article:first-of-type {
    padding-top: 2rem; 
}
article:first-of-type .intro {
    background: white;
    border-left: 3px solid #3f3e35;
    border-top: 3px solid #3f3e35;
    z-index: 4;
    position: relative;
    overflow: hidden;
}
article:first-of-type .inhalt {
}
article:first-of-type .firstspalt {
    display: flex;
    justify-content: flex-start;
    background: url("../img/background.png") top right no-repeat;
    background-size: auto 100%;
    padding-top: 5rem;
}
article:first-of-type .firstspalt #logomfgcontainer {
    flex-basis: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin-left: 5%;
}
article:first-of-type .firstspalt #logomfgcontainer > div:first-of-type {
    width: auto;
    display: flex;
    height: 10rem;
}
article:first-of-type .firstspalt #logomfgcontainer > div:first-of-type img {
    height: 100%;
    width: auto;
}
article:first-of-type .firstspalt #logomfgcontainer > div:last-of-type {
    width: 100%;
}
article:first-of-type .secondspalt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
}
article:first-of-type .secondspalt .textdiv {
    flex-basis: 60%;
    margin-left: 10%;
}
article:first-of-type .secondspalt .textdiv p {
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: 0.15rem;
    padding: 1rem;
    font-weight: 600;
}
article:first-of-type .secondspalt .textdiv p:last-of-type  {
    padding-bottom: 2rem;
}
article:first-of-type .secondspalt .imgcontainer {
    flex-basis: 40%;
    margin-right: 2%;
    transform: translateY(10%);
    margin-bottom: 3rem;
}
article:first-of-type .secondspalt .imgcontainer img {
    margin: 0 auto;
    width: 100%;
    object-fit: contain;
}
article:first-of-type .secondspalt #fjmlogo {
    height: 80%;
}
article:first-of-type .secondspalt img {
    height: 100%;
}

/* Projectdivs ---------------*/

.projectdiv {
    flex-basis: 32%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 1%;
    position: relative;
    /*background: #d4d1b6;*/
}

.projectdiv h3 {
    text-align: center;
}
.projectdiv h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}
.projectdiv figure {
    position: relative;
    z-index: 50;
}
.projectdiv figure img{
    max-width: none;
    margin: auto;
}
/* SECOND ARTICLE -----------------------------*/

article:nth-of-type(2) .inhalt {
    margin-bottom: 3rem;
    background: url("../img/blase_hakelig.png") right top no-repeat;
    background-size: 15rem auto;
}
article:nth-of-type(2) .projectscontainer {
    display: flex;
    justify-content: space-around;
    margin: 0; 
    width: 80%;
    /*background: #9fbe38;  */
}
article:nth-of-type(2) .projectdiv .textdiv {
    position: relative;
    width: 100%;
    margin: 2rem auto;
    min-height: 18rem;
}
article:nth-of-type(2) .projectdiv figure {
    border-radius: 50% 50%;
    border: 2px solid #222;
    height: 10rem;
    width: 10rem;
    position: relative;
    z-index: 20;
    background: #125b7a;
}
article:nth-of-type(2) .projectdiv figure img {
    width: 80%;
    height: 80%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
article:nth-of-type(2) .projectdiv h4 {
    min-height: 3.5rem;
}
article:nth-of-type(2) .projectdiv h3 {
    color: white;
    background: #222;
    font-size: 1.1rem;
    padding: 0.3rem;
    display: inline-block;
    margin-left: 0;
    transform: translate(0, -80%);
    position: relative;
    z-index: 40;

}
article:nth-of-type(2) .projectdiv p {
    text-align: left;
    margin-bottom: 1rem;
    word-wrap: break-word;
    padding-top: 1rem;
    border-top: 2px solid #9fbe38;
}
article:nth-of-type(2) .h3container {
    min-height: 0;
    margin-bottom: 0;
}
article:nth-of-type(2) .projectscontainer:nth-of-type(2) {
    margin-top: 0;
}
article:nth-of-type(2) .projectdiv:nth-of-type(1) {
   /* background: #9fbe38;
    color: #2a3819;*/
    order: 2;
}
article:nth-of-type(2) .projectdiv:nth-of-type(2) {
    /*background: #2a3819;
    color: #9fbe38;*/
    order: 1;
}
article:nth-of-type(2) .projectdiv:nth-of-type(3) {
    /*background: #9fbe38;
    color: #2a3819;*/
    order: 3;
}
article:nth-of-type(2) .projectscontainer figure:last-of-type {
    background: none;
    border-radius: 0 0;
    border: none;
    width: 100%;
    height: 15vw;
}
article:nth-of-type(2) .projectscontainer figure:last-of-type img {
    height: auto;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    margin: 0;
}
/* ARTICLE 3 -------------------*/
article:nth-of-type(3) .inhalt {
    background: url("../img/boxing_zitate01.png") right top no-repeat;
    background-size: 15rem auto;
}
article:nth-of-type(3) .h2container {

}
article:nth-of-type(3) .projectscontainer {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 0 auto;
    padding: 0 2%;
    width: 80%;
    flex-basis: 50%;
}
article:nth-of-type(3) .projectdiv {
    flex-direction: column;
    flex-basis: 45%;
    justify-content: flex-start;
    margin: 0;
}
article:nth-of-type(3) .projectdiv h3 {
    text-align: center;
    background: #9fbe38;
    color: white;
    /*font-variant: small-caps;*/
    position: relative;
    /*display: inline-block;*/
    font-size: 1.1rem;
    width: 100%;
    margin: 2rem auto;
}
article:nth-of-type(3) .projectdiv .textdiv {    
    order: 2;
}

article:nth-of-type(3) .projectdiv figure {
   width: 100%;
   height: 15vw;
   overflow: hidden;
   margin: 0 auto;
   order: 1;
   border: 2px solid #9fbe38;
}
article:nth-of-type(3) .projectdiv figure img {
    width: 100%;
    object-fit: cover;
}
article:nth-of-type(3) .projectdiv:first-of-type figure img {
    transform: translateY(-40%);
}
article:nth-of-type(3) .projectscontainer:last-of-type .projectdiv:nth-of-type(1) figure img {
    transform: translateY(0);
}
/* Article 4 -----------------------------*/
article:nth-of-type(4) .inhalt {
    background: url("../img/boxing_zitate03.png") right top no-repeat;
    background-size: 15rem auto;
}
article:nth-of-type(4) .portaitdiv {
    flex-direction: column;
}
article:nth-of-type(4) .portraitscontainer,
article:nth-of-type(4) .portraitscontainer2 {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    margin: 1rem auto;
}
article:nth-of-type(4) .portraitscontainer2 {
    justify-content: space-evenly;
}
.portraitdiv {
    flex-basis: 25%;
    position: relative;
    margin: 0.5rem 0;
    overflow: hidden;
}
.portraitdiv h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(180deg);
    box-shadow: 0px 2000px 0px 4000px #9fbe38;
    text-align: center;
    color: white;
    background: #9fbe38;
    backface-visibility: hidden;
    transition: 1s;
    font-size: 1.05rem;
}
.portraitdiv figure {
    width: 12rem;
    height: 12rem;
    border-radius: 50% 50%;
    margin: 2rem auto;
    overflow: hidden;
    transition: 1s;
    position: relative;
    border: 2px solid #9fbe38;
}
article:nth-of-type(4) .portraitscontainer .portraitdiv:first-of-type figure {
   background: url("../img/cathy.png") center center/cover no-repeat;
}
article:nth-of-type(4) .portraitscontainer .portraitdiv:nth-of-type(2) figure {
   background: url("../img/ellen.jpg") center center/cover no-repeat;
}
article:nth-of-type(4) .portraitscontainer .portraitdiv:last-of-type figure {
   background: url("../img/person2.jpg") center center/cover no-repeat;
}
article:nth-of-type(4) .portraitscontainer2 .portraitdiv:first-of-type figure {
  background: url("../img/jonas.jpg") center center/cover no-repeat;
}
article:nth-of-type(4) .portraitscontainer2 .portraitdiv:last-of-type figure {
  background: url("../img/person1.jpeg") center center/cover no-repeat;
}
.portraitdiv .textdiv {
    text-align: center;
    padding: 0 0.5rem;
    font-size: 0.8rem;
    width: 80%;
    margin: 0 auto;
}
.portraitdiv figure:hover {
    transform: rotateY(180deg);
}
.portraitdiv figure:hover h3 {
    backface-visibility: visible;
    transform: translate(-50%, -50%) rotateY(180deg);
}

/* CONTAINER -----------------*/
article:nth-of-type(4) .container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 3rem 0;
    padding: 0 2%;
    background: #dbdbc1;
}
article:nth-of-type(4) .container > div {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
article:nth-of-type(4) .container > div > div {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
article:nth-of-type(4) .container > div:nth-of-type(3) {
  
}
article:nth-of-type(4) .container > div:nth-of-type(2) {
    
}
article:nth-of-type(4) .container > div:nth-of-type(4) {
    
}
article:nth-of-type(4) .container > div:nth-of-type(1) {
    background: url("../img/")
}

article:nth-of-type(4) .container div p {
    padding: 1rem;
    display: inline-block;
    font-family: LemonMilk;    
    margin-right: 1rem;
    margin-bottom: 1rem;
    font-size: .9rem;
    letter-spacing: 0.3rem;
}
article:nth-of-type(4) .container div p:nth-of-type(2),
article:nth-of-type(4) .container div p:nth-of-type(4) {
    color: white;
}
article:nth-of-type(4) .container > div:nth-of-type(1) > div p {
    background: #9fbe38;
    color: black;
}
article:nth-of-type(4) .container > div:nth-of-type(2) > div p {
    background: #566425;
    color: white;
}
article:nth-of-type(4) .container > div:nth-of-type(3) > div p {
    background:  #9fbe38;
    color: black;
}
article:nth-of-type(4) .container > div:nth-of-type(4) > div p {
    background: #8c9c57;
    color:  white;
}
article:nth-of-type(4) .container > div > p {
    background: none;
    color:black;
    flex-basis: 100%; 
    font-family: Montserrat;  
    font-weight: 600;
    letter-spacing: .2rem;
}
b {
    font-weight: 900;
    color: #9fbe38;
}
/* ARTICLE 5 ---------------------------------*/
article:nth-of-type(5) .inhalt {
    background: url("../img/blase_normaal.png") right top no-repeat;
    background-size: 15rem auto;
    display: flex;
    flex-wrap: wrap;
}
article:nth-of-type(5) .h2container {
    flex-basis: 100%;
}
article:nth-of-type(5) .firstspalt {
    width: 100%;
    position: relative; 
}
article:nth-of-type(5) .formdiv {
    margin: 3rem auto;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    
}
form {
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 2% 5%;
    z-index: 1;
    background: #e5e3d1;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
form div:first-of-type {
    flex-basis: 50%;
    border-right: 2px solid #5a5951;
}
form div:last-of-type {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.formdiv h3 {
    margin-bottom: 2rem;
    background: #A0BF3A;
    color: white;
    display: inline-block;
    font-size: 1.2rem;
}
form input,
form textarea {
    background: transparent;
    margin: 1rem;
    font-size: 1.2rem;
    border: none;
    line-height: 1.3;
    color: black;
}
form input[type*="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    background: url("../img/send.png") center center/contain no-repeat;
    height: 6rem;
    width: 6rem;
    cursor: pointer;
    
}
article:nth-of-type(5) .firstspalt > p {
    margin: 2rem auto;
}
article:nth-of-type(5) p a {
    padding: 0.5rem;
}
/* Article 6th ----------------------------*/

article:nth-of-type(5) {
    padding-bottom: 2rem;
}
article:nth-of-type(5) .intro {
    border-bottom: 3px solid #3f3e35;
}
article:nth-of-type(5) .inhalt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5rem;
}
article:nth-of-type(5) .rightspalt {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
article:nth-of-type(5) .leftspalt {
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
article:nth-of-type(5) .rightspalt .impressumdiv {
        margin-bottom: 2rem;
}
article:nth-of-type(5) .rightspalt .impressumdiv {
    /*background: #e5e3d1;*/
    /*border: 2px solid #5a5951;*/
    /*border-radius: 0.5rem;*/
    /*box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;*/
    background: url("../img/credits.png") right top no-repeat;
    background-size: 40% auto;
}
article:nth-of-type(5) .rightspalt .impressumdiv p {
    margin: 1rem 0;
    font-size: 1.4rem;
    font-weight: 600;
}
article:nth-of-type(5) .leftspalt .credits {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 5% 0;
    margin-right: 10%;
}
article:nth-of-type(5) .leftspalt .credits a {
        margin: 2rem auto;
        width: 15rem;
        display: block;
}
article:nth-of-type(5) .leftspalt .credits img:first-of-type {
    width: 60%;
    margin-bottom: 2rem;
}
article:nth-of-type(5) .leftspalt .credits img:last-of-type {
    width: 100%;
}
article:nth-of-type(5) .leftspalt .credits p {
    text-align: center;
    font-size: 1.3rem;
    margin: 2rem 0;
}
}



@media screen and (min-width: 600px) and (max-width: 999px) {
    p {
    font-weight: 500;
    }
    article {
    padding: 0 0 0 0;
    background: #83806d;
    }
    .intro {
        background: white;
        border-left: none;
        overflow: hidden;
        width: 100%;
    }
    article:first-of-type .intro {
    padding-left: 0;
    }
    .inhalt {
        height: 100%;
        width: 100%;
        padding-bottom: 4rem;
    }
    .h2container {
        margin: 1rem 3% 4rem 3%;
        position: relative;
        width: 100%;
    }
    .h2container h2 {
        font-size: 3rem;
        font-family: LemonMilklight;
        color: #9fbe38;
        display: inline-block;
        padding: 0.5rem 0.5rem 1rem .5rem;
        border-top: 3px solid #9fbe38;
        border-bottom: 3px solid #9fbe38;
        white-space: nowrap;
        font-variant: small-caps;
        letter-spacing: 0.5rem;
        font-weight: 500;
        margin-left: 50%;
        transform: translateX(-50%);
    }
        .h3container {
            position: relative;
            margin-bottom: 2rem;
        }
        h3 {
            font-size: 1.6rem;
            color: #125b7a;
            padding: 0.3rem;
            letter-spacing: 0.15rem;
            font-weight: 700;
        }
        h4 {
            font-size: 1rem;
            padding: 0.5rem 0;
            text-align: left;
            letter-spacing: 0.05rem;
        }

     /* NAV with BURGER */
    label {
    display: block;
    }
    #burger-button {
        margin-bottom: 1rem;
    }
    #burger-button label {
        display: block;
        text-align: center;
        background: black;
        height: 3rem;
        width: 3rem;
        border-radius: 50% 50%;
        position: relative;
        margin: 0 auto;
        cursor: pointer;
        transition: 1s;
    }
    .burgerline {
        position: absolute;
        left: 15%;
        right: 15%;
        height: 0.2rem;
        background: white;
        transition: 0.5s;
        border-radius: 10%;
    }
    .burgerline:nth-of-type(1) {top:30%}
    .burgerline:nth-of-type(2) {top:50%; transform: translateY(-50%); }
    .burgerline:nth-of-type(3) {bottom:30%}
    .topheaddiv ul {
        list-style: none;
    }
    #burger-button label:hover {
        background: white;
        cursor: pointer;
    }
    #burger-button label:hover .burgerline {
        background: black;
    }
    #burger-button label:hover + .tricont {
        opacity: 1;
    }
    header {
        position: initial;
        width: 100%;
        margin: 0;
        padding: 1rem 0 0 0;
        background: #9fbe38;
    }
    nav {
        width: 100%;
        height: 100%;
    }
    nav ul {
        list-style: none; 
        display: block;
        height: 0;
        line-height: 0;
        opacity: 0;
        overflow: hidden;
        margin: 0;
        transition: 1s;
    }
    nav li {
        width: auto;
        background: white;
        border-bottom: none;
        border-radius: 0;
        height: auto;
        display: block;
        justify-content: center;
        align-items: center;
        transform: translateX(0);
        background: white;
        margin-bottom: 0;
        padding: 0.5rem;
        height: 0;
        opacity: 0;
        transition: .5s;
    }
    nav li:first-of-type {
        border-top: 2px solid #3f3e35;
        display: none;
        align-items: center;
    }
    nav ul li:first-of-type a {
        margin: auto;
    }
    nav li:last-of-type {
        border-bottom: 2px solid #9fbe38;
    }
    nav li > div {
        transform: rotateZ(0);
        transform-origin: 0 0;
        width: 100%;
        padding: 0;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        display: block;
        
    }
    nav li a {
        padding: 1rem;
        display: block;
        font-size: 1.5rem;
        font-weight: 300;
        color: black;
        text-align: center;
        margin: 0 auto;
        font-family: LemonMilklight;
        letter-spacing: 0.2rem;
    }
    nav li > div > div {
        display: none;
    }
    nav ul li:hover, 
    nav ul li.active {
        border-right: 2px solid #3f3e35;
        transform: translateX(0);
        background: #9fbe38;
        color: white;
    } 
    nav ul li:hover a, 
    nav ul li.active a {
        color: white;;
    }
    nav ul li:hover > div > div,
    nav ul li.active > div > div {
        width: 100%;
    }
    nav ul li:first-of-type.active a,
    nav ul li:first-of-type a:hover {
        background: none;   
    }
    /* Main Nav Checked-Burger---------------------------------------*/

    #navchecker:checked ~ ul {
        height: 12rem;
        opacity: 1;
    }
    #navchecker:checked ~ ul li {
        height: 3rem;
        opacity: 1;
    }


        /* FIRST ARTICLE --------------------*/

    article:first-of-type {
        padding-top: 0; 
    }
    article:first-of-type .intro {
        background: white;
        border-left: none;
        border-top: none;
        z-index: 4;
        position: relative;
        overflow: hidden;
    }
    article:first-of-type .inhalt {
    }
    article:first-of-type .firstspalt {
        display: flex;
        justify-content: flex-start;
        background: none;
        padding-top: 5rem;
    }
    article:first-of-type .firstspalt #logomfgcontainer {
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        margin-left: 0;
    }
    article:first-of-type .firstspalt #logomfgcontainer > div:first-of-type {
        width: auto;
        display: flex;
        height: 10rem;
    }
    article:first-of-type .firstspalt #logomfgcontainer > div:first-of-type img {
        height: 100%;
        width: auto;
    }
    article:first-of-type .firstspalt #logomfgcontainer > div:last-of-type {
        width: 100%;
    }
    article:first-of-type .secondspalt {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        margin-top: 3rem;
    }
    article:first-of-type .secondspalt .textdiv {
        margin-left: 0;
    }
    article:first-of-type .secondspalt .textdiv p {
        font-size: 1.1rem;
        line-height: 1.5;
        letter-spacing: 0.15rem;
        padding: 1rem;
        font-weight: 600;
    }
    article:first-of-type .secondspalt .textdiv p:last-of-type  {
        padding-bottom: 2rem;
    }
    article:first-of-type .secondspalt .imgcontainer {
        margin-right: 0;
        transform: translateY(10%);
        margin-bottom: 3rem;
    }
    article:first-of-type .secondspalt .imgcontainer img {
        margin: 0 auto;
        width: 70%;
        object-fit: contain;
    }
    article:first-of-type .secondspalt #fjmlogo {
        height: 80%;
    }
    article:first-of-type .secondspalt img {
        height: 100%;
    }

    /* Projectdivs ---------------*/

    .projectdiv {
        flex-basis: auto;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 1%;
        position: relative;
        /*background: #d4d1b6;*/
    }

    .projectdiv h3 {
        text-align: center;
    }
    .projectdiv h4 {
        margin-bottom: 1rem;
        font-weight: 600;
    }
    .projectdiv figure {
        position: relative;
        z-index: 50;
    }
    .projectdiv figure img{
        max-width: none;
        margin: auto;
    }
    /* SECOND ARTICLE -----------------------------*/

    article:nth-of-type(2) .inhalt {
        margin-bottom: 3rem;
    }
    article:nth-of-type(2) .projectscontainer {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin: 0; 
        width: 100%;
        /*background: #9fbe38;  */
    }
    article:nth-of-type(2) .projectdiv .textdiv {
        position: relative;
        margin: 2rem auto;
        padding: 0 2%;
    }
    article:nth-of-type(2) .projectdiv figure {
        border-radius: 50% 50%;
        border: 2px solid #222;
        height: auto;
        width: auto;
        position: relative;
        z-index: 20;
        background: #125b7a;
        width: 15rem;
    }
    article:nth-of-type(2) .projectdiv figure:first-of-type {
        display: none;
    }
    article:nth-of-type(2) .projectdiv figure img {
        width: 15rem;
        height: auto;
        margin: auto;
        position: absolute;
    }
    article:nth-of-type(2) .projectdiv h4 {
        min-height: 0;
        background: #9fbe38;
        color: black;
        display: inline-block;
        padding: 2%;
        font-family: LemonMilklight;
        letter-spacing: 0.2rem;
        font-weight: 400;
    }
    article:nth-of-type(2) .projectdiv h3 {
        color: white;
        background: #222;
        font-size: 1.1rem;
        padding: 0.3rem;
        display: inline-block;
        margin-left: 0;
        z-index: 40;
    }
    article:nth-of-type(2) .projectdiv p {
        text-align: left;
        margin-bottom: 1rem;
        word-wrap: break-word;
        padding-top: 1rem;
        border-top: 2px solid #9fbe38;
    }
    article:nth-of-type(2) .h3container {
        min-height: 0;
        margin-bottom: 0;
        width: 3rem;
        transform: rotate(-90deg);
        transform-origin: center center;
        display: none;
    }
    article:nth-of-type(2) .projectscontainer:nth-of-type(2) {
        margin-top: 0;
    }
    article:nth-of-type(2) .projectdiv:nth-of-type(1) {
    /* background: #9fbe38;
        color: #2a3819;*/
        order: 2;
    }
    article:nth-of-type(2) .projectdiv:nth-of-type(2) {
        /*background: #2a3819;
        color: #9fbe38;*/
        order: 1;
    }
    article:nth-of-type(2) .projectdiv:nth-of-type(3) {
        /*background: #9fbe38;
        color: #2a3819;*/
        order: 3;
    }
    article:nth-of-type(2) .projectscontainer figure:last-of-type {
        background: none;
        border-radius: 0 0;
        border: none;
    }
    article:nth-of-type(2) .projectscontainer figure:last-of-type img {
        height: auto;
        position: relative;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        margin: 0;
    }
    /* ARTICLE 3 -------------------*/
    article:nth-of-type(3) .h2container {

    }
    article:nth-of-type(3) .projectscontainer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 0 auto;
        padding: 0 2%;
    }
    article:nth-of-type(3) .projectdiv {
        flex-direction: column;
        justify-content: flex-start;
        margin: 3rem 0;
        width: 100%;
    }
    article:nth-of-type(3) .projectdiv .textdiv {
        position: relative;
        width: 100%;
        margin: 2rem auto;
    }
    article:nth-of-type(3) .projectdiv h3 {
        text-align: center;
        background: #9fbe38;
        color: white;
        /*font-variant: small-caps;*/
        position: relative;
        /*display: inline-block;*/
        font-size: 1.5rem;
        width: 100%;
        font-family: LemonMilklight;
        font-weight: 500;
    }
    article:nth-of-type(3) .projectdiv .textdiv {    
        order: 1;
    }

    article:nth-of-type(3) .projectdiv figure {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    order: 2;
    border: 2px solid #9fbe38;
    }
    article:nth-of-type(3) .projectdiv figure img {
        width: 100%;
        object-fit: cover;
    }
        /* ARTICLE 3 -------------------*/
    article:nth-of-type(3) .h2container {

    }
    article:nth-of-type(3) .projectscontainer {
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        margin: 0 auto;
        padding: 0 2%;
        width: 80%;
        flex-basis: 50%;
    }
    article:nth-of-type(3) .projectdiv {
        flex-direction: column;
        flex-basis: 45%;
        justify-content: flex-start;
        margin: 0;
    }

    article:nth-of-type(3) .projectdiv h3 {
        text-align: center;
        background: #9fbe38;
        color: white;
        font-size: 1.5rem;
        width: 100%;
        margin: 2rem auto;
    }
    article:nth-of-type(3) .projectdiv .textdiv {    
        order: 1;
    }

    article:nth-of-type(3) .projectdiv figure {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    order: 2;
    border: 2px solid #9fbe38;
    }
    article:nth-of-type(3) .projectdiv figure img {
        width: 100%;
        object-fit: cover;
    }
    /* Article 4 -----------------------------*/
    article:nth-of-type(4) .inhalt {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    article:nth-of-type(4) .h2container {
        flex-basis: 100%;
    }
    article:nth-of-type(4) .portaitdiv {
        flex-direction: column;
    }
    article:nth-of-type(4) .portraitscontainer,
    article:nth-of-type(4) .portraitscontainer2 {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        margin: 1rem auto;
        flex-basis: 50%;
    }
    .portraitdiv {
        position: relative;
        margin: 0.5rem 0;
    }
    .portraitdiv h3 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 4rem);
        text-align: center;
        color: white;
        background: #9fbe38;
        transition: 1s;
        font-size: 1.05rem;
        z-index: 50;
    }
    .portraitdiv figure {
        width: 12rem;
        height: 12rem;
        border-radius: 50% 50%;
        margin: 2rem auto;
        transition: 1s;
        position: relative;
        border: 2px solid #9fbe38;
    }
    article:nth-of-type(4) .portraitscontainer .portraitdiv:first-of-type figure {
    background: url("../img/cathy.png") center center/cover no-repeat;
    }
    article:nth-of-type(4) .portraitscontainer .portraitdiv:nth-of-type(2) figure {
    background: url("../img/ellen.jpg") center center/cover no-repeat;
    }
    article:nth-of-type(4) .portraitscontainer .portraitdiv:last-of-type figure {
    background: url("../img/person2.jpg") center center/cover no-repeat;
    }
    article:nth-of-type(4) .portraitscontainer2 .portraitdiv:first-of-type figure {
    background: url("../img/jonas.jpg") center center/cover no-repeat;
    }
    article:nth-of-type(4) .portraitscontainer2 .portraitdiv:last-of-type figure {
    background: url("../img/person1.jpeg") center center/cover no-repeat;
    }
    .portraitdiv .textdiv {
        text-align: center;
        padding: 0 0.5rem;
        font-size: 0.8rem;
        width: 80%;
        margin: 0 auto;
    }

    /* CONTAINER -----------------*/
    article:nth-of-type(4) .container {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin: 3rem 0;
        padding: 0 2%;
        background: #dbdbc1;
    }
    article:nth-of-type(4) .container > div {
        flex-basis: 100%;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    article:nth-of-type(4) .container > div > div {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    article:nth-of-type(4) .container > div:nth-of-type(3) {
    
    }
    article:nth-of-type(4) .container > div:nth-of-type(2) {
        
    }
    article:nth-of-type(4) .container > div:nth-of-type(4) {
        
    }
    article:nth-of-type(4) .container > div:nth-of-type(1) {
        background: url("../img/")
    }

    article:nth-of-type(4) .container div p {
        padding: 1rem;
        display: inline-block;
        font-family: LemonMilk;    
        margin-right: 1rem;
        margin-bottom: 1rem;
        font-size: .9rem;
        letter-spacing: 0.3rem;
    }
    article:nth-of-type(4) .container div p:nth-of-type(2),
    article:nth-of-type(4) .container div p:nth-of-type(4) {
        color: white;
    }
    article:nth-of-type(4) .container > div:nth-of-type(1) > div p {
        background: #9fbe38;
        color: black;
    }
    article:nth-of-type(4) .container > div:nth-of-type(2) > div p {
        background: #566425;
        color: white;
    }
    article:nth-of-type(4) .container > div:nth-of-type(3) > div p {
        background:  #9fbe38;
        color: black;
    }
    article:nth-of-type(4) .container > div:nth-of-type(4) > div p {
        background: #8c9c57;
        color:  white;
    }
    article:nth-of-type(4) .container > div > p {
        background: none;
        color:black;
        flex-basis: 100%; 
        font-family: Montserrat;  
        margin: 1rem 0;
        font-weight: 600;
        letter-spacing: .2rem;
    }
    b {
        font-weight: 900;
        color: #9fbe38;
    }
        /* Article 6th ----------------------------*/

    article:nth-of-type(5) .inhalt {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    article:nth-of-type(5) .rightspalt {
        flex-basis: 60%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        margin-bottom: 3rem;
    }
    article:nth-of-type(5) .leftspalt {
        flex-basis: 35%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }
    article:nth-of-type(5) .rightspalt .impressumdiv {
        /*background: #e5e3d1;*/
        /*border: 2px solid #5a5951;*/
        /*border-radius: 0.5rem;*/
        /*box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;*/
        background: url("../img/credits.png") right top no-repeat;
        background-size: 40% auto;
    }
    article:nth-of-type(5) .rightspalt .impressumdiv {
        margin-bottom: 2rem;
    }
    article:nth-of-type(5) .rightspalt .impressumdiv p {
        margin: 1rem 0;
        font-size: 1.4rem;
        font-weight: 600;
    }
    article:nth-of-type(5) .rightspalt .impressumdiv h3 {
        background: #9fbe38;
        color: white;
        padding: 2%;
        display: inline-block;
        margin-bottom: 3rem;
    }
    article:nth-of-type(5) .leftspalt .credits {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5% 0;
    }
    article:nth-of-type(5) .leftspalt .credits a {
        margin: 2rem auto;
        width: 15rem;
        display: block;
    }
    article:nth-of-type(5) .leftspalt .credits img:first-of-type {
        width: 50%;
    }
    article:nth-of-type(5) .leftspalt .credits img:last-of-type {
        width: 80%;
    }
    article:nth-of-type(5) .leftspalt .credits p {
        text-align: center;
        font-size: 1.3rem;
        margin: 2rem 0;
    }
    /* ARTICLE 5 ---------------------------------*/
article:nth-of-type(5) .inhalt {
    display: flex;
    flex-wrap: wrap;
}
article:nth-of-type(5) .h2container {
    flex-basis: 100%;
}
article:nth-of-type(5) .firstspalt {
    width: 100%;
    position: relative; 
}
article:nth-of-type(56) .formdiv {
    margin: 3rem auto;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    
}
form {
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 2% 5%;
    z-index: 1;
    background: #e5e3d1;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
form div:first-of-type {
    flex-basis: 50%;
    border-right: 2px solid #5a5951;
}
form div:last-of-type {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.formdiv h3 {
    margin-bottom: 2rem;
    background: #A0BF3A;
    color: white;
    display: inline-block;
    font-size: 1.2rem;
}
form input,
form textarea {
    background: transparent;
    margin: 1rem;
    font-size: 1.2rem;
    border: none;
    line-height: 1.3;
    color: black;
}
form input[type*="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    background: url("../img/send.png") center center/contain no-repeat;
    height: 6rem;
    width: 6rem;
    cursor: pointer;
    
}
article:nth-of-type(5) .firstspalt p {
    margin: 2rem auto;
}
article:nth-of-type(5) p a {
    padding: 0.5rem;
}
}


@media screen and (max-width: 599px) {
    p {
    font-weight: 500;
    }
    article {
    padding: 0 0 0 0;
    }
    .intro {
        background: white;
        border-left: none;
        overflow: hidden;
        width: 100%;
    }
    article:first-of-type .intro {
    padding-left: 0;
    }
    .inhalt {
        height: 100%;
        width: 100%;
        padding-bottom: 1rem;
    }
    .h2container {
        position: relative;
        width: 100%;
        margin: 2rem 0;
    }
    .h2container h2 {
        font-size: 2rem;
        font-family: LemonMilklight;
        color: #9fbe38;
        display: inline-block;
        padding: 0.5rem 0.5rem 1rem .5rem;
        border-top: 3px solid #9fbe38;
        border-bottom: 3px solid #9fbe38;
        white-space: nowrap;
        font-variant: small-caps;
        letter-spacing: 0.5rem;
        font-weight: 500;
        margin: auto;
        margin-left: 50%;
        transform: translateX(-50%);
    }
        .h3container {
            position: relative;
            margin-bottom: 1rem;
        }
        h3 {
            font-size: 1.6rem;
            color: #125b7a;
            padding: 0.3rem;
            letter-spacing: 0.15rem;
            font-weight: 700;
        }
        h4 {
            font-size: 1rem;
            padding: 0.5rem 0;
            text-align: left;
            letter-spacing: 0.05rem;
        }

         /* NAV with BURGER */
    label {
    display: block;
    }
    #burger-button {
        margin-bottom: 1rem;
    }
    #burger-button label {
        display: block;
        text-align: center;
        background: black;
        height: 3rem;
        width: 3rem;
        border-radius: 50% 50%;
        position: relative;
        margin: 0 auto;
        cursor: pointer;
        transition: 1s;
    }
    .burgerline {
        position: absolute;
        left: 15%;
        right: 15%;
        height: 0.2rem;
        background: white;
        transition: 0.5s;
        border-radius: 10%;
    }
    .burgerline:nth-of-type(1) {top:30%}
    .burgerline:nth-of-type(2) {top:50%; transform: translateY(-50%); }
    .burgerline:nth-of-type(3) {bottom:30%}
    .topheaddiv ul {
        list-style: none;
    }
    #burger-button label:hover {
        background: white;
        cursor: pointer;
    }
    #burger-button label:hover .burgerline {
        background: black;
    }
    #burger-button label:hover + .tricont {
        opacity: 1;
    }
    header {
        position: initial;
        width: 100%;
        margin: 0;
        padding: 1rem 0 0 0;
        background: #9fbe38;
    }
    nav {
        width: 100%;
        height: 100%;
    }
    nav ul {
        list-style: none; 
        display: block;
        height: 0;
        line-height: 0;
        opacity: 0;
        overflow: hidden;
        margin: 0;
        transition: 1s;
    }
    nav li {
        width: auto;
        background: white;
        border-bottom: none;
        border-radius: 0;
        height: auto;
        display: block;
        justify-content: center;
        align-items: center;
        transform: translateX(0);
        background: white;
        margin-bottom: 0;
        padding: 0.5rem;
        height: 0;
        opacity: 0;
        transition: .5s;
    }
    nav li:first-of-type {
        border-top: 2px solid #3f3e35;
        display: none;
        align-items: center;
    }
    nav ul li:first-of-type a {
        margin: auto;
    }
    nav li:last-of-type {
        border-bottom: 2px solid #9fbe38;
    }
    nav li > div {
        transform: rotateZ(0);
        transform-origin: 0 0;
        width: 100%;
        padding: 0;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        display: block;
        
    }
    nav li a {
        padding: 1rem;
        display: block;
        font-size: 1.5rem;
        font-weight: 300;
        color: black;
        text-align: center;
        margin: 0 auto;
        font-family: LemonMilklight;
        letter-spacing: 0.2rem;
    }
    nav li > div > div {
        display: none;
    }
    nav ul li:hover, 
    nav ul li.active {
        border-right: 2px solid #3f3e35;
        transform: translateX(0);
        background: #9fbe38;
        color: white;
    } 
    nav ul li:hover a, 
    nav ul li.active a {
        color: white;;
    }
    nav ul li:hover > div > div,
    nav ul li.active > div > div {
        width: 100%;
    }
    nav ul li:first-of-type.active a,
    nav ul li:first-of-type a:hover {
        background: none;   
    }
    /* Main Nav Checked-Burger---------------------------------------*/

    #navchecker:checked ~ ul {
        height: 12rem;
        opacity: 1;
    }
    #navchecker:checked ~ ul li {
        height: 3rem;
        opacity: 1;
    }

        /* FIRST ARTICLE --------------------*/

    article:first-of-type {
        padding-top: 0; 
    }
    article:first-of-type .intro {
        background: white;
        border-left: none;
        border-top: none;
        z-index: 4;
        position: relative;
        overflow: hidden;
    }
    article:first-of-type .inhalt {
    }
    article:first-of-type .firstspalt {
        display: flex;
        justify-content: flex-start;
        background: none;
        padding-top: 5rem;
    }
    article:first-of-type .firstspalt #logomfgcontainer {
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        margin-left: 0;
    }
    article:first-of-type .firstspalt #logomfgcontainer > div:first-of-type {
        width: 100%;
        display: flex;
        height: auto;
    }
    article:first-of-type .firstspalt #logomfgcontainer > div:first-of-type img {
        height: auto;
        width: 33%;
    }
    article:first-of-type .firstspalt #logomfgcontainer > div:last-of-type {
        width: 100%;
    }
    article:first-of-type .secondspalt {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        margin-top: 2rem;
    }
    article:first-of-type .secondspalt .textdiv {
        margin-left: 0;
    }
    article:first-of-type .secondspalt .textdiv p {
        font-size: 1rem;
        line-height: 1.5;
        letter-spacing: 0.05rem;
        padding: 1rem;
        font-weight: 600;
    }
    article:first-of-type .secondspalt .textdiv p:last-of-type  {
        padding-bottom: 2rem;
    }
    article:first-of-type .secondspalt .imgcontainer {
        margin-right: 0;
        transform: translateY(10%);
        margin-bottom: 3rem;
    }
    article:first-of-type .secondspalt .imgcontainer img {
        margin: 0 auto;
        width: 100%;
        object-fit: contain;
    }
    article:first-of-type .secondspalt #fjmlogo {
        height: 80%;
    }
    article:first-of-type .secondspalt img {
        height: 100%;
    }

    /* Projectdivs ---------------*/

    .projectdiv {
        flex-basis: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2 2%;
        position: relative;
        margin-bottom: 2rem;
        /*background: #d4d1b6;*/
    }

    .projectdiv h3 {
        text-align: center;
    }
    .projectdiv h4 {
        margin-bottom: 1rem;
        font-weight: 600;
    }
    .projectdiv figure {
        position: relative;
        z-index: 50;
    }
    .projectdiv figure img{
        max-width: none;
        margin: auto;
    }
    /* SECOND ARTICLE -----------------------------*/

    article:nth-of-type(2) .inhalt {
        margin-bottom: 3rem;
    }
    article:nth-of-type(2) .projectscontainer {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin: 0; 
        width: 100%;
        /*background: #9fbe38;  */
    }
    article:nth-of-type(2) .projectdiv .textdiv {
        position: relative;
        margin: 1rem auto;
        padding: 0 2%;
    }
    article:nth-of-type(2) .projectdiv figure {
        border-radius: 50% 50%;
        border: 2px solid #222;
        height: auto;
        width: auto;
        position: relative;
        z-index: 20;
        background: #125b7a;
        width: 15rem;
    }
    article:nth-of-type(2) .projectdiv figure:first-of-type {
        display: none;
    }
    article:nth-of-type(2) .projectdiv figure img {
        width: 15rem;
        height: auto;
        margin: auto;
        position: absolute;
    }
    article:nth-of-type(2) .projectdiv h4 {
        min-height: 0;
        background: #9fbe38;
        color: black;
        display: inline-block;
        padding: 2%;
        font-family: LemonMilklight;
        letter-spacing: 0.2rem;
        font-weight: 400;
    }
    article:nth-of-type(2) .projectdiv h3 {
        color: white;
        background: #222;
        font-size: 1.1rem;
        padding: 0.3rem;
        display: inline-block;
        margin-left: 0;
        z-index: 40;
    }
    article:nth-of-type(2) .projectdiv p {
        text-align: left;
        margin-bottom: 1rem;
        word-wrap: break-word;
        padding-top: 1rem;
        border-top: 2px solid #9fbe38;
    }
    article:nth-of-type(2) .h3container {
        min-height: 0;
        margin-bottom: 0;
        width: 3rem;
        display: none;
    }
    article:nth-of-type(2) .projectscontainer:nth-of-type(2) {
        margin-top: 0;
    }
    article:nth-of-type(2) .projectdiv:nth-of-type(1) {
    /* background: #9fbe38;
        color: #2a3819;*/
        order: 2;
    }
    article:nth-of-type(2) .projectdiv:nth-of-type(2) {
        /*background: #2a3819;
        color: #9fbe38;*/
        order: 1;
    }
    article:nth-of-type(2) .projectdiv:nth-of-type(3) {
        /*background: #9fbe38;
        color: #2a3819;*/
        order: 3;
    }
    article:nth-of-type(2) .projectscontainer figure:last-of-type {
        background: none;
        border-radius: 0 0;
        border: none;
    }
    article:nth-of-type(2) .projectscontainer figure:last-of-type img {
        height: auto;
        position: relative;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        margin: 0;
    }
    /* ARTICLE 3 -------------------*/
    article:nth-of-type(3) .projectscontainer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }
    article:nth-of-type(3) .projectdiv {
        flex-direction: column;
        justify-content: flex-start;
        margin: 3rem 0;
        width: 100%;
    }
    article:nth-of-type(3) .projectdiv .textdiv {
        position: relative;
        width: 100%;
        margin: 2rem auto;
    }
    article:nth-of-type(3) .projectdiv .textdiv {    
        order: 1;
    }

    article:nth-of-type(3) .projectdiv figure {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    order: 2;
    border: 2px solid #9fbe38;
    }
    article:nth-of-type(3) .projectdiv figure img {
        width: 100%;
        object-fit: cover;
    }
        /* ARTICLE 3 -------------------*/
    article:nth-of-type(3) .projectscontainer {
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        margin: 0 auto;
        padding: 0 2%;
        width: 100%;
    }
    article:nth-of-type(3) .projectdiv {
        flex-direction: column;
        flex-basis: 45%;
        justify-content: flex-start;
        margin: 1rem 0;
    }
    article:nth-of-type(3) .projectdiv h3 {
        text-align: center;
        background: #9fbe38;
        color: white;
        font-size: 1.1rem;
        width: 100%;
        margin: 2rem auto;
    }
    article:nth-of-type(3) .projectdiv .textdiv {    
        order: 1;
    }

    article:nth-of-type(3) .projectdiv figure {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    order: 2;
    border: 2px solid #9fbe38;
    }
    article:nth-of-type(3) .projectdiv figure img {
        width: 100%;
        object-fit: cover;
    }
    /* Article 4 -----------------------------*/
    article:nth-of-type(4) .inhalt {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    article:nth-of-type(4) .h2container {
        flex-basis: 100%;
    }
    article:nth-of-type(4) .portaitdiv {
        flex-direction: column;
    }
    article:nth-of-type(4) .portraitscontainer,
    article:nth-of-type(4) .portraitscontainer2 {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        margin: 1rem auto;
        flex-basis: 100%;
    }
    .portraitdiv {
        position: relative;
        margin: 0.5rem 0;
    }
    .portraitdiv h3 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 4rem);
        text-align: center;
        color: white;
        background: #9fbe38;
        transition: 1s;
        font-size: 1.05rem;
        z-index: 50;
    }
    .portraitdiv figure {
        width: 12rem;
        height: 12rem;
        border-radius: 50% 50%;
        margin: 2rem auto;
        transition: 1s;
        position: relative;
        border: 2px solid #9fbe38;
    }
    article:nth-of-type(4) .portraitscontainer .portraitdiv:first-of-type figure {
    background: url("../img/cathy.png") center center/cover no-repeat;
    }
    article:nth-of-type(4) .portraitscontainer .portraitdiv:nth-of-type(2) figure {
    background: url("../img/ellen.jpg") center center/cover no-repeat;
    }
    article:nth-of-type(4) .portraitscontainer .portraitdiv:last-of-type figure {
    background: url("../img/person2.jpg") center center/cover no-repeat;
    }
    article:nth-of-type(4) .portraitscontainer2 .portraitdiv:first-of-type figure {
    background: url("../img/jonas.jpg") center center/cover no-repeat;
    }
    article:nth-of-type(4) .portraitscontainer2 .portraitdiv:last-of-type figure {
    background: url("../img/person1.jpeg") center center/cover no-repeat;
    }
    .portraitdiv .textdiv {
        text-align: center;
        padding: 0 0.5rem;
        font-size: 0.8rem;
        width: 80%;
        margin: 0 auto;
    }

    /* CONTAINER -----------------*/
    article:nth-of-type(4) .container {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin: 3rem 0;
        padding: 0 2%;
        background: #dbdbc1;
    }
    article:nth-of-type(4) .container > div {
        flex-basis: 100%;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    article:nth-of-type(4) .container > div > div {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    article:nth-of-type(4) .container > div:nth-of-type(3) {
    
    }
    article:nth-of-type(4) .container > div:nth-of-type(2) {
        
    }
    article:nth-of-type(4) .container > div:nth-of-type(4) {
        
    }
    article:nth-of-type(4) .container > div:nth-of-type(1) {
        background: url("../img/")
    }

    article:nth-of-type(4) .container div p {
        padding: 1rem;
        display: inline-block;
        font-family: LemonMilk;    
        margin-bottom: 1rem;
        font-size: .8rem;
        letter-spacing: 0.1rem;
        margin-left: auto;
        margin-right: auto;
    }
    article:nth-of-type(4) .container div p:nth-of-type(2),
    article:nth-of-type(4) .container div p:nth-of-type(4) {
        color: white;
    }
    article:nth-of-type(4) .container > div:nth-of-type(1) > div p {
        background: #9fbe38;
        color: black;
    }
    article:nth-of-type(4) .container > div:nth-of-type(2) > div p {
        background: #566425;
        color: white;
    }
    article:nth-of-type(4) .container > div:nth-of-type(3) > div p {
        background:  #9fbe38;
        color: black;
    }
    article:nth-of-type(4) .container > div:nth-of-type(4) > div p {
        background: #8c9c57;
        color:  white;
    }
    article:nth-of-type(4) .container > div > p {
        background: none;
        color:black;
        flex-basis: 100%; 
        font-family: Montserrat;  
        margin: 1rem 0;
        font-weight: 600;
        letter-spacing: .2rem;
    }
    b {
        font-weight: 900;
        color: #9fbe38;
    }
        /* Article 5th ----------------------------*/

    article:nth-of-type(5) .inhalt {
        display: flex;
        flex-direction: column;
    }
    article:nth-of-type(5) .rightspalt {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        margin-bottom: 3rem;
    }
    article:nth-of-type(5) .leftspalt {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }
    article:nth-of-type(5) .rightspalt .impressumdiv {
        margin-bottom: 2rem;
    }
    article:nth-of-type(5) .rightspalt .impressumdiv p {
        margin: 1rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        margin-left: 2%;
    }
    article:nth-of-type(5) .rightspalt .impressumdiv h3 {
        background: #9fbe38;
        color: white;
        padding: 2%;
        display: inline-block;
        margin-bottom: 2rem;
       text-align: center;
       width: 100%;
    }
    article:nth-of-type(5) .leftspalt .credits {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5% 0;
    }
    article:nth-of-type(5) .leftspalt .credits a {
        margin: 2rem auto;
        width: 10rem;
        display: block;
    }
    article:nth-of-type(5) .leftspalt .credits img:first-of-type {
        width: 50%;
    }
    article:nth-of-type(5) .leftspalt .credits img:last-of-type {
        width: 80%;
    }
    article:nth-of-type(5) .leftspalt .credits p {
        text-align: center;
        font-size: 1.3rem;
        margin: 2rem 0;
    }
    /* ARTICLE 6 ---------------------------------*/
article:nth-of-type(5) .inhalt {
    display: flex;
    flex-wrap: wrap;
}
article:nth-of-type(5) .h2container {
    flex-basis: 100%;
}
article:nth-of-type(5) .firstspalt {
    width: 100%;
    position: relative; 
}
article:nth-of-type(5) .formdiv {
    margin: 3rem auto;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 5% 2%;
    z-index: 1;
    background: #e5e3d1;
    width: 98%;
}
form > div {
    width: 100%;
}
form p {
    width: 100%;
}
form div:first-of-type {
    border-bottom: 2px solid #5a5951;
}
form div:last-of-type {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.formdiv h3 {
    margin-bottom: 1.5rem;
    background: #A0BF3A;
    color: white;
    display: inline-block;
    font-size: 1.5rem;
}
form input,
form textarea {
    background: transparent;
    margin: 1rem 0;
    font-size: 1.2rem;
    border: none;
    line-height: 1.3;
    color: black;
    width: 100%;
}
form input[type*="submit"] {
    background: url("../img/send.png") center center/contain no-repeat;
    height: 6rem;
    width: 6rem;
    cursor: pointer;
    margin-left: 40%;
}
article:nth-of-type(5) .firstspalt p {
    width: 100vw;
    margin: 2rem auto;
}
article:nth-of-type(5) p a {
    padding: 0.5rem;
}
}