*{
  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;
}
h1{
  font-family: 'Poiret One',sans-serif;
  text-align: center;
  font-size: 40pt;
  color: black;
}
.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: 75%;
  margin-top: 300px;
  margin-bottom: 170px;
}
.content1{
  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;
}
.navuebersicht{
  display:inline-block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
  margin-top: 40px;
}
.einzel{
  width: 100%;
  height: auto;
}
.projektuebersicht{
  display:inline-block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
}
.projektuebersicht li{
padding: 10px;
}
.hobbyuebersicht{
  display:inline-block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}
.einzel1{
  width: 150px;
}
.einzel2{
  width: 100px;
}
.einzel3{
  width: 70px;
}
.navp{
	margin:0;
	padding:0;
	width:100%;
	height: auto;
	overflow:hidden;
	background-color:rgb(169, 190, 194);
  text-align: center;
  font-size: 24pt;
  font-family: 'Raleway', sans-serif;
  color: black;
}
.navp:hover{
	margin-top:-282.35px;
	height:564.7px;
  background-color:rgb(255, 255, 255);
}
.navdiv{
  overflow: hidden;
  width:450px;
  height:282.35px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0;
}
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;
}
.ich{
  float: left;
  display: block;
  width: 50%;
}
.ich img{
  width: 75%;
}
.lebenslauf{
  float: right;
  display: block;
  width: 50%;
  margin-top: 50px;
}
.lebenslauf p{
  color: black;
  font-size: 11pt;
  font-family: 'Raleway', sans-serif;
  width: 97%;
}
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) {
  .logo{
    margin-left: 150px;
    margin-top: 28px;
  }
  .english{
    height: 30px;
    width: 110px;
    margin-top: 85px;
  }
  .navp{
    font-size: 25px;
  }
  .navp:hover{
  	margin-top:-269.8px;
  	height:539.6px;
  }
  .navdiv{
    width: 430px;
    height: 269.8px;
  }
  figcaption {
    margin-top: -196px;
    width: 190px;
    height: 190px;
    font-size: 19px;
  }
  .einzel2{
    width: 80px;
  }
  .einzel3{
    width: 55px;
  }
}
/* Schmaleres Tablet */
@media only screen and (max-width: 1105px) {
  .english{
    height: 30px;
    width: 110px;
    margin-top: 70px;
  }
  .navp{
  	overflow:visible;
  	background-color:rgb(169, 190, 194);
    font-size: 20pt;
    text-shadow:0px 0px 50px #a9bec2,
                0px 0px 30px #a9bec2,
                0px 0px 10px #a9bec2,
                0px 0px 5px #a9bec2,
                0px 0px 5px #a9bec2;
  }
  .einzel{
    margin-bottom: -150px;
  }
  .navp:hover{
  	margin-top:0px;
  	height:0px;
    background-color:rgb(169, 190, 194);
  }
  .navdiv{
    overflow:visible;
    width: 400px;
    height: 250.983px;
  }
  .ich img{
    width: 85%;
  }
}
/* Tablet */
@media only screen and (max-width: 1005px) {
  .logo{
    margin-left: 120px;
    margin-top: 25px;
  }
  .lebenslauf p{
    font-size: 10pt;
  }
  .content{
    width: 90%;
  }
  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;
  }
}
/* Tablet */
@media only screen and (max-width: 963px) {
  .logo{
    margin-left: 110px;
    margin-top: 20px;
  }
  .english{
    height: 30px;
    width: 110px;
    margin-top: 60px;
  }
  .einzel2{
    width: 90px;
  }
  .navp{
    overflow:visible;
    font-size: 18pt;
    text-shadow:0px 0px 50px #a9bec2,
                0px 0px 30px #a9bec2,
                0px 0px 10px #a9bec2,
                0px 0px 5px #a9bec2;
  }
  .einzel{
    margin-bottom: -135px;
  }
  .navdiv{
    overflow:visible;
    width: 350px;
    height: 219.6px;
  }
}
/* Tablet */
@media only screen and (max-width: 858px) {
  .logo{
    margin-left: 100px;
    margin-top: 20px;
  }
  .english{
    height: 30px;
    width: 110px;
    margin-top: 55px;
  }
  .english a{
    font-size: 17pt;
  }
  .content1{
    width: 100%;
  }
  .content{
    width: 95%;
  }
  .einzel3{
    width: 50px;
  }
  .einzel2{
    width: 80px;
  }
}
/* Tablet */
@media only screen and (max-width: 750px) {
  .logo{
    margin-left: 80px;
    margin-top: 15px;
  }
  .english{
    height: 30px;
    width: 110px;
    margin-top: 45px;
  }
  .content1{
    margin-top: 200px;
  }
  .content{
    margin-top: 250px;
    margin-bottom: 0;
  }
  .ich{
    float: none;
    display: block;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
  }
  .ich img{
    width: 100%;
  }
  .einzel3{
    width: 55px;
  }
  .lebenslauf{
    float: none;
    display: block;
    width: 80%;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
  }
  .lebenslauf p{
    font-size: 11pt;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  figcaption{
    font-size: 11pt;
    margin-top: -50px;
  }
  .einzel{
    margin-bottom: -125px;
  }
  .navdiv{
    overflow:visible;
    width: 310px;
    height: 194.517px;
  }
  .navuebersicht{
    margin-top: 0;
  }
}
/* Tablet */
@media only screen and (max-width: 655px) {
  .logo{
    margin-left: 70px;
    margin-top: 15px;
  }
  .english{
    height: 30px;
    width: 100px;
    margin-top: 35px;
  }
  .english a{
    font-size: 15pt;
  }
  .content1{
    margin-top: 200px;
  }
  .content{
    margin-top: 200px;
  }
  .navuebersicht li {
    padding: 10px;
    padding-top: 40px;
  }
  .navdiv{
    overflow:visible;
    width: 350px;
    height: 219.6px;
  }
}
/* Tablet */
@media only screen and (max-width: 559px) {
  .logo{
    margin-left: 65px;
    margin-top: 15px;
  }
  .english{
    height: 30px;
    width: 80px;
    margin-top: 30px;
  }
  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;
  }
  .english{
    height: 30px;
    width: 70px;
    margin-top: 30px;
  }
  .english a{
    font-size: 13pt;
  }
  .content1{
    margin-top: 150px;
  }
  .content{
    margin-top: 170px;
  }
  .ich{
    width: 70%;
  }
  .einzel3{
    width: 80px;
  }
  .navdiv{
    overflow:visible;
    width: 310px;
    height: 194.517px;
  }
}
/* Tablet */
@media only screen and (max-width: 469px) {
  .english{
    height: 30px;
    width: 55px;
  }
  .english a{
    font-size: 11pt;
  }
  .captiontext {
    font-size: 20px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.6);
  }
  .captiontext1 {
    font-size: 20px;
    padding: 6px 12px;
  }
  .lebenslauf p{
    width: 300px;
  }
  .navdiv{
    overflow:visible;
    width: 310px;
    height: 194.517px;
  }
}
/* Tablet */
@media only screen and (max-width: 413px) {
  .logo{
    margin-left: 40px;
    margin-top: 10px;
  }
  .content1{
    margin-top: 120px;
  }
  .content{
    margin-top: 150px;
  }
  h1{
    font-size: 35pt;
  }
  .navdiv{
    overflow:visible;
    width: 270px;
    height: 169px;
  }
}
/* Tablet */
@media only screen and (max-width: 385px) {
  .english{
    height: 30px;
    width: 40px;
    margin-top: 40px;
  }
  .english a{
    font-size: 9pt;
  }
}
/* Tablet */
@media only screen and (max-width: 349px) {
  .logo{
    margin-left: 35px;
    margin-top: 6px;
  }
  .lebenslauf p{
    width: 250px;
  }
}
/* Smartphone */
@media only screen and (max-width: 300px) {
  .einzel3{
    width: 65px;
  }
  .ich{
    width: 80%;
  }
  .lebenslauf p{
    width: 200px;
  }
}
