html, body{
  margin: 0;
  padding: 0;
  height: 100%;
  text-align: center;
}
section{min-height: 100%;}
a {text-decoration: none;}
li {list-style-type: none;}
h1, h2, h3, a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
}

h2{
  color: #494949;
}
h3{
  font-size: 40px;
  padding-top: 8%;
  margin-bottom: 5px;
}

h4, p{
  font-family: 'Roboto Slab', sans-serif;
  color: #494949;
}

hr{
  width: 30px;
  height: 3px;
  background-color: #494949;
  border: 0;
  margin: 0 auto 40px auto;
}

#logo, li, img, .button, .fa-bars{
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
}
#Text1, #Text2, #Text3{
  transition: all 100ms;
  -webkit-transition: all 100ms;
  -moz-transition: all 100ms;
  -o-transition: all 100ms;
}
.fa-bars{display: none;}

/* HEADER ********/
header{
  width: 100%;
  height: 65px;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

#logo {
  width: 140px;
  float: left;
  margin: 5px 0 0 50px;
}

#logo:hover{
  opacity: 0.5;
}

#logo img{
  width: 35%;
}

header nav{
  float: right;
  margin: 10px 50px 0 0;
}
header nav ul li{
  float: left;
  margin-left: 25px;
}
header nav ul li a{
  font-size: 16px;
}

header nav ul li:hover{
  padding-top: 5px;
}

/* HOME *******/

#home{
  background: url("../img/work4.jpg");
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

#home h1{
  margin: 300px auto 0 auto;
  font-size: 100px;
  color: white;
}

#home h2{
  margin: 0 auto 0 auto;
  font-size: 25px;
  color: dodgerblue;
}
/* dodgerblue*/

/*#home img{
  width: 32px;
  margin-top: 150px;
  opacity: 0.7;
}

#home img:hover{
  opacity: 1;
}*/

.fa-chevron-circle-down{
  font-size: 45px;
  display: inline-block;
  position: absolute;
  bottom: 25px;
  color: dodgerblue;
  opacity: 0.7;
}

.fa-chevron-circle-down:hover{
  opacity: 1;
  transform: scale(1.1);
}

/* ABOUT *********/

#about img{
  width: 350px;
  height: auto;
}

#about h4{
  font-size: 25px;
}

#about p{
  width: 700px;
  margin: 0 auto 0 auto;
}

#about img:hover{
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  /*box-shadow: 10px 10px lightgray;
  -moz-box-shadow: 10px 10px lightgray;
  -webkit-box-shadow: 10px 10px lightgray;
  -o-box-shadow: 10px 10px lightgrey;*/
}

/* WORK *****************/

#work {
  background-color: #f0f0f0;
}

#projects {
  width: 900px;
  margin: 0 auto 0 auto;
}

#projects ul{
  padding: 0;
}

#projects ul li {
  width: 33.3%;
  float: left;
  margin-bottom: 15px;
}
.cover{
  object-fit: cover;
  width: 280px;
  height: 380px;
}
#projects img {
  border-radius: 5px;
}
/*
#projects img:hover{
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  box-shadow: 0 5px 5px rgba(0 0 0 0.3);
}*/
#projects ul li:hover img{
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  box-shadow: 0 5px 5px rgba(0 0 0 0.3);
  opacity: 0.3;
}
#projects ul li:hover p{
  visibility: visible;
}

#projects ul li p{
  font-size: 22px;
  position: relative;
  bottom: 240px;
  left: 0;
  visibility: hidden;
}

#projects ul li img:hover{
  opacity: 0.3;
}

/* POSITIONS ***************/

#career h4{
  font-size: 25px;
}
#positions {
  width: 900px;
  margin: 0 auto 0 auto;
}

#positions ul{
  padding: 0;
  margin: 80px auto 0 auto;
}

#positions ul li {
  width: 80%;
  height: 64px;
  margin: 30px auto 0 auto;
}
#positions .cover{
  object-fit: cover;
  width: 600px;
  height: 60px;
}
#positions img {
  border-radius: 5px;
}

#positions ul li p{
  font-size: 18px;
  position: relative;
  bottom: 64px;
  left: 0;
  visibility: hidden;
}
#positions a:hover img{
  opacity: 0.4;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  box-shadow: 0 5px 5px rgba(0 0 0 0.3);
}
#positions a:hover p{
  visibility: visible;
}

#positions img:hover{
  opacity: 0.4;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  box-shadow: 0 5px 5px rgba(0 0 0 0.3);
}
/*
#element1 li:hover #stelle1{
  visibility: visible;
}*/
#element2 li:hover #stelle2{
  visibility: visible;
}
#element3 li:hover #stelle3{
  visibility: visible;
}
#element4 li:hover #stelle4{
  visibility: visible;
}
/* CONTACT *****************/

#contact {
  background-color: #f0f0f0;
}

form input, textarea{
  font-family: 'Roboto Slab', sans-serif;
  font-size: 15px;
  margin-bottom: 10px;
  border-radius: 2px;
  border: 2px solid;
  border-color: #494949;
  outline: none;
}

form input:first-child{
  margin-top: 10px;
}

form input{
  width: 552px;
  height: 30px;
}

form textarea{
  width: 550px;
  height: 200px;
  resize: none;
}

.input_text{
  color: #494949;
  padding-left: 10px;
}

::-webkit-input-placeholder {color: #999999;}
::-moz-placeholder {color: #999999;}
:-ms-input-placeholder {color: #999999;}
:-moz-placeholder {color: #999999;}

.button{
  background-color: #A4A4A4;
  color: #494949;
  width: 566px;
  height: 50px;
}

.button:hover{
  background-color: #494949;
  color: #f0f0f0;
}

/* FOOTER **************/

footer{
  width: 100%;
  height: 70px;
  background-color: #3f3f3f;
}

footer p, footer a{
  font-size: 12px;
  font-family: 'Roboto Slab', sans-serif;
  color: #f0f0f0;
  text-transform: none;
  margin: 0 10px 0 10px;
  padding-top: 30px;
}
#cookiePopup {
  background-color: #ffffff;
  position: fixed;
  font-size: 14px;
  width: 70vw;
  max-width: 42.85em;
  box-shadow: 0 0 2em rgba(5, 0, 31, 0.15);
  font-family: "Roboto Light", sans-serif;
  text-align: justify;
  line-height: 1.8em;
  padding: 2em 1.4em;
  border-radius: 6px;
  transition: all 0.5s ease-in;
}
#cookiePopup img {
  display: block;
  width: 3.75em;
  transform: translateZ(0);
  position: relative;
  margin: auto;
}
#cookiePopup p {
  text-align: center;
  margin: 1.4em 0;
}
#cookiePopup button {
  background-color: #6859fe;
  border: none;
  color: #ffffff;
  font-size: 1.2em;
  padding: 1em 1.4em;
  display: block;
  position: relative;
  margin: auto;
  border-radius: 5px;
}
#cookiePopup a {
  color: #6859fe;
}
.hide {
  visibility: hidden;
  bottom: 0;
  right: 2em;
}
.show {
  visibility: visible;
  bottom: 2em;
  right: 2em;
}
@media only screen and (max-width: 37.5em) {
  #cookiePopup {
    width: 100%;
  }
  .hide {
    bottom: 2em;
    right: 0;
  }
  .show {
    right: 0;
    bottom: 0;
  }
}
/* MEDIA QUERYS *********/

/* TABLETS */

@media screen and (max-width: 1024px){
  header{
    height: auto;
  }
  #logo{
    width: 100px;
    margin-top: 5px;
  }
  header nav{
    margin-top: 0;
  }
  header nav ul li{
    font-size: 12px;
  }
  #home h1{
    font-size: 80px;
    margin-top: 90px;
    width: 80%
  }
  #home h2{
    font-size: 22px;
  }
  h3{
    padding-top: 12%;
  }
  #about p{
    width: 80%;
  }
  #projects ul li{
    width: 100%;
    float: none;
  }
  #projects{
    width: auto;
  }
  #projects ul li:last-child{
    padding-bottom: 20%;
  }
  #projects img{
    width: 55%;
    height: auto;
  }
  form input, form textarea{
    width: 60%;
  }
  .button{
    width: 62%;
  }
}

/* MOBILES */

@media screen and (max-width: 480px){
  #logo{
    width: 90px;
    margin-left: 30px;
  }
  header nav{
    margin: 0;
    float: none;
  }
  .fa-bars{
    font-size: 17px;
    color: black;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    text-align: right;
    float: right;
    margin: -25px 30px 0 0;
  }
  .fa-bars:hover{
    opacity: 0.5;
  }
  header nav ul{
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  header nav ul.open{
    height: auto;
  }
  header nav ul li{
    width: 100%;
    padding: 5px 0;
    margin: 0;
    font-size: 11px;
    border-top: 1px solid #dddddd;
  }

  header nav ul li:hover{
    background-color: #eeeeee;
  }
  #home h1{
    font-size: 40px;
    margin-top: 200px;
    width: 80%;
  }
  #home h2{
    width: 70%;
    height: auto;
  }
  #projects img{
    width: 70%;
    height: auto;
  }
  form input, form textarea{
    width: 70%;
  }
  .button{
    width: 72%;
  }
}

/* IMPRESSUM **********/
#impressum{
  margin-top: 80px;
}
