/*
font-family: 'Questrial', sans-serif;
font-family: 'Roboto', sans-serif;
font-family: 'Open Sans', sans-serif;*/

html, body {
  margin: 0;  /*Außenabstand zum Umliegenden*/
  padding: 0; /*Innenabstand*/
  height: 100%;
  color: #d4d4d4;
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  background-color: #252525;
}
h1, a {
  font-family: 'Roboto', sans-serif;
}
h1 {
  font-size: 45px;
  line-height: 49px;  /*41 * 1.2*/
}
h2 {
  font-size: 28px;
  line-height: 30px;
  font-family: 'Open Sans', sans-serif;
}
h3 {
  font-size: 18px;
  line-height: 21px;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
}
section {
  min-height: 100%;
  margin: 50px auto 100px auto;
  width: 75%;
  text-align: left;
  line-height: 27px;  /*18 * 1.5*/
}
a {
  text-decoration: none;
  color: #252525;
  transition: color 300ms; -webkit-transition: color 300ms;
    -moz-transition: color 300ms; -o-transition: color 300ms;
}
a:hover {
  color: #27d600;
}
li {
  list-style-type: none;
}
hr {
  background: #27d600;
  width: 20%;
  height: 2px;
  border: 0;
  margin: 20px auto 40px 0; /*im Uhrzeigersinn (oben, rechts, unten, links)*/
}
.hrabstand {
  width: 30px;
  height: 1px;
  background: : black;
  margin: 0 auto 80px auto;
}
div {
  margin-bottom: 80px;
}
button {
  width: 800px;
  padding: 20px auto 20px auto;
  margin-bottom: 40px;
  background-color: transparent;
  color: #d4d4d4;
  border: 2px solid #27d600;
}
button:hover {
  background-color: #27d600;
  color: white;
}

.fa-bars {display: none;} /*bar nicht sichtbar am anfang*/
li, .overlayleft, .text, button {transition: all 300ms; -webkit-transition: all 300ms;
  -moz-transition: all 300ms; -o-transition: all 300ms;} /*Effekt beim hovern*/


/***** header ***************************************************************************/
header {
  width: 100%;
  height: 80px;
  position: fixed; /*bleibt immer an einer Stelle, auch beim scrollen*/
  top: 0; /*Abstand von oben*/
  left: 0;
  /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /*Schatten unter dem header*/
  z-index: 1; /*Wert der Ebene, wenn Header über alles = größter z.-index*/
  background-color: #f5f5f5;
}
#header_slideshow {
  opacity: 80%;
}

#logo {
  height: 55px; /*img nicht angesprochen! ! !*/
  float: left; /*befindet sich links*/
  margin: 12.5px 0 0 30px; /*Uhrzeigersinn*/
}
#logo img {
  height: 100%;
}
#logo:hover {
  opacity: 0.5; /*Deckkraft wird beim drüberhovern auf 0.5 gestellt*/
}
header nav {
  float: right;
  margin-right: 60px;
  margin-top: 11px;
}
header nav ul a {
  float: left;   /*einzelne Listenpunkte alle nebeneinander*/
  margin-left: 30px;
  position: relative;  /*wichtig für Unterstrich-Effekt*/
}
header nav ul a li:hover {
  /*padding-top: 5px; /*Effekt der Listenitems, verschiebt es nach unten*/
  color: #27d600;
}
header nav ul a li:before {  /*Unterstrich-Effekt*/
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #27d600;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
header nav ul a li:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}                         /*Unterstrich-Effekt*/
header nav i {
  color: #252525;
}


/* Cookies************************************************************/
#footer-cookie,
#footer-cookie * {
  box-sizing: border-box;
}
#footer-cookie {
  display: none;
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding: 30px;
  line-height: 25px;
  background: #303030;
  color: #fff;
  margin-bottom: 0px;
}
#footer-cookie a {
  color: #fff;
}
#footer-cookie #description {
  float: left;
}
#footer-cookie #accept {
  float: right;
}
#footer-cookie #accept a {
  border: 1px solid #fff;
  padding: 5px 10px;
  text-decoration: none;
}
#footer-cookie #accept a:hover{
  background-color: white;
  color: #252525;
}



/* SLIDESHOW************************************************************/
#section_slideshow {
  width: 100%;
  margin-bottom: 0;
  margin-top: 0;
  height: 100%;
  overflow: hidden;
}
.slider{
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
    }
.slide{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out; /* Übergang: Dauer, Effekt */
}
.slide.active{
  opacity: 1;
}
.slide .content {
  position: absolute;
  bottom: 0px;
  left: -500px;
  opacity: 0;
  width: 570px;
  background-color: rgba(255,255,255,0.8);
  color: #333;
  padding: 35px;
}
.slide .content h1 {
  margin-bottom: 10px;
}
.slide.active .content {
  opacity: 1;
  transform: translateX(500px); /* von links in Sichtbaren bereich bringen */
  transition: all 0.7s ease-in-out 0.3s; /* opacity und transform, Dauer, Effekt, Verzögerung*/
  box-sizing: border-box;
}
.buttons button#next {
  position: absolute;
  top: 50%;
  right: 15px;
}
.buttons button#prev {
  position: absolute;
  top: 50%;
  left: 15px;
}
.buttons button{
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  padding: 13px 15px;
  border-radius: 50%;
  outline: none;
  width: 45px;
}
.buttons button:hover,.buttons button.stop {
  background-color: white;
  color: #333;
}
.buttons button#pause, .buttons button#play{
  position: absolute;
  top: 90px;
  right: 10px;
  transition: none;
  width: 45px;
}
.buttons button.nichtsichtbar{
  display: none;
}

/* SLIDER-BILDER ***********************************************/
.slide:first-child {
  background: url('../bilder/slideshow/1.jpg') no-repeat center center/cover; /* no-repeat: nicht viele kleine Bilder, um Box auszufüllem */
}
.slide:nth-child(2) {
  background: url('../bilder/slideshow/2.jpg') no-repeat center center/cover;
}
.slide:nth-child(3) {
  background: url('../bilder/slideshow/3.jpg') no-repeat center center/cover;
}
.slide:nth-child(4) {
  background: url('../bilder/slideshow/4.jpg') no-repeat center center/cover;
}
.slide:nth-child(5) {
  background: url('../bilder/slideshow/5.jpg') no-repeat center center/cover;
}
.slide:nth-child(6) {
  background: url('../bilder/slideshow/6.jpg') no-repeat center center/cover;
}
.slide:nth-child(7) {
  background: url('../bilder/slideshow/7.jpg') no-repeat center center/cover;
}



/* NO-SCRIPT ***********************************************/
.noscript{
  position: absolute;
  top: 80px;
  left: 0;
  width: 300px;
  background-color: rgba(255,255,255,0.8);
  color: #333;
  padding: 15px;
}
#icon{
  display: inline;
  position: absolute;
  padding-top: 10px;
  font-size: 1.5rem;
}
.noscript .text{
  float: none;
  padding-left: 15px;
  margin-right: 0;
  margin-left: 1em;
  display: inline-block;
}
span.ausblenden{
  display: none;
}
span.anzeigen{
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  color: #494949;
}

/*** über mich ************************************************************************/
#uebermich img {
  width: 200px;
}

/*** Kontakt ************************************************************************/
.map {
    float: left;
    margin-top: 0.5em;
    flex-grow: 1;
    width: 100%;
}
#kontakt_section{
  padding-bottom: 100px;
}

/*** Datenschutz **********************************************************************/
#datenschutz li {
  list-style-type: disc;
}
#datenschutz a {
  color: #d4d4d4;
}
#datenschutz a:hover{
  color: #27d600;
}


/*** Projekte *************************************************************************/
.navi_bilder {
  position: relative;
  height: auto;
  width: 300px;
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 20px;
}
.navi_bilder img {
  display: block;
  width: 100%;
}
.overlayleft {
  position: absolute;
  opacity: 0;
  /*background-color: rgba(0, 0, 0, 0.65);*/
  background-color: rgba(39, 214, 0, 0.7);
  height: 0%;
  width: 0;
  bottom: 0;
  left: 0;
  margin-bottom: 0;
}
.navi_bilder:hover .overlayleft{
  opacity: 1;
  width: 100%;
  height: 100%;
}
.navi_bilder:hover .text {
  opacity: 1;
}
.text {
  opacity: 0;
  color: white;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  font-size: 22px;
}
.bilder_projekte img{
  width: 800px;
  margin-right: 20px;
  margin-top: 20px;
}
.bilder_projekte hr {
  margin-top: 120px;
}
.beschreibung_projekte{
  margin-bottom: 0px;
}
.beschreibung_projekte img{
  width: 800px;
}
.beschreibung_projekte li {
  list-style-type: disc;
  margin-bottom: 20px;
}


/***** footer ****************************************************************************/
footer {
  width: 100%;
  height: 60px;
  background-color: #3f3f3f;
  margin-bottom: 0;
}
footer p {
  float: left;
  color: #f0f0f0;
  font-size: 12px;
  margin: 25px 0 0 50px;
}
footer div {
  float: right;
  margin: 10px 50px 0 0;
}
footer div ul {
  margin: auto;
}
footer div ul a{
  font-size: 12px;
  color: #f0f0f0;
  padding-top: 15px;
  float: left;
}
footer div ul a li:hover {
  /*padding-top: 2px;*/
  color: #27d600;
}


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

/* Tablets */

@media screen and (max-width: 1024px) {
  header {
    height: 60px;
  }
  #logo {
    height: 35px;
    margin-left: 20px;
  }
  header nav {
    margin: 0;
    float: none;
  }
  .fa-bars {
    font-size: 17px;
    display: inline-block; /* soll Inlinelevel-Element sein mit Höhe und Breite*/
    width: 20px;
    cursor: pointer;  /* wird zur Hand*/
    text-align: right;
    float: right;
    margin: -28px 30px 0 100%;
  }
  .fa-bars:hover {
    opacity: 50%;
  }
  header nav ul {         /*ursprüngliche nav unsichtbar*/
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #f5f5f5;
  }
  header nav ul.open {
    height: auto;
    padding: 100px 0 800px 0;
  }
  header nav ul a {
    width: 100%;
    padding: 14px 0;  /*oben/unten  links/rechts */
    margin: 0;
    border-top: 1px solid #656565;
    padding-left: 20px;
  }
  header nav ul a:last-child {
    border-bottom: 1px solid #656565;
  }
  header nav ul a:hover{
    background-color: #27d600;
  }
  header nav ul a:hover li {
    color: white;
    transition: none;
  }
  header nav ul a li:hover:before {
    visibility: hidden;
  }
  html, body {
    font-size: 16px;
  }
  section {
    width: 90%;
    line-height: 24px; /*font-size * 1.5*/
  }
  h1 {
    font-size: 36px;
    line-height: 43px;  /*32 * 1.2*/
  }
  h2 {
    font-size: 24px;
    line-height: 29px;
  }
  h3 {
    font-size: 16px;
    line-height: 19px; /*font-size * 1.2 */
  }
  button {
    width: 100%;
    padding: 20px auto 20px auto;
    margin-bottom: 40px;
    background-color: transparent;
    border: 2px solid #27d600;
  }
  .overlayleft {
    position: absolute;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.25);
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    margin-bottom: 0;
  }
  .navi_bilder:hover .overlayleft{
    background-color: rgba(39, 214, 0, 0.7);
  }
  .text {
    opacity: 1;
    font-size: 21px;
  }
  .beschreibung_projekte img {
    width: 100%;
  }
  .bilder_projekte img {
    width: 100%;
  }
  #uebermich img {
    width: 150px;
  }
  #kontakt_section{
    padding-bottom: 300px;
  }
  .slide .content {
  bottom: -330px;
  left: 0px;
  width: 100%;
  padding: 0px;
  padding-left: 20px;
  padding-right: 20px;
  }
  .slide.active .content {
    transform: translateY(-300px);
  }
  .slide .content h1 {
    font-size: 1.5em;
    line-height: normal;
  }
  #footer-cookie {
    padding-top: 30px;
    padding-bottom: 30px;
    line-height: inherit;
    height: auto;
  }
  #footer-cookie #description {
    width: 100%;
  }
  #footer-cookie #accept {
    width: 100%;
    margin-top: 15px;
  }
  #footer-cookie #accept a {
    width: 100%;
    display: block;
    text-align: center;
  }
}

/* Mobile */

@media screen and (max-width: 480px) {
  .navi_bilder {
    width: 100%;
  }
  footer {
    height: 120px;
  }
  footer p {
    font-size: 12px;
    margin: 25px 40px 0 20px;
  }
  footer div {
    float: left;
    margin: 10px 0 0 20px;
  }
  footer div ul {
    padding-left: 0;
  }
  footer div ul a{
    font-size: 12px;
    float: left;
  }
}
