*{
  box-sizing: border-box;
}
html, body {
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  overflow:hidden;
}
body{
  background: rgb(169, 190, 194);
}
.hintergrund{
  display: block;
  position: absolute;
  z-index: -10;
  margin-top: 0;
  width: 100%;
  height: auto;
  }
header{
  margin-top: 0;
  padding: 0;
  position: absolute;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
}
h3{
  font-family: 'Original Surfer',sans-serif;
  text-align: left;
  font-size: 20pt;
  color: black;
  margin-top: 100px;
  margin-right: 50px;
  float: right;
}
h1{
  font-family: 'Poiret One',sans-serif;
  text-align: center;
  font-size: 40pt;
  color: black;
}
h2{
  font-family: 'Poiret One',sans-serif;
  text-align: center;
  font-size: 25pt;
  color: black;
  margin-top: 100px;
}
.kunden{
  margin-top: -20px;
}
.english{
  height: 30px;
  width: 110px;
  margin-top: 100px;
  margin-left: 0px;
  z-index: 2;
  position: absolute;
  display: block;
}
.english a{
  opacity: 1;
  font-size: 20pt;
  text-align: right;
  padding-right: 5px;
  text-decoration: none;
  color: black;
  font-family: 'Raleway', sans-serif;
}
.logo{
  float: left;
  margin-left: 150px;
  margin-top: 30px;
  width: 10%;
}
.content{
  clear: both;
  margin-left: auto;
  margin-right: auto;
  width: 85%;
  margin-top: 300px;
  margin-bottom: 20px;
}
.projektuebersicht figcaption {
  opacity: 0;
  bottom: -3em;
  transition: all 1s ease;
  text-align: center;
  font-size: 10pt;
  font-family: 'Raleway', sans-serif;
  color: black;
  margin-top: 35px;
  width: 150px;
  height: auto;
  background-color: rgb(255,255,255,0);
}
figcaption {
  opacity: 0;
  transition: 1s ease;
  text-align: center;
  font-size: 18pt;
  font-family: 'Raleway', sans-serif;
  color: black;
  background-color: rgb(255,255,255);
  margin-top: -234px;
  width: 228px;
  height: 228px;
}
figure:hover figcaption {
  opacity: 1;
}
.projektuebersicht figure:hover figcaption {
  opacity: 1;
  bottom: 0;
  margin-top: 0px;
}
figure{
  margin-left: 0;
  margin-right: 0;
}
.projektuebersicht{
  display:inline-block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
}
.projektuebersicht li{
padding: 10px;
}
.einzel{
  width: 150px;
}
li{
  display: inline-block;
  list-style-type: none;
  margin-left: auto;
  margin-right: auto;
  overflow:hidden;
  padding-left: 1px;
  padding-right: 1px;
}
ul{
  padding:0;
  margin-left: auto;
  margin-right: auto;
}
a:link{
  color: black;
  text-decoration: none;
}
a:visited{
  color: black;
}
a:hover{
  color: white;
}
a:active{
  color: white;
}
.rund{
  display: block;
  border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
}
.scrollbereich{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: auto;
z-index: 2;
}
p{
  color: black;
  font-size: 11pt;
  font-family: 'Raleway', sans-serif;
}
.video{
  max-width: 800px;
  margin:auto;
  position: relative;
}
/* Slideshow container */
.slideshow-container1 {
  max-width: 850px;
  position: relative;
  margin: auto;
}
.slideshow-container2 {
  max-width: 800px;
  position: relative;
  margin: auto;
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgb(50,50,50,0.5);
}
/* Caption text */
.captiontext {
  color: black;
  font-size: 30px;
  font-family: 'Raleway', sans-serif;
  padding: 8px 12px;
  position: absolute;
  bottom: 6px;
  width: 100%;
  text-align: center;
  background-color: rgb(255,255,255,0.5)
}
.captiontext1 {
  color: white;
  font-size: 30px;
  font-family: 'Raleway', sans-serif;
  padding: 8px 12px;
  position: absolute;
  bottom: 6px;
  width: 100%;
  text-align: center;
  background-color: rgb(0,0,0,0.5)
}
/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.dot6 {
  cursor:pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover {
  background-color: grey;
}
.active, .dot6:hover {
  background-color: grey;
}
/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Breiteres Tablet */
@media only screen and (max-width: 1246px) {
  h3{
    margin-top: 85px;
    margin-right: 50px;
  }
  .logo{
    margin-left: 150px;
    margin-top: 28px;
  }
  .english{
    height: 30px;
    width: 110px;
    margin-top: 85px;
  }
  .einzel{
    width: 190px;
    height: 190px;
  }
  .navp{
    width: 190px;
    height: 190px;
    font-size: 17px;
  }
  .navp:hover{
  	margin-top:-190px;
  	height:380px;
  }
  .navdiv{
    width: 190px;
    height: 190px;
  }
  figcaption {
    margin-top: -196px;
    width: 190px;
    height: 190px;
    font-size: 19px;
  }
  .einzel2{
    width: 80px;
  }
  figcaption {
    margin-top: -60px;
    width: auto;
    height: 40px;
    font-size: 12pt;
    background: none;
    opacity: 1;
  }
  .projektuebersicht figcaption {
    bottom: 0;
    transition: 0;
    text-align: center;
    font-size: 10pt;
    margin-top: 25px;
    opacity: 1;
  }
  .projektuebersicht figure:hover figcaption {
    margin-top: 25px;
  }
  .einzel{
    width: 150px;
    height: 150px;
  }
}
/* Tablet */
@media only screen and (max-width: 1005px) {
  .navp{
    width: 150px;
    height: 150px;
    font-size: 16px;
  }
  .navp:hover{
  	margin-top:-150px;
  	height:300px;
  }
  .navdiv{
    width: 150px;
    height: 150px;
  }
  .logo{
    margin-left: 120px;
    margin-top: 25px;
  }
  .lebenslauf p{
    font-size: 11pt;
    width: 300px;
  }
}
/* Tablet */
@media only screen and (max-width: 963px) {
  .logo{
    margin-left: 110px;
    margin-top: 20px;
  }
  .einzel2{
    width: 90px;
  }
}
/* Tablet */
@media only screen and (max-width: 858px) {
  .logo{
    margin-left: 100px;
    margin-top: 20px;
  }
  h3{
    font-size: 20pt;
    margin-top: 50px;
    margin-right: 50px;
  }
  .english{
    height: 30px;
    width: 110px;
    margin-top: 50px;
  }
  .content1{
    width: 100%;
  }
  .content{
    width: 100%;
  }
  .einzel2{
    width: 80px;
  }
}
/* Tablet */
@media only screen and (max-width: 750px) {
  .logo{
    margin-left: 80px;
    margin-top: 15px;
  }
  .content1{
    margin-top: 250px;
  }
  .content{
    margin-top: 250px;
  }
  .navp{
    width: 300px;
    height: 300px;
    font-size: 27px;
  }
  .navp:hover{
  	margin-top:-300px;
  	height:600px;
  }
  .navdiv{
    width: 300px;
    height: 300px;
  }
  figcaption{
    font-size: 11pt;
    margin-top: -50px;
  }
  li {
    padding: 5px;
  }
}
/* Tablet */
@media only screen and (max-width: 655px) {
  .logo{
    margin-left: 70px;
    margin-top: 15px;
  }
  .content1{
    margin-top: 200px;
  }
  .content{
    margin-top: 200px;
  }
}
/* Tablet */
@media only screen and (max-width: 559px) {
  .logo{
    margin-left: 65px;
    margin-top: 15px;
  }
  li {
    padding: 10px;
    padding-top: 40px;
  }
  figcaption {
    margin-top: -80px;
    width: auto;
    height: 20px;
    font-size: 18pt;
    background: none;
    opacity: 1;
  }
}
/* Tablet */
@media only screen and (max-width: 493px) {
  .logo{
    margin-left: 50px;
    margin-top: 15px;
  }
  .content1{
    margin-top: 170px;
  }
  .content{
    margin-top: 170px;
  }
}
/* Tablet */
@media only screen and (max-width: 413px) {
  .logo{
    margin-left: 40px;
    margin-top: 10px;
  }
  .content1{
    margin-top: 150px;
  }
  .content{
    margin-top: 150px;
  }
  h1{
    font-size: 35pt;
  }
}
/* Tablet */
@media only screen and (max-width: 349px) {
  .logo{
    margin-left: 35px;
    margin-top: 6px;
  }
}
